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
@Generated
public interface MachineTypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAccelerators(int index) [Output Only] A list of accelerator configurations assigned to this machine type.int[Output Only] A list of accelerator configurations assigned to this machine type.[Output Only] A list of accelerator configurations assigned to this machine type.getAcceleratorsOrBuilder(int index) [Output Only] A list of accelerator configurations assigned to this machine type.List<? extends AcceleratorsOrBuilder>[Output Only] A list of accelerator configurations assigned to this machine type.[Output Only] The architecture of the machine type.com.google.protobuf.ByteString[Output Only] The architecture of the machine type.[Output Only] The configuration of bundled local SSD for the machine type.[Output Only] The configuration of bundled local SSD for the machine type.[Output Only] Creation timestamp inRFC3339 text format.com.google.protobuf.ByteString[Output Only] Creation timestamp inRFC3339 text format.[Output Only] The deprecation status associated with this machine type.[Output Only] The deprecation status associated with this machine type.[Output Only] An optional textual description of the resource.com.google.protobuf.ByteString[Output Only] An optional textual description of the resource.int[Output Only] The number of virtual CPUs that are available to the instance.longgetId()[Output Only] The unique identifier for the resource.int[Deprecated] This property is deprecated and will never be populated with any relevant values.boolean[Output Only] Whether this machine type has a shared CPU.getKind()Output only.com.google.protobuf.ByteStringOutput only.int[Output Only] Maximum persistent disks allowed.long[Output Only] Maximum total persistent disks size (GB) allowed.int[Output Only] The amount of physical memory available to the instance, defined in MB.getName()[Output Only] Name of the resource.com.google.protobuf.ByteString[Output Only] Name of the resource.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.getZone()[Output Only] The name of the zone where the machine type resides, such as us-central1-a.com.google.protobuf.ByteString[Output Only] The name of the zone where the machine type resides, such as us-central1-a.boolean[Output Only] The architecture of the machine type.boolean[Output Only] The configuration of bundled local SSD for the machine type.boolean[Output Only] Creation timestamp inRFC3339 text format.boolean[Output Only] The deprecation status associated with this machine type.boolean[Output Only] An optional textual description of the resource.boolean[Output Only] The number of virtual CPUs that are available to the instance.booleanhasId()[Output Only] The unique identifier for the resource.boolean[Deprecated] This property is deprecated and will never be populated with any relevant values.boolean[Output Only] Whether this machine type has a shared CPU.booleanhasKind()Output only.boolean[Output Only] Maximum persistent disks allowed.boolean[Output Only] Maximum total persistent disks size (GB) allowed.boolean[Output Only] The amount of physical memory available to the instance, defined in MB.booleanhasName()[Output Only] Name of the resource.boolean[Output Only] Server-defined URL for the resource.booleanhasZone()[Output Only] The name of the zone where the machine type resides, such as us-central1-a.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
[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
[Output Only] A list of accelerator configurations assigned to this machine type.
repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064; -
hasArchitecture
boolean hasArchitecture()[Output Only] The architecture of the machine type. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Returns:
- Whether the architecture field is set.
-
getArchitecture
String getArchitecture()[Output Only] The architecture of the machine type. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Returns:
- The architecture.
-
getArchitectureBytes
com.google.protobuf.ByteString getArchitectureBytes()[Output Only] The architecture of the machine type. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Returns:
- The bytes for architecture.
-
hasBundledLocalSsds
boolean hasBundledLocalSsds()[Output Only] The configuration of bundled local SSD for the machine type.
optional .google.cloud.compute.v1.BundledLocalSsds bundled_local_ssds = 387462016;- Returns:
- Whether the bundledLocalSsds field is set.
-
getBundledLocalSsds
BundledLocalSsds getBundledLocalSsds()[Output Only] The configuration of bundled local SSD for the machine type.
optional .google.cloud.compute.v1.BundledLocalSsds bundled_local_ssds = 387462016;- Returns:
- The bundledLocalSsds.
-
getBundledLocalSsdsOrBuilder
BundledLocalSsdsOrBuilder getBundledLocalSsdsOrBuilder()[Output Only] The configuration of bundled local SSD for the machine type.
optional .google.cloud.compute.v1.BundledLocalSsds bundled_local_ssds = 387462016; -
hasCreationTimestamp
boolean hasCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()[Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()[Output Only] Creation timestamp inRFC3339 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.
-
hasKind
boolean hasKind()Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] The type of the resource. Alwayscompute#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.
-
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.
-