Package com.google.cloud.compute.v1
Class StoragePoolDisk
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.StoragePoolDisk
- All Implemented Interfaces:
StoragePoolDiskOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class StoragePoolDisk
extends com.google.protobuf.GeneratedMessage
implements StoragePoolDiskOrBuilder
Protobuf type
google.cloud.compute.v1.StoragePoolDisk- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttachedInstances(int index) Output only.com.google.protobuf.ByteStringgetAttachedInstancesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.com.google.protobuf.ByteStringOutput only.static StoragePoolDiskstatic final com.google.protobuf.Descriptors.DescriptorgetDisk()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<StoragePoolDisk>longOutput only.longOutput only.getResourcePolicies(int index) Output only.com.google.protobuf.ByteStringgetResourcePoliciesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.longOutput only.booleanOutput only.booleanhasDisk()Output only.inthashCode()booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasType()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic StoragePoolDisk.Builderstatic StoragePoolDisk.BuildernewBuilder(StoragePoolDisk prototype) protected StoragePoolDisk.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StoragePoolDiskparseDelimitedFrom(InputStream input) static StoragePoolDiskparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolDiskparseFrom(byte[] data) static StoragePoolDiskparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolDiskparseFrom(com.google.protobuf.ByteString data) static StoragePoolDiskparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolDiskparseFrom(com.google.protobuf.CodedInputStream input) static StoragePoolDiskparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolDiskparseFrom(InputStream input) static StoragePoolDiskparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoragePoolDiskparseFrom(ByteBuffer data) static StoragePoolDiskparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoragePoolDisk>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ATTACHED_INSTANCES_FIELD_NUMBER
public static final int ATTACHED_INSTANCES_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DISK_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PROVISIONED_IOPS_FIELD_NUMBER
public static final int PROVISIONED_IOPS_FIELD_NUMBER- See Also:
-
PROVISIONED_THROUGHPUT_FIELD_NUMBER
public static final int PROVISIONED_THROUGHPUT_FIELD_NUMBER- See Also:
-
RESOURCE_POLICIES_FIELD_NUMBER
public static final int RESOURCE_POLICIES_FIELD_NUMBER- See Also:
-
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
USED_BYTES_FIELD_NUMBER
public static final int USED_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAttachedInstancesList
public com.google.protobuf.ProtocolStringList getAttachedInstancesList()Output only. [Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;- Specified by:
getAttachedInstancesListin interfaceStoragePoolDiskOrBuilder- Returns:
- A list containing the attachedInstances.
-
getAttachedInstancesCount
public int getAttachedInstancesCount()Output only. [Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;- Specified by:
getAttachedInstancesCountin interfaceStoragePoolDiskOrBuilder- Returns:
- The count of attachedInstances.
-
getAttachedInstances
Output only. [Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;- Specified by:
getAttachedInstancesin interfaceStoragePoolDiskOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attachedInstances at the given index.
-
getAttachedInstancesBytes
public com.google.protobuf.ByteString getAttachedInstancesBytes(int index) Output only. [Output Only] Instances this disk is attached to.
repeated string attached_instances = 65255843;- Specified by:
getAttachedInstancesBytesin interfaceStoragePoolDiskOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the attachedInstances at the given index.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceStoragePoolDiskOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDisk
public boolean hasDisk()Output only. [Output Only] The URL of the disk.
optional string disk = 3083677;- Specified by:
hasDiskin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the disk field is set.
-
getDisk
Output only. [Output Only] The URL of the disk.
optional string disk = 3083677;- Specified by:
getDiskin interfaceStoragePoolDiskOrBuilder- Returns:
- The disk.
-
getDiskBytes
public com.google.protobuf.ByteString getDiskBytes()Output only. [Output Only] The URL of the disk.
optional string disk = 3083677;- Specified by:
getDiskBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The bytes for disk.
-
hasName
public boolean hasName()Output only. [Output Only] The name of the disk.
optional string name = 3373707;- Specified by:
hasNamein interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. [Output Only] The name of the disk.
optional string name = 3373707;- Specified by:
getNamein interfaceStoragePoolDiskOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. [Output Only] The name of the disk.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The bytes for name.
-
hasProvisionedIops
public boolean hasProvisionedIops()Output only. [Output Only] The number of IOPS provisioned for the disk.
optional int64 provisioned_iops = 186769108;- Specified by:
hasProvisionedIopsin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the provisionedIops field is set.
-
getProvisionedIops
public long getProvisionedIops()Output only. [Output Only] The number of IOPS provisioned for the disk.
optional int64 provisioned_iops = 186769108;- Specified by:
getProvisionedIopsin interfaceStoragePoolDiskOrBuilder- Returns:
- The provisionedIops.
-
hasProvisionedThroughput
public boolean hasProvisionedThroughput()Output only. [Output Only] The throughput provisioned for the disk.
optional int64 provisioned_throughput = 526524181;- Specified by:
hasProvisionedThroughputin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the provisionedThroughput field is set.
-
getProvisionedThroughput
public long getProvisionedThroughput()Output only. [Output Only] The throughput provisioned for the disk.
optional int64 provisioned_throughput = 526524181;- Specified by:
getProvisionedThroughputin interfaceStoragePoolDiskOrBuilder- Returns:
- The provisionedThroughput.
-
getResourcePoliciesList
public com.google.protobuf.ProtocolStringList getResourcePoliciesList()Output only. [Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesListin interfaceStoragePoolDiskOrBuilder- Returns:
- A list containing the resourcePolicies.
-
getResourcePoliciesCount
public int getResourcePoliciesCount()Output only. [Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesCountin interfaceStoragePoolDiskOrBuilder- Returns:
- The count of resourcePolicies.
-
getResourcePolicies
Output only. [Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesin interfaceStoragePoolDiskOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourcePolicies at the given index.
-
getResourcePoliciesBytes
public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) Output only. [Output Only] Resource policies applied to disk for automatic snapshot creations.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesBytesin interfaceStoragePoolDiskOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourcePolicies at the given index.
-
hasSizeGb
public boolean hasSizeGb()Output only. [Output Only] The disk size, in GB.
optional int64 size_gb = 494929369;- Specified by:
hasSizeGbin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the sizeGb field is set.
-
getSizeGb
public long getSizeGb()Output only. [Output Only] The disk size, in GB.
optional int64 size_gb = 494929369;- Specified by:
getSizeGbin interfaceStoragePoolDiskOrBuilder- Returns:
- The sizeGb.
-
hasStatus
public boolean hasStatus()Output only. [Output Only] The disk status. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] The disk status. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceStoragePoolDiskOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. [Output Only] The disk status. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The bytes for status.
-
hasType
public boolean hasType()Output only. [Output Only] The disk type.
optional string type = 3575610;- Specified by:
hasTypein interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the type field is set.
-
getType
Output only. [Output Only] The disk type.
optional string type = 3575610;- Specified by:
getTypein interfaceStoragePoolDiskOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Output only. [Output Only] The disk type.
optional string type = 3575610;- Specified by:
getTypeBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The bytes for type.
-
hasUsedBytes
public boolean hasUsedBytes()Output only. [Output Only] Amount of disk space used.
optional int64 used_bytes = 231640425;- Specified by:
hasUsedBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- Whether the usedBytes field is set.
-
getUsedBytes
public long getUsedBytes()Output only. [Output Only] Amount of disk space used.
optional int64 used_bytes = 231640425;- Specified by:
getUsedBytesin interfaceStoragePoolDiskOrBuilder- Returns:
- The usedBytes.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StoragePoolDisk parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePoolDisk parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePoolDisk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePoolDisk parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePoolDisk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoragePoolDisk parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoragePoolDisk parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoragePoolDisk parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoragePoolDisk parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoragePoolDisk parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StoragePoolDisk.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-