public static final class CalendarModeAdviceRequest.Builder extends GeneratedMessage.Builder<CalendarModeAdviceRequest.Builder> implements CalendarModeAdviceRequestOrBuilder
A request to recommend the best way to consume the specified resources in the
future.
Protobuf type google.cloud.compute.v1.CalendarModeAdviceRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public CalendarModeAdviceRequest build()
buildPartial()
public CalendarModeAdviceRequest buildPartial()
clear()
public CalendarModeAdviceRequest.Builder clear()
Overrides
clearFutureResourcesSpecs()
public CalendarModeAdviceRequest.Builder clearFutureResourcesSpecs()
containsFutureResourcesSpecs(String key)
public boolean containsFutureResourcesSpecs(String key)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public CalendarModeAdviceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFutureResourcesSpecs() (deprecated)
public Map<String,FutureResourcesSpec> getFutureResourcesSpecs()
getFutureResourcesSpecsCount()
public int getFutureResourcesSpecsCount()
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
| Returns |
| Type |
Description |
int |
|
getFutureResourcesSpecsMap()
public Map<String,FutureResourcesSpec> getFutureResourcesSpecsMap()
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
getFutureResourcesSpecsOrDefault(String key, FutureResourcesSpec defaultValue)
public FutureResourcesSpec getFutureResourcesSpecsOrDefault(String key, FutureResourcesSpec defaultValue)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
getFutureResourcesSpecsOrThrow(String key)
public FutureResourcesSpec getFutureResourcesSpecsOrThrow(String key)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
| Parameter |
| Name |
Description |
key |
String
|
getMutableFutureResourcesSpecs() (deprecated)
public Map<String,FutureResourcesSpec> getMutableFutureResourcesSpecs()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CalendarModeAdviceRequest other)
public CalendarModeAdviceRequest.Builder mergeFrom(CalendarModeAdviceRequest other)
public CalendarModeAdviceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CalendarModeAdviceRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllFutureResourcesSpecs(Map<String,FutureResourcesSpec> values)
public CalendarModeAdviceRequest.Builder putAllFutureResourcesSpecs(Map<String,FutureResourcesSpec> values)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
putFutureResourcesSpecs(String key, FutureResourcesSpec value)
public CalendarModeAdviceRequest.Builder putFutureResourcesSpecs(String key, FutureResourcesSpec value)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
putFutureResourcesSpecsBuilderIfAbsent(String key)
public FutureResourcesSpec.Builder putFutureResourcesSpecsBuilderIfAbsent(String key)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
| Parameter |
| Name |
Description |
key |
String
|
removeFutureResourcesSpecs(String key)
public CalendarModeAdviceRequest.Builder removeFutureResourcesSpecs(String key)
Specification of resources to create in the future.
The key of the map is an arbitrary string specified by the caller.
Value of the map is a specification of required resources and their
constraints. Currently only one value is allowed in this map.
map<string, .google.cloud.compute.v1.FutureResourcesSpec> future_resources_specs = 255012610;
| Parameter |
| Name |
Description |
key |
String
|