public static final class MachineType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder> implements MachineTypeOrBuilder
Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.Protobuf type
google.cloud.compute.v1.MachineType| Modifier and Type | Method and Description |
|---|---|
MachineType.Builder |
addAccelerators(Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
addAccelerators(Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
addAccelerators(int index,
Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
addAccelerators(int index,
Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
Accelerators.Builder |
addAcceleratorsBuilder()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
Accelerators.Builder |
addAcceleratorsBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
addAllAccelerators(Iterable<? extends Accelerators> values)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
addAllScratchDisks(Iterable<? extends ScratchDisks> values)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MachineType.Builder |
addScratchDisks(int index,
ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
addScratchDisks(int index,
ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
addScratchDisks(ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
addScratchDisks(ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
|
ScratchDisks.Builder |
addScratchDisksBuilder()
[Output Only] A list of extended scratch disks assigned to the instance.
|
ScratchDisks.Builder |
addScratchDisksBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType |
build() |
MachineType |
buildPartial() |
MachineType.Builder |
clear() |
MachineType.Builder |
clearAccelerators()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
MachineType.Builder |
clearDeprecated()
[Output Only] The deprecation status associated with this machine type.
|
MachineType.Builder |
clearDescription()
[Output Only] An optional textual description of the resource.
|
MachineType.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MachineType.Builder |
clearGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
|
MachineType.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
MachineType.Builder |
clearImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
MachineType.Builder |
clearIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU.
|
MachineType.Builder |
clearKind()
[Output Only] The type of the resource.
|
MachineType.Builder |
clearMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
|
MachineType.Builder |
clearMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
|
MachineType.Builder |
clearMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
MachineType.Builder |
clearName()
[Output Only] Name of the resource.
|
MachineType.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MachineType.Builder |
clearScratchDisks()
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
MachineType.Builder |
clearZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
MachineType.Builder |
clone() |
Accelerators |
getAccelerators(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
Accelerators.Builder |
getAcceleratorsBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
List<Accelerators.Builder> |
getAcceleratorsBuilderList()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
int |
getAcceleratorsCount()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
List<Accelerators> |
getAcceleratorsList()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
AcceleratorsOrBuilder |
getAcceleratorsOrBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
List<? extends AcceleratorsOrBuilder> |
getAcceleratorsOrBuilderList()
[Output Only] A list of accelerator configurations assigned to this machine type.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
MachineType |
getDefaultInstanceForType() |
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this machine type.
|
DeprecationStatus.Builder |
getDeprecatedBuilder()
[Output Only] The deprecation status associated with this machine type.
|
DeprecationStatusOrBuilder |
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this machine type.
|
String |
getDescription()
[Output Only] An optional textual description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] An optional textual description of the resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
int |
getImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
boolean |
getIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU.
|
String |
getKind()
[Output Only] The type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The type of the resource.
|
int |
getMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
|
long |
getMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
|
int |
getMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
String |
getName()
[Output Only] Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
[Output Only] Name of the resource.
|
ScratchDisks |
getScratchDisks(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
|
ScratchDisks.Builder |
getScratchDisksBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
|
List<ScratchDisks.Builder> |
getScratchDisksBuilderList()
[Output Only] A list of extended scratch disks assigned to the instance.
|
int |
getScratchDisksCount()
[Output Only] A list of extended scratch disks assigned to the instance.
|
List<ScratchDisks> |
getScratchDisksList()
[Output Only] A list of extended scratch disks assigned to the instance.
|
ScratchDisksOrBuilder |
getScratchDisksOrBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
|
List<? extends ScratchDisksOrBuilder> |
getScratchDisksOrBuilderList()
[Output Only] A list of extended scratch disks assigned to the instance.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeprecated()
[Output Only] The deprecation status associated with this machine type.
|
boolean |
hasDescription()
[Output Only] An optional textual description of the resource.
|
boolean |
hasGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
boolean |
hasIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU.
|
boolean |
hasKind()
[Output Only] The type of the resource.
|
boolean |
hasMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
|
boolean |
hasMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
|
boolean |
hasMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
boolean |
hasName()
[Output Only] Name of the resource.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MachineType.Builder |
mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this machine type.
|
MachineType.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MachineType.Builder |
mergeFrom(MachineType other) |
MachineType.Builder |
mergeFrom(com.google.protobuf.Message other) |
MachineType.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MachineType.Builder |
removeAccelerators(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
removeScratchDisks(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
setAccelerators(int index,
Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
setAccelerators(int index,
Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
MachineType.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
MachineType.Builder |
setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this machine type.
|
MachineType.Builder |
setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this machine type.
|
MachineType.Builder |
setDescription(String value)
[Output Only] An optional textual description of the resource.
|
MachineType.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the resource.
|
MachineType.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MachineType.Builder |
setGuestCpus(int value)
[Output Only] The number of virtual CPUs that are available to the instance.
|
MachineType.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
MachineType.Builder |
setImageSpaceGb(int value)
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
MachineType.Builder |
setIsSharedCpu(boolean value)
[Output Only] Whether this machine type has a shared CPU.
|
MachineType.Builder |
setKind(String value)
[Output Only] The type of the resource.
|
MachineType.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource.
|
MachineType.Builder |
setMaximumPersistentDisks(int value)
[Output Only] Maximum persistent disks allowed.
|
MachineType.Builder |
setMaximumPersistentDisksSizeGb(long value)
[Output Only] Maximum total persistent disks size (GB) allowed.
|
MachineType.Builder |
setMemoryMb(int value)
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
MachineType.Builder |
setName(String value)
[Output Only] Name of the resource.
|
MachineType.Builder |
setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
|
MachineType.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MachineType.Builder |
setScratchDisks(int index,
ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
setScratchDisks(int index,
ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
MachineType.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
MachineType.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MachineType.Builder |
setZone(String value)
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
MachineType.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MachineType build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MachineType buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MachineType.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MachineType.Builder>public MachineType.Builder mergeFrom(MachineType other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public MachineType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MachineType.Builder>IOExceptionpublic List<Accelerators> getAcceleratorsList()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;getAcceleratorsList in interface MachineTypeOrBuilderpublic int getAcceleratorsCount()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;getAcceleratorsCount in interface MachineTypeOrBuilderpublic Accelerators getAccelerators(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;getAccelerators in interface MachineTypeOrBuilderpublic MachineType.Builder setAccelerators(int index, Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder setAccelerators(int index, Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder addAccelerators(Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder addAccelerators(int index, Accelerators value)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder addAccelerators(Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder addAccelerators(int index, Accelerators.Builder builderForValue)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder addAllAccelerators(Iterable<? extends Accelerators> values)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder clearAccelerators()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public MachineType.Builder removeAccelerators(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public Accelerators.Builder getAcceleratorsBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public AcceleratorsOrBuilder getAcceleratorsOrBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;getAcceleratorsOrBuilder in interface MachineTypeOrBuilderpublic List<? extends AcceleratorsOrBuilder> getAcceleratorsOrBuilderList()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;getAcceleratorsOrBuilderList in interface MachineTypeOrBuilderpublic Accelerators.Builder addAcceleratorsBuilder()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public Accelerators.Builder addAcceleratorsBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public List<Accelerators.Builder> getAcceleratorsBuilderList()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface MachineTypeOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public MachineType.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public MachineType.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDeprecated()
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;hasDeprecated in interface MachineTypeOrBuilderpublic DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecated in interface MachineTypeOrBuilderpublic MachineType.Builder setDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public MachineType.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public MachineType.Builder mergeDeprecated(DeprecationStatus value)
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public MachineType.Builder clearDeprecated()
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public DeprecationStatus.Builder getDeprecatedBuilder()
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;getDeprecatedOrBuilder in interface MachineTypeOrBuilderpublic boolean hasDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;hasDescription in interface MachineTypeOrBuilderpublic String getDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescription in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;getDescriptionBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setDescription(String value)
[Output Only] An optional textual description of the resource.
optional string description = 422937596;value - The description to set.public MachineType.Builder clearDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;public MachineType.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;hasGuestCpus in interface MachineTypeOrBuilderpublic int getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;getGuestCpus in interface MachineTypeOrBuilderpublic MachineType.Builder setGuestCpus(int value)
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;value - The guestCpus to set.public MachineType.Builder clearGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface MachineTypeOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface MachineTypeOrBuilderpublic MachineType.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public MachineType.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;hasImageSpaceGb in interface MachineTypeOrBuilderpublic int getImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;getImageSpaceGb in interface MachineTypeOrBuilderpublic MachineType.Builder setImageSpaceGb(int value)
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;value - The imageSpaceGb to set.public MachineType.Builder clearImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;public boolean hasIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
optional bool is_shared_cpu = 521399555;hasIsSharedCpu in interface MachineTypeOrBuilderpublic boolean getIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
optional bool is_shared_cpu = 521399555;getIsSharedCpu in interface MachineTypeOrBuilderpublic MachineType.Builder setIsSharedCpu(boolean value)
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
optional bool is_shared_cpu = 521399555;value - The isSharedCpu to set.public MachineType.Builder clearIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
optional bool is_shared_cpu = 521399555;public boolean hasKind()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;hasKind in interface MachineTypeOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;getKind in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;getKindBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setKind(String value)
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;value - The kind to set.public MachineType.Builder clearKind()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;public MachineType.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;hasMaximumPersistentDisks in interface MachineTypeOrBuilderpublic int getMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;getMaximumPersistentDisks in interface MachineTypeOrBuilderpublic MachineType.Builder setMaximumPersistentDisks(int value)
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;value - The maximumPersistentDisks to set.public MachineType.Builder clearMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;public boolean hasMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;hasMaximumPersistentDisksSizeGb in interface MachineTypeOrBuilderpublic long getMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;getMaximumPersistentDisksSizeGb in interface MachineTypeOrBuilderpublic MachineType.Builder setMaximumPersistentDisksSizeGb(long value)
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;value - The maximumPersistentDisksSizeGb to set.public MachineType.Builder clearMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;public boolean hasMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;hasMemoryMb in interface MachineTypeOrBuilderpublic int getMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;getMemoryMb in interface MachineTypeOrBuilderpublic MachineType.Builder setMemoryMb(int value)
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;value - The memoryMb to set.public MachineType.Builder clearMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;public boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;hasName in interface MachineTypeOrBuilderpublic String getName()
[Output Only] Name of the resource.
optional string name = 3373707;getName in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;getNameBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setName(String value)
[Output Only] Name of the resource.
optional string name = 3373707;value - The name to set.public MachineType.Builder clearName()
[Output Only] Name of the resource.
optional string name = 3373707;public MachineType.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the resource.
optional string name = 3373707;value - The bytes for name to set.public List<ScratchDisks> getScratchDisksList()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;getScratchDisksList in interface MachineTypeOrBuilderpublic int getScratchDisksCount()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;getScratchDisksCount in interface MachineTypeOrBuilderpublic ScratchDisks getScratchDisks(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;getScratchDisks in interface MachineTypeOrBuilderpublic MachineType.Builder setScratchDisks(int index, ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder setScratchDisks(int index, ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder addScratchDisks(ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder addScratchDisks(int index, ScratchDisks value)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder addScratchDisks(ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder addScratchDisks(int index, ScratchDisks.Builder builderForValue)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder addAllScratchDisks(Iterable<? extends ScratchDisks> values)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder clearScratchDisks()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public MachineType.Builder removeScratchDisks(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public ScratchDisks.Builder getScratchDisksBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public ScratchDisksOrBuilder getScratchDisksOrBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;getScratchDisksOrBuilder in interface MachineTypeOrBuilderpublic List<? extends ScratchDisksOrBuilder> getScratchDisksOrBuilderList()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;getScratchDisksOrBuilderList in interface MachineTypeOrBuilderpublic ScratchDisks.Builder addScratchDisksBuilder()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public ScratchDisks.Builder addScratchDisksBuilder(int index)
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public List<ScratchDisks.Builder> getScratchDisksBuilderList()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface MachineTypeOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public MachineType.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public MachineType.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;hasZone in interface MachineTypeOrBuilderpublic String getZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;getZone in interface MachineTypeOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;getZoneBytes in interface MachineTypeOrBuilderpublic MachineType.Builder setZone(String value)
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;value - The zone to set.public MachineType.Builder clearZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;public MachineType.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;value - The bytes for zone to set.public final MachineType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>public final MachineType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MachineType.Builder>Copyright © 2023 Google LLC. All rights reserved.