public static final class CalendarModeAdviceRequest.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CalendarModeAdviceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CalendarModeAdviceRequest build()
buildPartial()
public CalendarModeAdviceRequest buildPartial()
clear()
public CalendarModeAdviceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CalendarModeAdviceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFutureResourcesSpecs()
public CalendarModeAdviceRequest.Builder clearFutureResourcesSpecs()
clearOneof(Descriptors.OneofDescriptor oneof)
public CalendarModeAdviceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CalendarModeAdviceRequest.Builder clone()
Overrides
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 GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CalendarModeAdviceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CalendarModeAdviceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CalendarModeAdviceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CalendarModeAdviceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides