Class ActiveDirectory.Builder

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

    public static final class ActiveDirectory.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ActiveDirectory.Builder>
    implements ActiveDirectoryOrBuilder
     ActiveDirectory is the public representation of the active directory config.
     
    Protobuf type google.cloud.netapp.v1.ActiveDirectory
    • 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<ActiveDirectory.Builder>
      • internalGetMutableMapField

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

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

        public ActiveDirectory.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<ActiveDirectory.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<ActiveDirectory.Builder>
      • getDefaultInstanceForType

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

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

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

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • setField

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • clearField

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • clearOneof

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • setRepeatedField

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • addRepeatedField

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • mergeFrom

        public ActiveDirectory.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<ActiveDirectory.Builder>
      • isInitialized

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

        public ActiveDirectory.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<ActiveDirectory.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The resource name of the active directory.
         Format:
         `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface ActiveDirectoryOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of the active directory.
         Format:
         `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ActiveDirectory.Builder setName​(String value)
         Output only. The resource name of the active directory.
         Format:
         `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ActiveDirectory.Builder clearName()
         Output only. The resource name of the active directory.
         Format:
         `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public ActiveDirectory.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the active directory.
         Format:
         `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

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

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ActiveDirectoryOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public ActiveDirectory.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public ActiveDirectory.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public ActiveDirectory.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public ActiveDirectory.Builder clearCreateTime()
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Create time of the active directory.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ActiveDirectoryOrBuilder
      • getStateValue

        public int getStateValue()
         Output only. The state of the AD.
         
        .google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface ActiveDirectoryOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public ActiveDirectory.Builder setStateValue​(int value)
         Output only. The state of the AD.
         
        .google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.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 ActiveDirectory.State getState()
         Output only. The state of the AD.
         
        .google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface ActiveDirectoryOrBuilder
        Returns:
        The state.
      • setState

        public ActiveDirectory.Builder setState​(ActiveDirectory.State value)
         Output only. The state of the AD.
         
        .google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public ActiveDirectory.Builder clearState()
         Output only. The state of the AD.
         
        .google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getDomain

        public String getDomain()
         Required. Name of the Active Directory domain
         
        string domain = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDomain in interface ActiveDirectoryOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Required. Name of the Active Directory domain
         
        string domain = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDomainBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public ActiveDirectory.Builder setDomain​(String value)
         Required. Name of the Active Directory domain
         
        string domain = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public ActiveDirectory.Builder clearDomain()
         Required. Name of the Active Directory domain
         
        string domain = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDomainBytes

        public ActiveDirectory.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Required. Name of the Active Directory domain
         
        string domain = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • getSite

        public String getSite()
         The Active Directory site the service will limit Domain Controller
         discovery too.
         
        string site = 5;
        Specified by:
        getSite in interface ActiveDirectoryOrBuilder
        Returns:
        The site.
      • getSiteBytes

        public com.google.protobuf.ByteString getSiteBytes()
         The Active Directory site the service will limit Domain Controller
         discovery too.
         
        string site = 5;
        Specified by:
        getSiteBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for site.
      • setSite

        public ActiveDirectory.Builder setSite​(String value)
         The Active Directory site the service will limit Domain Controller
         discovery too.
         
        string site = 5;
        Parameters:
        value - The site to set.
        Returns:
        This builder for chaining.
      • clearSite

        public ActiveDirectory.Builder clearSite()
         The Active Directory site the service will limit Domain Controller
         discovery too.
         
        string site = 5;
        Returns:
        This builder for chaining.
      • setSiteBytes

        public ActiveDirectory.Builder setSiteBytes​(com.google.protobuf.ByteString value)
         The Active Directory site the service will limit Domain Controller
         discovery too.
         
        string site = 5;
        Parameters:
        value - The bytes for site to set.
        Returns:
        This builder for chaining.
      • getDns

        public String getDns()
         Required. Comma separated list of DNS server IP addresses for the Active
         Directory domain.
         
        string dns = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDns in interface ActiveDirectoryOrBuilder
        Returns:
        The dns.
      • getDnsBytes

        public com.google.protobuf.ByteString getDnsBytes()
         Required. Comma separated list of DNS server IP addresses for the Active
         Directory domain.
         
        string dns = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDnsBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for dns.
      • setDns

        public ActiveDirectory.Builder setDns​(String value)
         Required. Comma separated list of DNS server IP addresses for the Active
         Directory domain.
         
        string dns = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dns to set.
        Returns:
        This builder for chaining.
      • clearDns

        public ActiveDirectory.Builder clearDns()
         Required. Comma separated list of DNS server IP addresses for the Active
         Directory domain.
         
        string dns = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDnsBytes

        public ActiveDirectory.Builder setDnsBytes​(com.google.protobuf.ByteString value)
         Required. Comma separated list of DNS server IP addresses for the Active
         Directory domain.
         
        string dns = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dns to set.
        Returns:
        This builder for chaining.
      • getNetBiosPrefix

        public String getNetBiosPrefix()
         Required. NetBIOSPrefix is used as a prefix for SMB server name.
         
        string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNetBiosPrefix in interface ActiveDirectoryOrBuilder
        Returns:
        The netBiosPrefix.
      • getNetBiosPrefixBytes

        public com.google.protobuf.ByteString getNetBiosPrefixBytes()
         Required. NetBIOSPrefix is used as a prefix for SMB server name.
         
        string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNetBiosPrefixBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for netBiosPrefix.
      • setNetBiosPrefix

        public ActiveDirectory.Builder setNetBiosPrefix​(String value)
         Required. NetBIOSPrefix is used as a prefix for SMB server name.
         
        string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The netBiosPrefix to set.
        Returns:
        This builder for chaining.
      • clearNetBiosPrefix

        public ActiveDirectory.Builder clearNetBiosPrefix()
         Required. NetBIOSPrefix is used as a prefix for SMB server name.
         
        string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNetBiosPrefixBytes

        public ActiveDirectory.Builder setNetBiosPrefixBytes​(com.google.protobuf.ByteString value)
         Required. NetBIOSPrefix is used as a prefix for SMB server name.
         
        string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for netBiosPrefix to set.
        Returns:
        This builder for chaining.
      • getOrganizationalUnit

        public String getOrganizationalUnit()
         The Organizational Unit (OU) within the Windows Active Directory the user
         belongs to.
         
        string organizational_unit = 8;
        Specified by:
        getOrganizationalUnit in interface ActiveDirectoryOrBuilder
        Returns:
        The organizationalUnit.
      • getOrganizationalUnitBytes

        public com.google.protobuf.ByteString getOrganizationalUnitBytes()
         The Organizational Unit (OU) within the Windows Active Directory the user
         belongs to.
         
        string organizational_unit = 8;
        Specified by:
        getOrganizationalUnitBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for organizationalUnit.
      • setOrganizationalUnit

        public ActiveDirectory.Builder setOrganizationalUnit​(String value)
         The Organizational Unit (OU) within the Windows Active Directory the user
         belongs to.
         
        string organizational_unit = 8;
        Parameters:
        value - The organizationalUnit to set.
        Returns:
        This builder for chaining.
      • clearOrganizationalUnit

        public ActiveDirectory.Builder clearOrganizationalUnit()
         The Organizational Unit (OU) within the Windows Active Directory the user
         belongs to.
         
        string organizational_unit = 8;
        Returns:
        This builder for chaining.
      • setOrganizationalUnitBytes

        public ActiveDirectory.Builder setOrganizationalUnitBytes​(com.google.protobuf.ByteString value)
         The Organizational Unit (OU) within the Windows Active Directory the user
         belongs to.
         
        string organizational_unit = 8;
        Parameters:
        value - The bytes for organizationalUnit to set.
        Returns:
        This builder for chaining.
      • getAesEncryption

        public boolean getAesEncryption()
         If enabled, AES encryption will be enabled for SMB communication.
         
        bool aes_encryption = 9;
        Specified by:
        getAesEncryption in interface ActiveDirectoryOrBuilder
        Returns:
        The aesEncryption.
      • setAesEncryption

        public ActiveDirectory.Builder setAesEncryption​(boolean value)
         If enabled, AES encryption will be enabled for SMB communication.
         
        bool aes_encryption = 9;
        Parameters:
        value - The aesEncryption to set.
        Returns:
        This builder for chaining.
      • clearAesEncryption

        public ActiveDirectory.Builder clearAesEncryption()
         If enabled, AES encryption will be enabled for SMB communication.
         
        bool aes_encryption = 9;
        Returns:
        This builder for chaining.
      • getUsername

        public String getUsername()
         Required. Username of the Active Directory domain administrator.
         
        string username = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUsername in interface ActiveDirectoryOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
         Required. Username of the Active Directory domain administrator.
         
        string username = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUsernameBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for username.
      • setUsername

        public ActiveDirectory.Builder setUsername​(String value)
         Required. Username of the Active Directory domain administrator.
         
        string username = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • clearUsername

        public ActiveDirectory.Builder clearUsername()
         Required. Username of the Active Directory domain administrator.
         
        string username = 10 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setUsernameBytes

        public ActiveDirectory.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
         Required. Username of the Active Directory domain administrator.
         
        string username = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • getPassword

        public String getPassword()
         Required. Password of the Active Directory domain administrator.
         
        string password = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPassword in interface ActiveDirectoryOrBuilder
        Returns:
        The password.
      • getPasswordBytes

        public com.google.protobuf.ByteString getPasswordBytes()
         Required. Password of the Active Directory domain administrator.
         
        string password = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPasswordBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for password.
      • setPassword

        public ActiveDirectory.Builder setPassword​(String value)
         Required. Password of the Active Directory domain administrator.
         
        string password = 11 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The password to set.
        Returns:
        This builder for chaining.
      • clearPassword

        public ActiveDirectory.Builder clearPassword()
         Required. Password of the Active Directory domain administrator.
         
        string password = 11 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPasswordBytes

        public ActiveDirectory.Builder setPasswordBytes​(com.google.protobuf.ByteString value)
         Required. Password of the Active Directory domain administrator.
         
        string password = 11 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for password to set.
        Returns:
        This builder for chaining.
      • getBackupOperatorsList

        public com.google.protobuf.ProtocolStringList getBackupOperatorsList()
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Specified by:
        getBackupOperatorsList in interface ActiveDirectoryOrBuilder
        Returns:
        A list containing the backupOperators.
      • getBackupOperatorsCount

        public int getBackupOperatorsCount()
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Specified by:
        getBackupOperatorsCount in interface ActiveDirectoryOrBuilder
        Returns:
        The count of backupOperators.
      • getBackupOperators

        public String getBackupOperators​(int index)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Specified by:
        getBackupOperators in interface ActiveDirectoryOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The backupOperators at the given index.
      • getBackupOperatorsBytes

        public com.google.protobuf.ByteString getBackupOperatorsBytes​(int index)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Specified by:
        getBackupOperatorsBytes in interface ActiveDirectoryOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the backupOperators at the given index.
      • setBackupOperators

        public ActiveDirectory.Builder setBackupOperators​(int index,
                                                          String value)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Parameters:
        index - The index to set the value at.
        value - The backupOperators to set.
        Returns:
        This builder for chaining.
      • addBackupOperators

        public ActiveDirectory.Builder addBackupOperators​(String value)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Parameters:
        value - The backupOperators to add.
        Returns:
        This builder for chaining.
      • addAllBackupOperators

        public ActiveDirectory.Builder addAllBackupOperators​(Iterable<String> values)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Parameters:
        values - The backupOperators to add.
        Returns:
        This builder for chaining.
      • clearBackupOperators

        public ActiveDirectory.Builder clearBackupOperators()
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Returns:
        This builder for chaining.
      • addBackupOperatorsBytes

        public ActiveDirectory.Builder addBackupOperatorsBytes​(com.google.protobuf.ByteString value)
         Users to be added to the Built-in Backup Operator active directory group.
         
        repeated string backup_operators = 12;
        Parameters:
        value - The bytes of the backupOperators to add.
        Returns:
        This builder for chaining.
      • getSecurityOperatorsList

        public com.google.protobuf.ProtocolStringList getSecurityOperatorsList()
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Specified by:
        getSecurityOperatorsList in interface ActiveDirectoryOrBuilder
        Returns:
        A list containing the securityOperators.
      • getSecurityOperatorsCount

        public int getSecurityOperatorsCount()
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Specified by:
        getSecurityOperatorsCount in interface ActiveDirectoryOrBuilder
        Returns:
        The count of securityOperators.
      • getSecurityOperators

        public String getSecurityOperators​(int index)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Specified by:
        getSecurityOperators in interface ActiveDirectoryOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The securityOperators at the given index.
      • getSecurityOperatorsBytes

        public com.google.protobuf.ByteString getSecurityOperatorsBytes​(int index)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Specified by:
        getSecurityOperatorsBytes in interface ActiveDirectoryOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the securityOperators at the given index.
      • setSecurityOperators

        public ActiveDirectory.Builder setSecurityOperators​(int index,
                                                            String value)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Parameters:
        index - The index to set the value at.
        value - The securityOperators to set.
        Returns:
        This builder for chaining.
      • addSecurityOperators

        public ActiveDirectory.Builder addSecurityOperators​(String value)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Parameters:
        value - The securityOperators to add.
        Returns:
        This builder for chaining.
      • addAllSecurityOperators

        public ActiveDirectory.Builder addAllSecurityOperators​(Iterable<String> values)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Parameters:
        values - The securityOperators to add.
        Returns:
        This builder for chaining.
      • clearSecurityOperators

        public ActiveDirectory.Builder clearSecurityOperators()
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Returns:
        This builder for chaining.
      • addSecurityOperatorsBytes

        public ActiveDirectory.Builder addSecurityOperatorsBytes​(com.google.protobuf.ByteString value)
         Domain users to be given the SeSecurityPrivilege.
         
        repeated string security_operators = 13;
        Parameters:
        value - The bytes of the securityOperators to add.
        Returns:
        This builder for chaining.
      • getKdcHostname

        public String getKdcHostname()
         Name of the active directory machine. This optional parameter is used only
         while creating kerberos volume
         
        string kdc_hostname = 14;
        Specified by:
        getKdcHostname in interface ActiveDirectoryOrBuilder
        Returns:
        The kdcHostname.
      • getKdcHostnameBytes

        public com.google.protobuf.ByteString getKdcHostnameBytes()
         Name of the active directory machine. This optional parameter is used only
         while creating kerberos volume
         
        string kdc_hostname = 14;
        Specified by:
        getKdcHostnameBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for kdcHostname.
      • setKdcHostname

        public ActiveDirectory.Builder setKdcHostname​(String value)
         Name of the active directory machine. This optional parameter is used only
         while creating kerberos volume
         
        string kdc_hostname = 14;
        Parameters:
        value - The kdcHostname to set.
        Returns:
        This builder for chaining.
      • clearKdcHostname

        public ActiveDirectory.Builder clearKdcHostname()
         Name of the active directory machine. This optional parameter is used only
         while creating kerberos volume
         
        string kdc_hostname = 14;
        Returns:
        This builder for chaining.
      • setKdcHostnameBytes

        public ActiveDirectory.Builder setKdcHostnameBytes​(com.google.protobuf.ByteString value)
         Name of the active directory machine. This optional parameter is used only
         while creating kerberos volume
         
        string kdc_hostname = 14;
        Parameters:
        value - The bytes for kdcHostname to set.
        Returns:
        This builder for chaining.
      • getKdcIp

        public String getKdcIp()
         KDC server IP address for the active directory machine.
         
        string kdc_ip = 15;
        Specified by:
        getKdcIp in interface ActiveDirectoryOrBuilder
        Returns:
        The kdcIp.
      • getKdcIpBytes

        public com.google.protobuf.ByteString getKdcIpBytes()
         KDC server IP address for the active directory machine.
         
        string kdc_ip = 15;
        Specified by:
        getKdcIpBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for kdcIp.
      • setKdcIp

        public ActiveDirectory.Builder setKdcIp​(String value)
         KDC server IP address for the active directory machine.
         
        string kdc_ip = 15;
        Parameters:
        value - The kdcIp to set.
        Returns:
        This builder for chaining.
      • clearKdcIp

        public ActiveDirectory.Builder clearKdcIp()
         KDC server IP address for the active directory machine.
         
        string kdc_ip = 15;
        Returns:
        This builder for chaining.
      • setKdcIpBytes

        public ActiveDirectory.Builder setKdcIpBytes​(com.google.protobuf.ByteString value)
         KDC server IP address for the active directory machine.
         
        string kdc_ip = 15;
        Parameters:
        value - The bytes for kdcIp to set.
        Returns:
        This builder for chaining.
      • getNfsUsersWithLdap

        public boolean getNfsUsersWithLdap()
         If enabled, will allow access to local users and LDAP users. If access is
         needed for only LDAP users, it has to be disabled.
         
        bool nfs_users_with_ldap = 16;
        Specified by:
        getNfsUsersWithLdap in interface ActiveDirectoryOrBuilder
        Returns:
        The nfsUsersWithLdap.
      • setNfsUsersWithLdap

        public ActiveDirectory.Builder setNfsUsersWithLdap​(boolean value)
         If enabled, will allow access to local users and LDAP users. If access is
         needed for only LDAP users, it has to be disabled.
         
        bool nfs_users_with_ldap = 16;
        Parameters:
        value - The nfsUsersWithLdap to set.
        Returns:
        This builder for chaining.
      • clearNfsUsersWithLdap

        public ActiveDirectory.Builder clearNfsUsersWithLdap()
         If enabled, will allow access to local users and LDAP users. If access is
         needed for only LDAP users, it has to be disabled.
         
        bool nfs_users_with_ldap = 16;
        Returns:
        This builder for chaining.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the active directory.
         
        string description = 17;
        Specified by:
        getDescriptionBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public ActiveDirectory.Builder setDescription​(String value)
         Description of the active directory.
         
        string description = 17;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public ActiveDirectory.Builder clearDescription()
         Description of the active directory.
         
        string description = 17;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public ActiveDirectory.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description of the active directory.
         
        string description = 17;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getLdapSigning

        public boolean getLdapSigning()
         Specifies whether or not the LDAP traffic needs to be signed.
         
        bool ldap_signing = 18;
        Specified by:
        getLdapSigning in interface ActiveDirectoryOrBuilder
        Returns:
        The ldapSigning.
      • setLdapSigning

        public ActiveDirectory.Builder setLdapSigning​(boolean value)
         Specifies whether or not the LDAP traffic needs to be signed.
         
        bool ldap_signing = 18;
        Parameters:
        value - The ldapSigning to set.
        Returns:
        This builder for chaining.
      • clearLdapSigning

        public ActiveDirectory.Builder clearLdapSigning()
         Specifies whether or not the LDAP traffic needs to be signed.
         
        bool ldap_signing = 18;
        Returns:
        This builder for chaining.
      • getEncryptDcConnections

        public boolean getEncryptDcConnections()
         If enabled, traffic between the SMB server to Domain Controller (DC) will
         be encrypted.
         
        bool encrypt_dc_connections = 19;
        Specified by:
        getEncryptDcConnections in interface ActiveDirectoryOrBuilder
        Returns:
        The encryptDcConnections.
      • setEncryptDcConnections

        public ActiveDirectory.Builder setEncryptDcConnections​(boolean value)
         If enabled, traffic between the SMB server to Domain Controller (DC) will
         be encrypted.
         
        bool encrypt_dc_connections = 19;
        Parameters:
        value - The encryptDcConnections to set.
        Returns:
        This builder for chaining.
      • clearEncryptDcConnections

        public ActiveDirectory.Builder clearEncryptDcConnections()
         If enabled, traffic between the SMB server to Domain Controller (DC) will
         be encrypted.
         
        bool encrypt_dc_connections = 19;
        Returns:
        This builder for chaining.
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • getStateDetails

        public String getStateDetails()
         Output only. The state details of the Active Directory.
         
        string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetails in interface ActiveDirectoryOrBuilder
        Returns:
        The stateDetails.
      • getStateDetailsBytes

        public com.google.protobuf.ByteString getStateDetailsBytes()
         Output only. The state details of the Active Directory.
         
        string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateDetailsBytes in interface ActiveDirectoryOrBuilder
        Returns:
        The bytes for stateDetails.
      • setStateDetails

        public ActiveDirectory.Builder setStateDetails​(String value)
         Output only. The state details of the Active Directory.
         
        string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateDetails to set.
        Returns:
        This builder for chaining.
      • clearStateDetails

        public ActiveDirectory.Builder clearStateDetails()
         Output only. The state details of the Active Directory.
         
        string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStateDetailsBytes

        public ActiveDirectory.Builder setStateDetailsBytes​(com.google.protobuf.ByteString value)
         Output only. The state details of the Active Directory.
         
        string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for stateDetails to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ActiveDirectory.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<ActiveDirectory.Builder>
      • mergeUnknownFields

        public final ActiveDirectory.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<ActiveDirectory.Builder>