public final class StoragePool extends com.google.protobuf.GeneratedMessageV3 implements StoragePoolOrBuilder
StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.Protobuf type
google.cloud.netapp.v1.StoragePool| Modifier and Type | Class and Description |
|---|---|
static class |
StoragePool.Builder
StoragePool is a container for volumes with a service level and capacity.
|
static class |
StoragePool.State
The Storage Pool States
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_DIRECTORY_FIELD_NUMBER |
static int |
CAPACITY_GIB_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ENCRYPTION_TYPE_FIELD_NUMBER |
static int |
GLOBAL_ACCESS_ALLOWED_FIELD_NUMBER |
static int |
KMS_CONFIG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LDAP_ENABLED_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
PSA_RANGE_FIELD_NUMBER |
static int |
SERVICE_LEVEL_FIELD_NUMBER |
static int |
STATE_DETAILS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
VOLUME_CAPACITY_GIB_FIELD_NUMBER |
static int |
VOLUME_COUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels as key value pairs
|
boolean |
equals(Object obj) |
String |
getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
|
com.google.protobuf.ByteString |
getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.
|
long |
getCapacityGib()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static StoragePool |
getDefaultInstance() |
StoragePool |
getDefaultInstanceForType() |
String |
getDescription()
Description of the storage pool
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the storage pool
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncryptionType |
getEncryptionType()
Output only.
|
int |
getEncryptionTypeValue()
Output only.
|
boolean |
getGlobalAccessAllowed()
Deprecated.
google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=222
|
String |
getKmsConfig()
Specifies the KMS config to be used for volume encryption.
|
com.google.protobuf.ByteString |
getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs
|
boolean |
getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
String |
getNetwork()
Required.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Required.
|
com.google.protobuf.Parser<StoragePool> |
getParserForType() |
String |
getPsaRange()
Name of the Private Service Access allocated range.
|
com.google.protobuf.ByteString |
getPsaRangeBytes()
Name of the Private Service Access allocated range.
|
int |
getSerializedSize() |
ServiceLevel |
getServiceLevel()
Required.
|
int |
getServiceLevelValue()
Required.
|
StoragePool.State |
getState()
Output only.
|
String |
getStateDetails()
Output only.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
Output only.
|
int |
getStateValue()
Output only.
|
long |
getVolumeCapacityGib()
Output only.
|
int |
getVolumeCount()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasGlobalAccessAllowed()
Deprecated.
google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=222
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static StoragePool.Builder |
newBuilder() |
static StoragePool.Builder |
newBuilder(StoragePool prototype) |
StoragePool.Builder |
newBuilderForType() |
protected StoragePool.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StoragePool |
parseDelimitedFrom(InputStream input) |
static StoragePool |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoragePool |
parseFrom(byte[] data) |
static StoragePool |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoragePool |
parseFrom(ByteBuffer data) |
static StoragePool |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoragePool |
parseFrom(com.google.protobuf.ByteString data) |
static StoragePool |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoragePool |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StoragePool |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoragePool |
parseFrom(InputStream input) |
static StoragePool |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StoragePool> |
parser() |
StoragePool.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SERVICE_LEVEL_FIELD_NUMBER
public static final int CAPACITY_GIB_FIELD_NUMBER
public static final int VOLUME_CAPACITY_GIB_FIELD_NUMBER
public static final int VOLUME_COUNT_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
public static final int KMS_CONFIG_FIELD_NUMBER
public static final int LDAP_ENABLED_FIELD_NUMBER
public static final int PSA_RANGE_FIELD_NUMBER
public static final int ENCRYPTION_TYPE_FIELD_NUMBER
public static final int GLOBAL_ACCESS_ALLOWED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface StoragePoolOrBuilderpublic int getServiceLevelValue()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLevelValue in interface StoragePoolOrBuilderpublic ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLevel in interface StoragePoolOrBuilderpublic long getCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];getCapacityGib in interface StoragePoolOrBuilderpublic long getVolumeCapacityGib()
Output only. Allocated size of all volumes in GIB in the storage pool
int64 volume_capacity_gib = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeCapacityGib in interface StoragePoolOrBuilderpublic int getVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeCount in interface StoragePoolOrBuilderpublic int getStateValue()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface StoragePoolOrBuilderpublic StoragePool.State getState()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface StoragePoolOrBuilderpublic String getStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetails in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetailsBytes in interface StoragePoolOrBuilderpublic boolean hasCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface StoragePoolOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface StoragePoolOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface StoragePoolOrBuilderpublic String getDescription()
Description of the storage pool
string description = 9;getDescription in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the storage pool
string description = 9;getDescriptionBytes in interface StoragePoolOrBuilderpublic int getLabelsCount()
StoragePoolOrBuilderLabels as key value pairs
map<string, string> labels = 10;getLabelsCount in interface StoragePoolOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 10;containsLabels in interface StoragePoolOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface StoragePoolOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 10;getLabelsMap in interface StoragePoolOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 10;getLabelsOrDefault in interface StoragePoolOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 10;getLabelsOrThrow in interface StoragePoolOrBuilderpublic String getNetwork()
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNetwork in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface StoragePoolOrBuilderpublic String getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }getActiveDirectory in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }getActiveDirectoryBytes in interface StoragePoolOrBuilderpublic String getKmsConfig()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }getKmsConfig in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }getKmsConfigBytes in interface StoragePoolOrBuilderpublic boolean getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;getLdapEnabled in interface StoragePoolOrBuilderpublic String getPsaRange()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;getPsaRange in interface StoragePoolOrBuilderpublic com.google.protobuf.ByteString getPsaRangeBytes()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;getPsaRangeBytes in interface StoragePoolOrBuilderpublic int getEncryptionTypeValue()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionTypeValue in interface StoragePoolOrBuilderpublic EncryptionType getEncryptionType()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionType in interface StoragePoolOrBuilder@Deprecated public boolean hasGlobalAccessAllowed()
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];hasGlobalAccessAllowed in interface StoragePoolOrBuilder@Deprecated public boolean getGlobalAccessAllowed()
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];getGlobalAccessAllowed in interface StoragePoolOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StoragePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoragePool parseFrom(InputStream input) throws IOException
IOExceptionpublic static StoragePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StoragePool parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StoragePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StoragePool parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StoragePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StoragePool.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StoragePool.Builder newBuilder()
public static StoragePool.Builder newBuilder(StoragePool prototype)
public StoragePool.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StoragePool.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StoragePool getDefaultInstance()
public static com.google.protobuf.Parser<StoragePool> parser()
public com.google.protobuf.Parser<StoragePool> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StoragePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.