public final class StoragePool extends GeneratedMessageV3 implements StoragePoolOrBuilder
Resources
StoragePool
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.v1beta1.StoragePool
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 | |
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 | |
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)
Labels as key value pairs
map<string, string> labels = 10;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getActiveDirectory()
public String getActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The activeDirectory.
|
getActiveDirectoryBytes()
public ByteString getActiveDirectoryBytes()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.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()
Description of the storage pool
string description = 9;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the storage pool
string description = 9;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getEncryptionType()
public EncryptionType getEncryptionType()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1beta1.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.v1beta1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for encryptionType.
|
getGlobalAccessAllowed()
public boolean getGlobalAccessAllowed()
Optional. Allows SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | The globalAccessAllowed.
|
getKmsConfig()
public String getKmsConfig()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The kmsConfig.
|
getKmsConfigBytes()
public ByteString getKmsConfigBytes()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for kmsConfig.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels as key value pairs
map<string, string> labels = 10;
Returns |
---|
Type | Description |
int | |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 10;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 10;
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 10;
Parameter |
---|
Name | Description |
key | String
|
getLdapEnabled()
public boolean getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;
Returns |
---|
Type | Description |
boolean | The ldapEnabled.
|
getName()
Output only. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Name of the Private Service Access allocated range. If
not provided, any available range will be chosen.
string psa_range = 15;
Returns |
---|
Type | Description |
String | The psaRange.
|
getPsaRangeBytes()
public ByteString getPsaRangeBytes()
Name of the Private Service Access allocated range. If
not provided, any available range will be chosen.
string psa_range = 15;
Returns |
---|
Type | Description |
ByteString | The bytes for psaRange.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getServiceLevel()
public ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1beta1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLevelValue()
public int getServiceLevelValue()
Required. Service level of the storage pool
.google.cloud.netapp.v1beta1.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.v1beta1.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.v1beta1.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.
|
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()
public boolean hasGlobalAccessAllowed()
Optional. Allows SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the globalAccessAllowed field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
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)
Overrides
toBuilder()
public StoragePool.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides