public final class StoragePool extends 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
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
ACTIVE_DIRECTORY_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CAPACITY_GIB_FIELD_NUMBER
public static final int CAPACITY_GIB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENCRYPTION_TYPE_FIELD_NUMBER
public static final int ENCRYPTION_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GLOBAL_ACCESS_ALLOWED_FIELD_NUMBER
public static final int GLOBAL_ACCESS_ALLOWED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KMS_CONFIG_FIELD_NUMBER
public static final int KMS_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LDAP_ENABLED_FIELD_NUMBER
public static final int LDAP_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PSA_RANGE_FIELD_NUMBER
public static final int PSA_RANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLICA_ZONE_FIELD_NUMBER
public static final int REPLICA_ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_LEVEL_FIELD_NUMBER
public static final int SERVICE_LEVEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_DETAILS_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VOLUME_CAPACITY_GIB_FIELD_NUMBER
public static final int VOLUME_CAPACITY_GIB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VOLUME_COUNT_FIELD_NUMBER
public static final int VOLUME_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StoragePool getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StoragePool.Builder newBuilder()
newBuilder(StoragePool prototype)
public static StoragePool.Builder newBuilder(StoragePool prototype)
public static StoragePool parseDelimitedFrom(InputStream input)
public static StoragePool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StoragePool parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoragePool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StoragePool parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoragePool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoragePool parseFrom(CodedInputStream input)
public static StoragePool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StoragePool parseFrom(InputStream input)
public static StoragePool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StoragePool parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoragePool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StoragePool> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActiveDirectory()
public String getActiveDirectory()
Optional. Specifies the Active Directory to be used for creating a SMB
volume.
string active_directory = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The activeDirectory.
|
getActiveDirectoryBytes()
public ByteString getActiveDirectoryBytes()
Optional. Specifies the Active Directory to be used for creating a SMB
volume.
string active_directory = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for activeDirectory.
|
getCapacityGib()
public long getCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
long |
The capacityGib.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public StoragePool getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Description of the storage pool
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the storage pool
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getEncryptionType()
public 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];
getEncryptionTypeValue()
public 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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for encryptionType.
|
getGlobalAccessAllowed() (deprecated)
public boolean getGlobalAccessAllowed()
Deprecated. google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=231
Deprecated. Used to allow SO pool to access AD or DNS server from other
regions.
optional bool global_access_allowed = 17 [deprecated = true];
Returns |
Type |
Description |
boolean |
The globalAccessAllowed.
|
getKmsConfig()
public String getKmsConfig()
Optional. Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The kmsConfig.
|
getKmsConfigBytes()
public ByteString getKmsConfigBytes()
Optional. Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for kmsConfig.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getLdapEnabled()
public boolean getLdapEnabled()
Optional. Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The ldapEnabled.
|
getName()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNetwork()
public String getNetwork()
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for network.
|
getParserForType()
public Parser<StoragePool> getParserForType()
Overrides
getPsaRange()
public String getPsaRange()
Optional. This field is not implemented. The values provided in this field
are ignored.
string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The psaRange.
|
getPsaRangeBytes()
public ByteString getPsaRangeBytes()
Optional. This field is not implemented. The values provided in this field
are ignored.
string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for psaRange.
|
getReplicaZone()
public String getReplicaZone()
Optional. Specifies the replica zone for regional storagePool.
string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The replicaZone.
|
getReplicaZoneBytes()
public ByteString getReplicaZoneBytes()
Optional. Specifies the replica zone for regional storagePool.
string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for replicaZone.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceLevel()
public ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLevelValue()
public int getServiceLevelValue()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for serviceLevel.
|
getState()
public StoragePool.State getState()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateDetails()
public String getStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The stateDetails.
|
getStateDetailsBytes()
public ByteString getStateDetailsBytes()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for stateDetails.
|
getStateValue()
public int getStateValue()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getVolumeCapacityGib()
public 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];
Returns |
Type |
Description |
long |
The volumeCapacityGib.
|
getVolumeCount()
public int getVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The volumeCount.
|
getZone()
Optional. Specifies the active zone for regional storagePool.
string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The zone.
|
getZoneBytes()
public ByteString getZoneBytes()
Optional. Specifies the active zone for regional storagePool.
string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for zone.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasGlobalAccessAllowed() (deprecated)
public boolean hasGlobalAccessAllowed()
Deprecated. google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=231
Deprecated. Used to allow SO pool to access AD or DNS server from other
regions.
optional bool global_access_allowed = 17 [deprecated = true];
Returns |
Type |
Description |
boolean |
Whether the globalAccessAllowed field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StoragePool.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoragePool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StoragePool.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides