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.GeneratedMessage.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.GeneratedMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
implements AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
Properties of the SKU instances being reserved. Next ID: 10Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties-
Method Summary
Modifier and TypeMethodDescriptionaddAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) Specifies accelerator type and count.addAllLocalSsds(Iterable<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> values) Specifies amount of local ssd to reserve with each instance.addGuestAccelerators(int index, AcceleratorConfig value) Specifies accelerator type and count.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) Specifies accelerator type and count.Specifies accelerator type and count.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) Specifies accelerator type and count.Specifies accelerator type and count.addGuestAcceleratorsBuilder(int index) Specifies accelerator type and count.addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value) Specifies amount of local ssd to reserve with each instance.addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue) Specifies amount of local ssd to reserve with each instance.Specifies amount of local ssd to reserve with each instance.addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue) Specifies amount of local ssd to reserve with each instance.Specifies amount of local ssd to reserve with each instance.addLocalSsdsBuilder(int index) Specifies amount of local ssd to reserve with each instance.build()clear()Specifies accelerator type and count.Specifies amount of local ssd to reserve with each instance.An opaque location hint used to place the allocation close to other resources.Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.Minimum cpu platform the reservation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGuestAccelerators(int index) Specifies accelerator type and count.getGuestAcceleratorsBuilder(int index) Specifies accelerator type and count.Specifies accelerator type and count.intSpecifies accelerator type and count.Specifies accelerator type and count.getGuestAcceleratorsOrBuilder(int index) Specifies accelerator type and count.List<? extends AcceleratorConfigOrBuilder>Specifies accelerator type and count.getLocalSsds(int index) Specifies amount of local ssd to reserve with each instance.getLocalSsdsBuilder(int index) Specifies amount of local ssd to reserve with each instance.Specifies amount of local ssd to reserve with each instance.intSpecifies amount of local ssd to reserve with each instance.Specifies amount of local ssd to reserve with each instance.getLocalSsdsOrBuilder(int index) Specifies amount of local ssd to reserve with each instance.Specifies amount of local ssd to reserve with each instance.An opaque location hint used to place the allocation close to other resources.com.google.protobuf.ByteStringAn opaque location hint used to place the allocation close to other resources.Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.com.google.protobuf.ByteStringSpecifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.Minimum cpu platform the reservation.com.google.protobuf.ByteStringMinimum cpu platform the reservation.booleanAn opaque location hint used to place the allocation close to other resources.booleanSpecifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.booleanMinimum cpu platform the reservation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeGuestAccelerators(int index) Specifies accelerator type and count.removeLocalSsds(int index) Specifies amount of local ssd to reserve with each instance.setGuestAccelerators(int index, AcceleratorConfig value) Specifies accelerator type and count.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) Specifies accelerator type and count.setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value) Specifies amount of local ssd to reserve with each instance.setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue) Specifies amount of local ssd to reserve with each instance.setLocationHint(String value) An opaque location hint used to place the allocation close to other resources.setLocationHintBytes(com.google.protobuf.ByteString value) An opaque location hint used to place the allocation close to other resources.setMachineType(String value) Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.setMachineTypeBytes(com.google.protobuf.ByteString value) Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory.setMinCpuPlatform(String value) Minimum cpu platform the reservation.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Minimum cpu platform the reservation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeFrom
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>- Throws:
IOException
-
getGuestAcceleratorsList
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsListin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAcceleratorsCount
public int getGuestAcceleratorsCount()Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsCountin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAccelerators
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsin 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
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
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsOrBuilder
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilderList
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
addGuestAcceleratorsBuilder
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAcceleratorsBuilder
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
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:
getLocalSsdsListin 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:
getLocalSsdsCountin 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:
getLocalSsdsin 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
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
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:
getLocalSsdsOrBuilderin 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:
getLocalSsdsOrBuilderListin 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:
hasLocationHintin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder- Returns:
- Whether the locationHint field is set.
-
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:
getLocationHintin 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:
getLocationHintBytesin 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
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:
hasMachineTypein interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder- Returns:
- Whether the machineType field is set.
-
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:
getMachineTypein 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:
getMachineTypeBytesin 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
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:
hasMinCpuPlatformin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder- Returns:
- Whether the minCpuPlatform field is set.
-
getMinCpuPlatform
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformBytesin 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
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.
-