Package com.google.cloud.compute.v1
Interface DiskTypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskType
,DiskType.Builder
public interface DiskTypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.long
getDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.DeprecationStatus
getDeprecated()
[Output Only] The deprecation status associated with this disk type.DeprecationStatusOrBuilder
getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this disk type.String
getDescription()
[Output Only] An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
[Output Only] An optional description of this resource.long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getName()
[Output Only] Name of the resource.com.google.protobuf.ByteString
getNameBytes()
[Output Only] Name of the resource.String
getRegion()
[Output Only] URL of the region where the disk type resides.com.google.protobuf.ByteString
getRegionBytes()
[Output Only] URL of the region where the disk type resides.String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.String
getValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".com.google.protobuf.ByteString
getValidDiskSizeBytes()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".String
getZone()
[Output Only] URL of the zone where the disk type resides.com.google.protobuf.ByteString
getZoneBytes()
[Output Only] URL of the zone where the disk type resides.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.boolean
hasDeprecated()
[Output Only] The deprecation status associated with this disk type.boolean
hasDescription()
[Output Only] An optional description of this resource.boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasName()
[Output Only] Name of the resource.boolean
hasRegion()
[Output Only] URL of the region where the disk type resides.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".boolean
hasZone()
[Output Only] URL of the zone where the disk type resides.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
hasDefaultDiskSizeGb
boolean hasDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;
- Returns:
- Whether the defaultDiskSizeGb field is set.
-
getDefaultDiskSizeGb
long getDefaultDiskSizeGb()
[Output Only] Server-defined default disk size in GB.
optional int64 default_disk_size_gb = 270619253;
- Returns:
- The defaultDiskSizeGb.
-
hasDeprecated
boolean hasDeprecated()
[Output Only] The deprecation status associated with this disk type.
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 disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
- Returns:
- The deprecated.
-
getDeprecatedOrBuilder
DeprecationStatusOrBuilder getDeprecatedOrBuilder()
[Output Only] The deprecation status associated with this disk type.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
hasDescription
boolean hasDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] An optional description of this resource.
optional string description = 422937596;
- Returns:
- The bytes for description.
-
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.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#diskType for disk types.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
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.
-
hasRegion
boolean hasRegion()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
- Returns:
- The bytes for region.
-
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.
-
hasValidDiskSize
boolean hasValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;
- Returns:
- Whether the validDiskSize field is set.
-
getValidDiskSize
String getValidDiskSize()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;
- Returns:
- The validDiskSize.
-
getValidDiskSizeBytes
com.google.protobuf.ByteString getValidDiskSizeBytes()
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
optional string valid_disk_size = 493962464;
- Returns:
- The bytes for validDiskSize.
-
hasZone
boolean hasZone()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;
- Returns:
- Whether the zone field is set.
-
getZone
String getZone()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;
- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;
- Returns:
- The bytes for zone.
-
-