- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class StoragePool.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StoragePool.BuilderImplements
StoragePoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StoragePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
build()
public StoragePool build()
Returns | |
---|---|
Type | Description |
StoragePool |
buildPartial()
public StoragePool buildPartial()
Returns | |
---|---|
Type | Description |
StoragePool |
clear()
public StoragePool.Builder clear()
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
clearActiveDirectory()
public StoragePool.Builder clearActiveDirectory()
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 |
StoragePool.Builder |
This builder for chaining. |
clearAllowAutoTiering()
public StoragePool.Builder clearAllowAutoTiering()
Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
bool allow_auto_tiering = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearAvailableThroughputMibps()
public StoragePool.Builder clearAvailableThroughputMibps()
Output only. Available throughput of the storage pool (in MiB/s).
double available_throughput_mibps = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearCapacityGib()
public StoragePool.Builder clearCapacityGib()
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearColdTierSizeUsedGib()
public StoragePool.Builder clearColdTierSizeUsedGib()
Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
int64 cold_tier_size_used_gib = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearCreateTime()
public StoragePool.Builder clearCreateTime()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
clearCustomPerformanceEnabled()
public StoragePool.Builder clearCustomPerformanceEnabled()
Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
bool custom_performance_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearDescription()
public StoragePool.Builder clearDescription()
Optional. Description of the storage pool
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearEnableHotTierAutoResize()
public StoragePool.Builder clearEnableHotTierAutoResize()
Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
optional bool enable_hot_tier_auto_resize = 29 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearEncryptionType()
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];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StoragePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
clearGlobalAccessAllowed() (deprecated)
public StoragePool.Builder clearGlobalAccessAllowed()
Deprecated. google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See google/cloud/netapp/v1/storage_pool.proto;l=243
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 |
StoragePool.Builder |
This builder for chaining. |
clearHotTierSizeGib()
public StoragePool.Builder clearHotTierSizeGib()
Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
int64 hot_tier_size_gib = 28 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearHotTierSizeUsedGib()
public StoragePool.Builder clearHotTierSizeUsedGib()
Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
int64 hot_tier_size_used_gib = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearKmsConfig()
public StoragePool.Builder clearKmsConfig()
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 |
StoragePool.Builder |
This builder for chaining. |
clearLabels()
public StoragePool.Builder clearLabels()
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
clearLdapEnabled()
public StoragePool.Builder clearLdapEnabled()
Optional. Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearName()
public StoragePool.Builder clearName()
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearNetwork()
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) = { ... }
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StoragePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
clearPsaRange()
public StoragePool.Builder clearPsaRange()
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 |
StoragePool.Builder |
This builder for chaining. |
clearQosType()
public StoragePool.Builder clearQosType()
Optional. QoS (Quality of Service) Type of the storage pool
.google.cloud.netapp.v1.QosType qos_type = 30 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearReplicaZone()
public StoragePool.Builder clearReplicaZone()
Optional. Specifies the replica zone for regional storagePool.
string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearSatisfiesPzi()
public StoragePool.Builder clearSatisfiesPzi()
Output only. Reserved for future use
bool satisfies_pzi = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public StoragePool.Builder clearSatisfiesPzs()
Output only. Reserved for future use
bool satisfies_pzs = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearServiceLevel()
public StoragePool.Builder clearServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearState()
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];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearStateDetails()
public StoragePool.Builder clearStateDetails()
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearTotalIops()
public StoragePool.Builder clearTotalIops()
Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
int64 total_iops = 27 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearTotalThroughputMibps()
public StoragePool.Builder clearTotalThroughputMibps()
Optional. Custom Performance Total Throughput of the pool (in MiBps)
int64 total_throughput_mibps = 26 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearVolumeCapacityGib()
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];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearVolumeCount()
public StoragePool.Builder clearVolumeCount()
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clearZone()
public StoragePool.Builder clearZone()
Optional. Specifies the active zone for regional storagePool.
string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
clone()
public StoragePool.Builder clone()
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
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 |
Returns | |
---|---|
Type | Description |
boolean |
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. |
getAllowAutoTiering()
public boolean getAllowAutoTiering()
Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
bool allow_auto_tiering = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The allowAutoTiering. |
getAvailableThroughputMibps()
public double getAvailableThroughputMibps()
Output only. Available throughput of the storage pool (in MiB/s).
double available_throughput_mibps = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
double |
The availableThroughputMibps. |
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. |
getColdTierSizeUsedGib()
public long getColdTierSizeUsedGib()
Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
int64 cold_tier_size_used_gib = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The coldTierSizeUsedGib. |
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getCustomPerformanceEnabled()
public boolean getCustomPerformanceEnabled()
Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
bool custom_performance_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The customPerformanceEnabled. |
getDefaultInstanceForType()
public StoragePool getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StoragePool |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnableHotTierAutoResize()
public boolean getEnableHotTierAutoResize()
Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
optional bool enable_hot_tier_auto_resize = 29 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableHotTierAutoResize. |
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];
Returns | |
---|---|
Type | Description |
EncryptionType |
The encryptionType. |
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=243
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. |
getHotTierSizeGib()
public long getHotTierSizeGib()
Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
int64 hot_tier_size_gib = 28 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The hotTierSizeGib. |
getHotTierSizeUsedGib()
public long getHotTierSizeUsedGib()
Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
int64 hot_tier_size_used_gib = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The hotTierSizeUsedGib. |
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()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
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. |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String 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. |
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. |
getQosType()
public QosType getQosType()
Optional. QoS (Quality of Service) Type of the storage pool
.google.cloud.netapp.v1.QosType qos_type = 30 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
QosType |
The qosType. |
getQosTypeValue()
public int getQosTypeValue()
Optional. QoS (Quality of Service) Type of the storage pool
.google.cloud.netapp.v1.QosType qos_type = 30 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for qosType. |
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. |
getSatisfiesPzi()
public boolean getSatisfiesPzi()
Output only. Reserved for future use
bool satisfies_pzi = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzi. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()
Output only. Reserved for future use
bool satisfies_pzs = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The satisfiesPzs. |
getServiceLevel()
public ServiceLevel getServiceLevel()
Required. Service level of the storage pool
.google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ServiceLevel |
The serviceLevel. |
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];
Returns | |
---|---|
Type | Description |
StoragePool.State |
The state. |
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. |
getTotalIops()
public long getTotalIops()
Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
int64 total_iops = 27 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The totalIops. |
getTotalThroughputMibps()
public long getTotalThroughputMibps()
Optional. Custom Performance Total Throughput of the pool (in MiBps)
int64 total_throughput_mibps = 26 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The totalThroughputMibps. |
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()
public String 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. |
hasEnableHotTierAutoResize()
public boolean hasEnableHotTierAutoResize()
Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
optional bool enable_hot_tier_auto_resize = 29 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the enableHotTierAutoResize 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=243
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public StoragePool.Builder mergeCreateTime(Timestamp value)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
mergeFrom(StoragePool other)
public StoragePool.Builder mergeFrom(StoragePool other)
Parameter | |
---|---|
Name | Description |
other |
StoragePool |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StoragePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StoragePool.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StoragePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
putAllLabels(Map<String,String> values)
public StoragePool.Builder putAllLabels(Map<String,String> values)
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
putLabels(String key, String value)
public StoragePool.Builder putLabels(String key, String value)
Optional. Labels as key value pairs
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
removeLabels(String key)
public StoragePool.Builder removeLabels(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 |
StoragePool.Builder |
setActiveDirectory(String value)
public StoragePool.Builder setActiveDirectory(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The activeDirectory to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setActiveDirectoryBytes(ByteString value)
public StoragePool.Builder setActiveDirectoryBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for activeDirectory to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setAllowAutoTiering(boolean value)
public StoragePool.Builder setAllowAutoTiering(boolean value)
Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
bool allow_auto_tiering = 18 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The allowAutoTiering to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setAvailableThroughputMibps(double value)
public StoragePool.Builder setAvailableThroughputMibps(double value)
Output only. Available throughput of the storage pool (in MiB/s).
double available_throughput_mibps = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
double The availableThroughputMibps to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setCapacityGib(long value)
public StoragePool.Builder setCapacityGib(long value)
Required. Capacity in GIB of the pool
int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
long The capacityGib to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setColdTierSizeUsedGib(long value)
public StoragePool.Builder setColdTierSizeUsedGib(long value)
Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
int64 cold_tier_size_used_gib = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The coldTierSizeUsedGib to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public StoragePool.Builder setCreateTime(Timestamp value)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public StoragePool.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Create time of the storage pool
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
setCustomPerformanceEnabled(boolean value)
public StoragePool.Builder setCustomPerformanceEnabled(boolean value)
Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
bool custom_performance_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The customPerformanceEnabled to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setDescription(String value)
public StoragePool.Builder setDescription(String value)
Optional. Description of the storage pool
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public StoragePool.Builder setDescriptionBytes(ByteString value)
Optional. Description of the storage pool
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setEnableHotTierAutoResize(boolean value)
public StoragePool.Builder setEnableHotTierAutoResize(boolean value)
Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
optional bool enable_hot_tier_auto_resize = 29 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The enableHotTierAutoResize to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setEncryptionType(EncryptionType value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
EncryptionType The encryptionType to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setEncryptionTypeValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for encryptionType to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StoragePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
setGlobalAccessAllowed(boolean value) (deprecated)
public 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=243
Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
optional bool global_access_allowed = 17 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
boolean The globalAccessAllowed to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setHotTierSizeGib(long value)
public StoragePool.Builder setHotTierSizeGib(long value)
Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
int64 hot_tier_size_gib = 28 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The hotTierSizeGib to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setHotTierSizeUsedGib(long value)
public StoragePool.Builder setHotTierSizeUsedGib(long value)
Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
int64 hot_tier_size_used_gib = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The hotTierSizeUsedGib to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setKmsConfig(String value)
public StoragePool.Builder setKmsConfig(String value)
Optional. Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The kmsConfig to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setKmsConfigBytes(ByteString value)
public StoragePool.Builder setKmsConfigBytes(ByteString value)
Optional. Specifies the KMS config to be used for volume encryption.
string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kmsConfig to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setLdapEnabled(boolean value)
public StoragePool.Builder setLdapEnabled(boolean value)
Optional. Flag indicating if the pool is NFS LDAP enabled or not.
bool ldap_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The ldapEnabled to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setName(String value)
public StoragePool.Builder setName(String value)
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public StoragePool.Builder setNameBytes(ByteString value)
Identifier. Name of the storage pool
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setNetwork(String value)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The network to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public StoragePool.Builder setNetworkBytes(ByteString value)
Required. VPC Network name. Format: projects/{project}/global/networks/{network}
string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setPsaRange(String value)
public StoragePool.Builder setPsaRange(String value)
Optional. This field is not implemented. The values provided in this field are ignored.
string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The psaRange to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setPsaRangeBytes(ByteString value)
public StoragePool.Builder setPsaRangeBytes(ByteString value)
Optional. This field is not implemented. The values provided in this field are ignored.
string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for psaRange to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setQosType(QosType value)
public StoragePool.Builder setQosType(QosType value)
Optional. QoS (Quality of Service) Type of the storage pool
.google.cloud.netapp.v1.QosType qos_type = 30 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
QosType The qosType to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setQosTypeValue(int value)
public StoragePool.Builder setQosTypeValue(int value)
Optional. QoS (Quality of Service) Type of the storage pool
.google.cloud.netapp.v1.QosType qos_type = 30 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for qosType to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StoragePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
setReplicaZone(String value)
public StoragePool.Builder setReplicaZone(String value)
Optional. Specifies the replica zone for regional storagePool.
string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The replicaZone to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setReplicaZoneBytes(ByteString value)
public StoragePool.Builder setReplicaZoneBytes(ByteString value)
Optional. Specifies the replica zone for regional storagePool.
string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for replicaZone to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setSatisfiesPzi(boolean value)
public StoragePool.Builder setSatisfiesPzi(boolean value)
Output only. Reserved for future use
bool satisfies_pzi = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The satisfiesPzi to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setSatisfiesPzs(boolean value)
public StoragePool.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use
bool satisfies_pzs = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The satisfiesPzs to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setServiceLevel(ServiceLevel value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
ServiceLevel The serviceLevel to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setServiceLevelValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for serviceLevel to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setState(StoragePool.State value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
StoragePool.State The state to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setStateDetails(String value)
public StoragePool.Builder setStateDetails(String value)
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The stateDetails to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setStateDetailsBytes(ByteString value)
public StoragePool.Builder setStateDetailsBytes(ByteString value)
Output only. State details of the storage pool
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for stateDetails to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setStateValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setTotalIops(long value)
public StoragePool.Builder setTotalIops(long value)
Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
int64 total_iops = 27 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The totalIops to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setTotalThroughputMibps(long value)
public StoragePool.Builder setTotalThroughputMibps(long value)
Optional. Custom Performance Total Throughput of the pool (in MiBps)
int64 total_throughput_mibps = 26 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
long The totalThroughputMibps to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StoragePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
setVolumeCapacityGib(long value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
long The volumeCapacityGib to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setVolumeCount(int value)
public StoragePool.Builder setVolumeCount(int value)
Output only. Volume count of the storage pool
int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The volumeCount to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setZone(String value)
public StoragePool.Builder setZone(String value)
Optional. Specifies the active zone for regional storagePool.
string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The zone to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public StoragePool.Builder setZoneBytes(ByteString value)
Optional. Specifies the active zone for regional storagePool.
string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for zone to set. |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
This builder for chaining. |