Package com.google.cloud.compute.v1
Interface MachineTypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MachineType
,MachineType.Builder
public interface MachineTypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Accelerators
getAccelerators(int index)
[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.DeprecationStatus
getDeprecated()
[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.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAcceleratorsList
List<Accelerators> getAcceleratorsList()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;
-
getAccelerators
Accelerators getAccelerators(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;
-
getAcceleratorsCount
int getAcceleratorsCount()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;
-
getAcceleratorsOrBuilderList
List<? extends AcceleratorsOrBuilder> getAcceleratorsOrBuilderList()
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;
-
getAcceleratorsOrBuilder
AcceleratorsOrBuilder getAcceleratorsOrBuilder(int index)
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;
-
hasCreationTimestamp
boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The bytes for creationTimestamp.
-
hasDeprecated
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;
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
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;
- Returns:
- The deprecated.
-
getDeprecatedOrBuilder
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;
-
hasDescription
boolean hasDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional textual description of the resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
hasGuestCpus
boolean hasGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;
- Returns:
- Whether the guestCpus field is set.
-
getGuestCpus
int getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;
- Returns:
- The guestCpus.
-
hasId
boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
- Returns:
- The id.
-
hasImageSpaceGb
boolean hasImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;
- Returns:
- Whether the imageSpaceGb field is set.
-
getImageSpaceGb
int getImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
optional int32 image_space_gb = 75331864;
- Returns:
- The imageSpaceGb.
-
hasIsSharedCpu
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;
- Returns:
- Whether the isSharedCpu field is set.
-
getIsSharedCpu
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;
- Returns:
- The isSharedCpu.
-
hasKind
boolean hasKind()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#machineType for machine types.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasMaximumPersistentDisks
boolean hasMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;
- Returns:
- Whether the maximumPersistentDisks field is set.
-
getMaximumPersistentDisks
int getMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
optional int32 maximum_persistent_disks = 496220941;
- Returns:
- The maximumPersistentDisks.
-
hasMaximumPersistentDisksSizeGb
boolean hasMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;
- Returns:
- Whether the maximumPersistentDisksSizeGb field is set.
-
getMaximumPersistentDisksSizeGb
long getMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
optional int64 maximum_persistent_disks_size_gb = 154274471;
- Returns:
- The maximumPersistentDisksSizeGb.
-
hasMemoryMb
boolean hasMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;
- Returns:
- Whether the memoryMb field is set.
-
getMemoryMb
int getMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
optional int32 memory_mb = 116001171;
- Returns:
- The memoryMb.
-
hasName
boolean hasName()
[Output Only] Name of the resource.
optional string name = 3373707;
- Returns:
- Whether the name field is set.
-
getName
String getName()
[Output Only] Name of the resource.
optional string name = 3373707;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the resource.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
getScratchDisksList
List<ScratchDisks> getScratchDisksList()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;
-
getScratchDisks
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;
-
getScratchDisksCount
int getScratchDisksCount()
[Output Only] A list of extended scratch disks assigned to the instance.
repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;
-
getScratchDisksOrBuilderList
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;
-
getScratchDisksOrBuilder
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;
-
hasSelfLink
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
hasZone
boolean hasZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;
- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
optional string zone = 3744684;
- Returns:
- The zone.
-
getZoneBytes
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;
- Returns:
- The bytes for zone.
-
-