public final class StoragePoolDisk extends GeneratedMessageV3 implements StoragePoolDiskOrBuilder
Protobuf type google.cloud.compute.v1.StoragePoolDisk
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTACHED_INSTANCES_FIELD_NUMBER
public static final int ATTACHED_INSTANCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROVISIONED_IOPS_FIELD_NUMBER
public static final int PROVISIONED_IOPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROVISIONED_THROUGHPUT_FIELD_NUMBER
public static final int PROVISIONED_THROUGHPUT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_POLICIES_FIELD_NUMBER
public static final int RESOURCE_POLICIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USED_BYTES_FIELD_NUMBER
public static final int USED_BYTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StoragePoolDisk getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StoragePoolDisk.Builder newBuilder()
newBuilder(StoragePoolDisk prototype)
public static StoragePoolDisk.Builder newBuilder(StoragePoolDisk prototype)
public static StoragePoolDisk parseDelimitedFrom(InputStream input)
public static StoragePoolDisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StoragePoolDisk parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoragePoolDisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StoragePoolDisk parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoragePoolDisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoragePoolDisk parseFrom(CodedInputStream input)
public static StoragePoolDisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StoragePoolDisk parseFrom(InputStream input)
public static StoragePoolDisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StoragePoolDisk parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoragePoolDisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StoragePoolDisk> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttachedInstances(int index)
public String getAttachedInstances(int index)
[Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The attachedInstances at the given index.
|
getAttachedInstancesBytes(int index)
public ByteString getAttachedInstancesBytes(int index)
[Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the attachedInstances at the given index.
|
getAttachedInstancesCount()
public int getAttachedInstancesCount()
[Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;
Returns |
Type |
Description |
int |
The count of attachedInstances.
|
getAttachedInstancesList()
public ProtocolStringList getAttachedInstancesList()
[Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns |
Type |
Description |
String |
The creationTimestamp.
|
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns |
Type |
Description |
ByteString |
The bytes for creationTimestamp.
|
getDefaultInstanceForType()
public StoragePoolDisk getDefaultInstanceForType()
getDisk()
[Output Only] The URL of the disk.
optional string disk = 3083677;
Returns |
Type |
Description |
String |
The disk.
|
getDiskBytes()
public ByteString getDiskBytes()
[Output Only] The URL of the disk.
optional string disk = 3083677;
Returns |
Type |
Description |
ByteString |
The bytes for disk.
|
getName()
[Output Only] The name of the disk.
optional string name = 3373707;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
[Output Only] The name of the disk.
optional string name = 3373707;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<StoragePoolDisk> getParserForType()
Overrides
getProvisionedIops()
public long getProvisionedIops()
[Output Only] The number of IOPS provisioned for the disk.
optional int64 provisioned_iops = 186769108;
Returns |
Type |
Description |
long |
The provisionedIops.
|
getProvisionedThroughput()
public long getProvisionedThroughput()
[Output Only] The throughput provisioned for the disk.
optional int64 provisioned_throughput = 526524181;
Returns |
Type |
Description |
long |
The provisionedThroughput.
|
getResourcePolicies(int index)
public String getResourcePolicies(int index)
[Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The resourcePolicies at the given index.
|
getResourcePoliciesBytes(int index)
public ByteString getResourcePoliciesBytes(int index)
[Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the resourcePolicies at the given index.
|
getResourcePoliciesCount()
public int getResourcePoliciesCount()
[Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;
Returns |
Type |
Description |
int |
The count of resourcePolicies.
|
getResourcePoliciesList()
public ProtocolStringList getResourcePoliciesList()
[Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSizeGb()
[Output Only] The disk size, in GB.
optional int64 size_gb = 494929369;
Returns |
Type |
Description |
long |
The sizeGb.
|
getStatus()
public String getStatus()
[Output Only] The disk status.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns |
Type |
Description |
String |
The status.
|
getStatusBytes()
public ByteString getStatusBytes()
[Output Only] The disk status.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns |
Type |
Description |
ByteString |
The bytes for status.
|
getType()
[Output Only] The disk type.
optional string type = 3575610;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
[Output Only] The disk type.
optional string type = 3575610;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
getUsedBytes()
public long getUsedBytes()
[Output Only] Amount of disk space used.
optional int64 used_bytes = 231640425;
Returns |
Type |
Description |
long |
The usedBytes.
|
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns |
Type |
Description |
boolean |
Whether the creationTimestamp field is set.
|
hasDisk()
[Output Only] The URL of the disk.
optional string disk = 3083677;
Returns |
Type |
Description |
boolean |
Whether the disk field is set.
|
hasName()
[Output Only] The name of the disk.
optional string name = 3373707;
Returns |
Type |
Description |
boolean |
Whether the name field is set.
|
hasProvisionedIops()
public boolean hasProvisionedIops()
[Output Only] The number of IOPS provisioned for the disk.
optional int64 provisioned_iops = 186769108;
Returns |
Type |
Description |
boolean |
Whether the provisionedIops field is set.
|
hasProvisionedThroughput()
public boolean hasProvisionedThroughput()
[Output Only] The throughput provisioned for the disk.
optional int64 provisioned_throughput = 526524181;
Returns |
Type |
Description |
boolean |
Whether the provisionedThroughput field is set.
|
hasSizeGb()
public boolean hasSizeGb()
[Output Only] The disk size, in GB.
optional int64 size_gb = 494929369;
Returns |
Type |
Description |
boolean |
Whether the sizeGb field is set.
|
hasStatus()
public boolean hasStatus()
[Output Only] The disk status.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
hasType()
[Output Only] The disk type.
optional string type = 3575610;
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
hasUsedBytes()
public boolean hasUsedBytes()
[Output Only] Amount of disk space used.
optional int64 used_bytes = 231640425;
Returns |
Type |
Description |
boolean |
Whether the usedBytes field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StoragePoolDisk.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoragePoolDisk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StoragePoolDisk.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides