Class StoragePool.Builder

  • All Implemented Interfaces:
    StoragePoolOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    StoragePool

    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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • clear

        public StoragePool.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • getDefaultInstanceForType

        public StoragePool getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StoragePool build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StoragePool buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public StoragePool.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • setField

        public StoragePool.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                            Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • clearField

        public StoragePool.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • clearOneof

        public StoragePool.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • setRepeatedField

        public StoragePool.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    int index,
                                                    Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • addRepeatedField

        public StoragePool.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • mergeFrom

        public StoragePool.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • mergeFrom

        public StoragePool.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoragePool.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. Name of the storage pool
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface StoragePoolOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Name of the storage pool
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for name.
      • setName

        public StoragePool.Builder setName​(String value)
         Output only. Name of the storage pool
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public StoragePool.Builder clearName()
         Output only. Name of the storage pool
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public StoragePool.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the storage pool
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getServiceLevelValue

        public int getServiceLevelValue()
         Required. Service level of the storage pool
         
        .google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceLevelValue in interface StoragePoolOrBuilder
        Returns:
        The enum numeric value on the wire for serviceLevel.
      • setServiceLevelValue

        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];
        Parameters:
        value - The enum numeric value on the wire for serviceLevel to set.
        Returns:
        This builder for chaining.
      • getServiceLevel

        public ServiceLevel getServiceLevel()
         Required. Service level of the storage pool
         
        .google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getServiceLevel in interface StoragePoolOrBuilder
        Returns:
        The serviceLevel.
      • setServiceLevel

        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];
        Parameters:
        value - The serviceLevel to set.
        Returns:
        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:
        This builder for chaining.
      • getCapacityGib

        public long getCapacityGib()
         Required. Capacity in GIB of the pool
         
        int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCapacityGib in interface StoragePoolOrBuilder
        Returns:
        The capacityGib.
      • setCapacityGib

        public StoragePool.Builder setCapacityGib​(long value)
         Required. Capacity in GIB of the pool
         
        int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The capacityGib to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        getVolumeCapacityGib in interface StoragePoolOrBuilder
        Returns:
        The volumeCapacityGib.
      • setVolumeCapacityGib

        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];
        Parameters:
        value - The volumeCapacityGib to set.
        Returns:
        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:
        This builder for chaining.
      • getVolumeCount

        public int getVolumeCount()
         Output only. Volume count of the storage pool
         
        int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVolumeCount in interface StoragePoolOrBuilder
        Returns:
        The volumeCount.
      • setVolumeCount

        public StoragePool.Builder setVolumeCount​(int value)
         Output only. Volume count of the storage pool
         
        int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The volumeCount to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        getStateValue in interface StoragePoolOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        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];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getState in interface StoragePoolOrBuilder
        Returns:
        The state.
      • setState

        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];
        Parameters:
        value - The state to set.
        Returns:
        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:
        This builder for chaining.
      • getStateDetails

        public String getStateDetails()
         Output only. State details of the storage pool
         
        string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetails in interface StoragePoolOrBuilder
        Returns:
        The stateDetails.
      • getStateDetailsBytes

        public com.google.protobuf.ByteString getStateDetailsBytes()
         Output only. State details of the storage pool
         
        string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetailsBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for stateDetails.
      • setStateDetails

        public StoragePool.Builder setStateDetails​(String value)
         Output only. State details of the storage pool
         
        string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateDetails to set.
        Returns:
        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:
        This builder for chaining.
      • setStateDetailsBytes

        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];
        Parameters:
        value - The bytes for stateDetails to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Create time of the storage pool
         
        .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface StoragePoolOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public 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];
        Specified by:
        getCreateTime in interface StoragePoolOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public 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];
      • setCreateTime

        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];
      • mergeCreateTime

        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];
      • 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];
      • getCreateTimeBuilder

        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];
      • getCreateTimeOrBuilder

        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];
        Specified by:
        getCreateTimeOrBuilder in interface StoragePoolOrBuilder
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the storage pool
         
        string description = 9;
        Specified by:
        getDescriptionBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public StoragePool.Builder setDescription​(String value)
         Description of the storage pool
         
        string description = 9;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public StoragePool.Builder clearDescription()
         Description of the storage pool
         
        string description = 9;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public StoragePool.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description of the storage pool
         
        string description = 9;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • removeLabels

        public StoragePool.Builder removeLabels​(String key)
         Labels as key value pairs
         
        map<string, string> labels = 10;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • 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) = { ... }
        Specified by:
        getNetwork in interface StoragePoolOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public 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) = { ... }
        Specified by:
        getNetworkBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for network.
      • setNetwork

        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) = { ... }
        Parameters:
        value - The network to set.
        Returns:
        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:
        This builder for chaining.
      • setNetworkBytes

        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) = { ... }
        Parameters:
        value - The bytes for network to set.
        Returns:
        This builder for chaining.
      • getActiveDirectory

        public String getActiveDirectory()
         Specifies the Active Directory to be used for creating a SMB volume.
         
        string active_directory = 12 [(.google.api.resource_reference) = { ... }
        Specified by:
        getActiveDirectory in interface StoragePoolOrBuilder
        Returns:
        The activeDirectory.
      • getActiveDirectoryBytes

        public 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) = { ... }
        Specified by:
        getActiveDirectoryBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for activeDirectory.
      • setActiveDirectory

        public 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) = { ... }
        Parameters:
        value - The activeDirectory to set.
        Returns:
        This builder for chaining.
      • clearActiveDirectory

        public StoragePool.Builder clearActiveDirectory()
         Specifies the Active Directory to be used for creating a SMB volume.
         
        string active_directory = 12 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setActiveDirectoryBytes

        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) = { ... }
        Parameters:
        value - The bytes for activeDirectory to set.
        Returns:
        This builder for chaining.
      • getKmsConfig

        public String getKmsConfig()
         Specifies the KMS config to be used for volume encryption.
         
        string kms_config = 13 [(.google.api.resource_reference) = { ... }
        Specified by:
        getKmsConfig in interface StoragePoolOrBuilder
        Returns:
        The kmsConfig.
      • getKmsConfigBytes

        public com.google.protobuf.ByteString getKmsConfigBytes()
         Specifies the KMS config to be used for volume encryption.
         
        string kms_config = 13 [(.google.api.resource_reference) = { ... }
        Specified by:
        getKmsConfigBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for kmsConfig.
      • setKmsConfig

        public StoragePool.Builder setKmsConfig​(String value)
         Specifies the KMS config to be used for volume encryption.
         
        string kms_config = 13 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The kmsConfig to set.
        Returns:
        This builder for chaining.
      • clearKmsConfig

        public StoragePool.Builder clearKmsConfig()
         Specifies the KMS config to be used for volume encryption.
         
        string kms_config = 13 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setKmsConfigBytes

        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) = { ... }
        Parameters:
        value - The bytes for kmsConfig to set.
        Returns:
        This builder for chaining.
      • getLdapEnabled

        public boolean getLdapEnabled()
         Flag indicating if the pool is NFS LDAP enabled or not.
         
        bool ldap_enabled = 14;
        Specified by:
        getLdapEnabled in interface StoragePoolOrBuilder
        Returns:
        The ldapEnabled.
      • setLdapEnabled

        public StoragePool.Builder setLdapEnabled​(boolean value)
         Flag indicating if the pool is NFS LDAP enabled or not.
         
        bool ldap_enabled = 14;
        Parameters:
        value - The ldapEnabled to set.
        Returns:
        This builder for chaining.
      • clearLdapEnabled

        public StoragePool.Builder clearLdapEnabled()
         Flag indicating if the pool is NFS LDAP enabled or not.
         
        bool ldap_enabled = 14;
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getPsaRange in interface StoragePoolOrBuilder
        Returns:
        The psaRange.
      • getPsaRangeBytes

        public 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;
        Specified by:
        getPsaRangeBytes in interface StoragePoolOrBuilder
        Returns:
        The bytes for psaRange.
      • setPsaRange

        public 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;
        Parameters:
        value - The psaRange to set.
        Returns:
        This builder for chaining.
      • clearPsaRange

        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;
        Returns:
        This builder for chaining.
      • setPsaRangeBytes

        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;
        Parameters:
        value - The bytes for psaRange to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getEncryptionTypeValue in interface StoragePoolOrBuilder
        Returns:
        The enum numeric value on the wire for encryptionType.
      • setEncryptionTypeValue

        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];
        Parameters:
        value - The enum numeric value on the wire for encryptionType to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getEncryptionType in interface StoragePoolOrBuilder
        Returns:
        The encryptionType.
      • setEncryptionType

        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];
        Parameters:
        value - The encryptionType to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        hasGlobalAccessAllowed in interface StoragePoolOrBuilder
        Returns:
        Whether the globalAccessAllowed field is set.
      • 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];
        Specified by:
        getGlobalAccessAllowed in interface StoragePoolOrBuilder
        Returns:
        The globalAccessAllowed.
      • setGlobalAccessAllowed

        public StoragePool.Builder setGlobalAccessAllowed​(boolean value)
         Optional. Allows SO pool to access AD or DNS server from other regions.
         
        optional bool global_access_allowed = 17 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The globalAccessAllowed to set.
        Returns:
        This builder for chaining.
      • clearGlobalAccessAllowed

        public StoragePool.Builder clearGlobalAccessAllowed()
         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:
        This builder for chaining.
      • setUnknownFields

        public final StoragePool.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>
      • mergeUnknownFields

        public final StoragePool.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StoragePool.Builder>