Package com.google.cloud.compute.v1
Class AllocationSpecificSKUAllocationReservedInstanceProperties.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
- com.google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties.Builder
-
- All Implemented Interfaces:
AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AllocationSpecificSKUAllocationReservedInstanceProperties
public static final class AllocationSpecificSKUAllocationReservedInstanceProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder> implements AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
Properties of the SKU instances being reserved. Next ID: 9
Protobuf typegoogle.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clear
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
getDefaultInstanceForType
public AllocationSpecificSKUAllocationReservedInstanceProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocationSpecificSKUAllocationReservedInstanceProperties build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocationSpecificSKUAllocationReservedInstanceProperties buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
setField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clearField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clearOneof
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
setRepeatedField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
addRepeatedField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeFrom
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeFrom
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeFrom
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
- Throws:
IOException
-
getGuestAcceleratorsList
public List<AcceleratorConfig> getGuestAcceleratorsList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
- Specified by:
getGuestAcceleratorsList
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAcceleratorsCount
public int getGuestAcceleratorsCount()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
- Specified by:
getGuestAcceleratorsCount
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAccelerators
public AcceleratorConfig getGuestAccelerators(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
- Specified by:
getGuestAccelerators
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
setGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
setGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addAllGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
clearGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearGuestAccelerators()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
removeGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder removeGuestAccelerators(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
getGuestAcceleratorsBuilder
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
getGuestAcceleratorsOrBuilder
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
- Specified by:
getGuestAcceleratorsOrBuilder
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilderList
public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
- Specified by:
getGuestAcceleratorsOrBuilderList
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
addGuestAcceleratorsBuilder
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
addGuestAcceleratorsBuilder
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
getGuestAcceleratorsBuilderList
public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-
getLocalSsdsList
public List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> getLocalSsdsList()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
- Specified by:
getLocalSsdsList
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getLocalSsdsCount
public int getLocalSsdsCount()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
- Specified by:
getLocalSsdsCount
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getLocalSsds
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk getLocalSsds(int index)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
- Specified by:
getLocalSsds
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
setLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
setLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addAllLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addAllLocalSsds(Iterable<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> values)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
clearLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearLocalSsds()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
removeLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder removeLocalSsds(int index)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
getLocalSsdsBuilder
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder getLocalSsdsBuilder(int index)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
getLocalSsdsOrBuilder
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder getLocalSsdsOrBuilder(int index)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
- Specified by:
getLocalSsdsOrBuilder
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getLocalSsdsOrBuilderList
public List<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder> getLocalSsdsOrBuilderList()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
- Specified by:
getLocalSsdsOrBuilderList
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
addLocalSsdsBuilder
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder addLocalSsdsBuilder()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
addLocalSsdsBuilder
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder addLocalSsdsBuilder(int index)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
getLocalSsdsBuilderList
public List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder> getLocalSsdsBuilderList()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;
-
hasLocationHint
public boolean hasLocationHint()
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Specified by:
hasLocationHint
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- Whether the locationHint field is set.
-
getLocationHint
public String getLocationHint()
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Specified by:
getLocationHint
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The locationHint.
-
getLocationHintBytes
public com.google.protobuf.ByteString getLocationHintBytes()
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Specified by:
getLocationHintBytes
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The bytes for locationHint.
-
setLocationHint
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocationHint(String value)
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Parameters:
value
- The locationHint to set.- Returns:
- This builder for chaining.
-
clearLocationHint
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearLocationHint()
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Returns:
- This builder for chaining.
-
setLocationHintBytes
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocationHintBytes(com.google.protobuf.ByteString value)
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;
- Parameters:
value
- The bytes for locationHint to set.- Returns:
- This builder for chaining.
-
hasMachineType
public boolean hasMachineType()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Specified by:
hasMachineType
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- Whether the machineType field is set.
-
getMachineType
public String getMachineType()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Specified by:
getMachineType
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Specified by:
getMachineTypeBytes
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The bytes for machineType.
-
setMachineType
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMachineType(String value)
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Parameters:
value
- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearMachineType()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Returns:
- This builder for chaining.
-
setMachineTypeBytes
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
optional string machine_type = 227711026;
- Parameters:
value
- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
hasMinCpuPlatform
public boolean hasMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Specified by:
hasMinCpuPlatform
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- Whether the minCpuPlatform field is set.
-
getMinCpuPlatform
public String getMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Specified by:
getMinCpuPlatform
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Specified by:
getMinCpuPlatformBytes
in interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
- Returns:
- The bytes for minCpuPlatform.
-
setMinCpuPlatform
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMinCpuPlatform(String value)
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Parameters:
value
- The minCpuPlatform to set.- Returns:
- This builder for chaining.
-
clearMinCpuPlatform
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Returns:
- This builder for chaining.
-
setMinCpuPlatformBytes
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
- Parameters:
value
- The bytes for minCpuPlatform to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeUnknownFields
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
-