public static final class StoragePool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder> 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 | Method and Description |
|---|---|
StoragePool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoragePool |
build() |
StoragePool |
buildPartial() |
StoragePool.Builder |
clear() |
StoragePool.Builder |
clearActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
|
StoragePool.Builder |
clearCapacityGib()
Required.
|
StoragePool.Builder |
clearCreateTime()
Output only.
|
StoragePool.Builder |
clearDescription()
Description of the storage pool
|
StoragePool.Builder |
clearEncryptionType()
Output only.
|
StoragePool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoragePool.Builder |
clearGlobalAccessAllowed()
Deprecated.
google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=222
|
StoragePool.Builder |
clearKmsConfig()
Specifies the KMS config to be used for volume encryption.
|
StoragePool.Builder |
clearLabels() |
StoragePool.Builder |
clearLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
|
StoragePool.Builder |
clearName()
Identifier.
|
StoragePool.Builder |
clearNetwork()
Required.
|
StoragePool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoragePool.Builder |
clearPsaRange()
Name of the Private Service Access allocated range.
|
StoragePool.Builder |
clearServiceLevel()
Required.
|
StoragePool.Builder |
clearState()
Output only.
|
StoragePool.Builder |
clearStateDetails()
Output only.
|
StoragePool.Builder |
clearVolumeCapacityGib()
Output only.
|
StoragePool.Builder |
clearVolumeCount()
Output only.
|
StoragePool.Builder |
clone() |
boolean |
containsLabels(String key)
Labels as key value pairs
|
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.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
String |
getNetwork()
Required.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Required.
|
String |
getPsaRange()
Name of the Private Service Access allocated range.
|
com.google.protobuf.ByteString |
getPsaRangeBytes()
Name of the Private Service Access allocated range.
|
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
StoragePool.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
StoragePool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoragePool.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoragePool.Builder |
mergeFrom(StoragePool other) |
StoragePool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoragePool.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs
|
StoragePool.Builder |
putLabels(String key,
String value)
Labels as key value pairs
|
StoragePool.Builder |
removeLabels(String key)
Labels as key value pairs
|
StoragePool.Builder |
setActiveDirectory(String value)
Specifies the Active Directory to be used for creating a SMB volume.
|
StoragePool.Builder |
setActiveDirectoryBytes(com.google.protobuf.ByteString value)
Specifies the Active Directory to be used for creating a SMB volume.
|
StoragePool.Builder |
setCapacityGib(long value)
Required.
|
StoragePool.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
StoragePool.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
StoragePool.Builder |
setDescription(String value)
Description of the storage pool
|
StoragePool.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the storage pool
|
StoragePool.Builder |
setEncryptionType(EncryptionType value)
Output only.
|
StoragePool.Builder |
setEncryptionTypeValue(int value)
Output only.
|
StoragePool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoragePool.Builder |
setGlobalAccessAllowed(boolean value)
Deprecated.
google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
google/cloud/netapp/v1/storage_pool.proto;l=222
|
StoragePool.Builder |
setKmsConfig(String value)
Specifies the KMS config to be used for volume encryption.
|
StoragePool.Builder |
setKmsConfigBytes(com.google.protobuf.ByteString value)
Specifies the KMS config to be used for volume encryption.
|
StoragePool.Builder |
setLdapEnabled(boolean value)
Flag indicating if the pool is NFS LDAP enabled or not.
|
StoragePool.Builder |
setName(String value)
Identifier.
|
StoragePool.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Identifier.
|
StoragePool.Builder |
setNetwork(String value)
Required.
|
StoragePool.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Required.
|
StoragePool.Builder |
setPsaRange(String value)
Name of the Private Service Access allocated range.
|
StoragePool.Builder |
setPsaRangeBytes(com.google.protobuf.ByteString value)
Name of the Private Service Access allocated range.
|
StoragePool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoragePool.Builder |
setServiceLevel(ServiceLevel value)
Required.
|
StoragePool.Builder |
setServiceLevelValue(int value)
Required.
|
StoragePool.Builder |
setState(StoragePool.State value)
Output only.
|
StoragePool.Builder |
setStateDetails(String value)
Output only.
|
StoragePool.Builder |
setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only.
|
StoragePool.Builder |
setStateValue(int value)
Output only.
|
StoragePool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoragePool.Builder |
setVolumeCapacityGib(long value)
Output only.
|
StoragePool.Builder |
setVolumeCount(int value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StoragePool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StoragePool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StoragePool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(StoragePool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public StoragePool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>IOExceptionpublic 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 StoragePool.Builder setName(String value)
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The name to set.public StoragePool.Builder clearName()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];public StoragePool.Builder setNameBytes(com.google.protobuf.ByteString value)
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];value - The bytes for name to set.public 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 StoragePool.Builder setServiceLevelValue(int value)
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for serviceLevel to set.public 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 StoragePool.Builder setServiceLevel(ServiceLevel value)
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
value - The serviceLevel to set.public StoragePool.Builder clearServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
public long getCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];getCapacityGib in interface StoragePoolOrBuilderpublic StoragePool.Builder setCapacityGib(long value)
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];value - The capacityGib to set.public StoragePool.Builder clearCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];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];getVolumeCapacityGib in interface StoragePoolOrBuilderpublic StoragePool.Builder setVolumeCapacityGib(long value)
Output only. Allocated size of all volumes in GIB in the storage pool
int64 volume_capacity_gib = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The volumeCapacityGib to set.public StoragePool.Builder clearVolumeCapacityGib()
Output only. Allocated size of all volumes in GIB in the storage pool
int64 volume_capacity_gib = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getVolumeCount in interface StoragePoolOrBuilderpublic StoragePool.Builder setVolumeCount(int value)
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The volumeCount to set.public StoragePool.Builder clearVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public 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.Builder setStateValue(int value)
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.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];
getState in interface StoragePoolOrBuilderpublic StoragePool.Builder setState(StoragePool.State value)
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public StoragePool.Builder clearState()
Output only. State of the storage pool
.google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 StoragePool.Builder setStateDetails(String value)
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The stateDetails to set.public StoragePool.Builder clearStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public StoragePool.Builder setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateDetails to set.public 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 StoragePool.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StoragePool.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StoragePool.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StoragePool.Builder clearCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 StoragePool.Builder setDescription(String value)
Description of the storage pool
string description = 9;value - The description to set.public StoragePool.Builder clearDescription()
Description of the storage pool
string description = 9;public StoragePool.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the storage pool
string description = 9;value - The bytes for description to set.public 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 StoragePool.Builder clearLabels()
public StoragePool.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 10;@Deprecated public Map<String,String> getMutableLabels()
public StoragePool.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 10;public StoragePool.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 10;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) = { ... }
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 StoragePool.Builder setNetwork(String value)
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The network to set.public StoragePool.Builder clearNetwork()
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public StoragePool.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Required. VPC Network name.
Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public 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 StoragePool.Builder setActiveDirectory(String value)
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }value - The activeDirectory to set.public StoragePool.Builder clearActiveDirectory()
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }public StoragePool.Builder setActiveDirectoryBytes(com.google.protobuf.ByteString value)
Specifies the Active Directory to be used for creating a SMB volume.
string active_directory = 12 [(.google.api.resource_reference) = { ... }value - The bytes for activeDirectory to set.public 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 StoragePool.Builder setKmsConfig(String value)
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }value - The kmsConfig to set.public StoragePool.Builder clearKmsConfig()
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }public StoragePool.Builder setKmsConfigBytes(com.google.protobuf.ByteString value)
Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.resource_reference) = { ... }value - The bytes for kmsConfig to set.public boolean getLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;getLdapEnabled in interface StoragePoolOrBuilderpublic StoragePool.Builder setLdapEnabled(boolean value)
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;value - The ldapEnabled to set.public StoragePool.Builder clearLdapEnabled()
Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14;public 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 StoragePool.Builder setPsaRange(String value)
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;value - The psaRange to set.public StoragePool.Builder clearPsaRange()
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;public StoragePool.Builder setPsaRangeBytes(com.google.protobuf.ByteString value)
Name of the Private Service Access allocated range. If not provided, any available range will be chosen.
string psa_range = 15;value - The bytes for psaRange to set.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];
getEncryptionTypeValue in interface StoragePoolOrBuilderpublic StoragePool.Builder setEncryptionTypeValue(int value)
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for encryptionType to set.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];
getEncryptionType in interface StoragePoolOrBuilderpublic StoragePool.Builder setEncryptionType(EncryptionType value)
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The encryptionType to set.public StoragePool.Builder clearEncryptionType()
Output only. Specifies the current pool encryption key source.
.google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
@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 StoragePoolOrBuilder@Deprecated public StoragePool.Builder setGlobalAccessAllowed(boolean value)
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];value - The globalAccessAllowed to set.@Deprecated public StoragePool.Builder clearGlobalAccessAllowed()
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];public final StoragePool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>public final StoragePool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>Copyright © 2024 Google LLC. All rights reserved.