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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clear
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
getDefaultInstanceForType
public AllocationSpecificSKUAllocationReservedInstanceProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocationSpecificSKUAllocationReservedInstanceProperties build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocationSpecificSKUAllocationReservedInstanceProperties buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
setField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clearField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
clearOneof
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
setRepeatedField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
addRepeatedField
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.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
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
public List<AcceleratorConfig> 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
public AcceleratorConfig getGuestAccelerators(int index)
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
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:
getGuestAcceleratorsOrBuilderin interfaceAllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilderList
public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin 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:
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
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:
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
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:
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
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:
hasMachineTypein 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:
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
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:
hasMinCpuPlatformin 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:
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
mergeUnknownFields
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder>
-
-