Class ManagedActiveDirectoryConfig.Builder (1.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ManagedActiveDirectoryConfig . Builder   extends   GeneratedMessageV3 . Builder<ManagedActiveDirectoryConfig . Builder >  implements   ManagedActiveDirectoryConfigOrBuilder  
   ManagedActiveDirectoryConfig contains all the parameters for connecting
 to Managed Service for Microsoft Active Directory (Managed Microsoft AD).
 Protobuf type google.cloud.filestore.v1beta1.ManagedActiveDirectoryConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ManagedActiveDirectoryConfig   build ()  
  
  buildPartial() 
  
    
public   ManagedActiveDirectoryConfig   buildPartial ()  
  
  clear() 
  
    
public   ManagedActiveDirectoryConfig . Builder   clear ()  
  
  Overrides 
  
  clearComputer() 
  
    
public   ManagedActiveDirectoryConfig . Builder   clearComputer ()  
   Required. The computer name is used as a prefix in the command to mount the
 remote target.
 For example: if the computer is my-computer, the mount command will
 look like: $mount -o vers=4.1,sec=krb5
 my-computer.filestore.<domain>:<share> <mount point>.
 string computer = 2 [(.google.api.field_behavior) = REQUIRED];
clearDomain() 
  
    
public   ManagedActiveDirectoryConfig . Builder   clearDomain ()  
   Required. The domain resource name, in the format
 projects/{project_id}/locations/global/domains/{domain}.
 
 string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ManagedActiveDirectoryConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ManagedActiveDirectoryConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ManagedActiveDirectoryConfig . Builder   clone ()  
  
  Overrides 
  
  getComputer() 
  
    
public   String   getComputer ()  
   Required. The computer name is used as a prefix in the command to mount the
 remote target.
 For example: if the computer is my-computer, the mount command will
 look like: $mount -o vers=4.1,sec=krb5
 my-computer.filestore.<domain>:<share> <mount point>.
 string computer = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The computer.
 
     
  
  getComputerBytes() 
  
    
public   ByteString   getComputerBytes ()  
   Required. The computer name is used as a prefix in the command to mount the
 remote target.
 For example: if the computer is my-computer, the mount command will
 look like: $mount -o vers=4.1,sec=krb5
 my-computer.filestore.<domain>:<share> <mount point>.
 string computer = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for computer.
 
     
  
  getDefaultInstanceForType() 
  
    
public   ManagedActiveDirectoryConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getDomain() 
  
    
public   String   getDomain ()  
   Required. The domain resource name, in the format
 projects/{project_id}/locations/global/domains/{domain}.
 
 string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The domain.
 
     
  
  getDomainBytes() 
  
    
public   ByteString   getDomainBytes ()  
   Required. The domain resource name, in the format
 projects/{project_id}/locations/global/domains/{domain}.
 
 string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for domain.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ManagedActiveDirectoryConfig other) 
  
    
public   ManagedActiveDirectoryConfig . Builder   mergeFrom ( ManagedActiveDirectoryConfig   other )  
  
  
  
    
public   ManagedActiveDirectoryConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ManagedActiveDirectoryConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ManagedActiveDirectoryConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setComputer(String value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setComputer ( String   value )  
   Required. The computer name is used as a prefix in the command to mount the
 remote target.
 For example: if the computer is my-computer, the mount command will
 look like: $mount -o vers=4.1,sec=krb5
 my-computer.filestore.<domain>:<share> <mount point>.
 string computer = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The computer to set.
 
     
  
  
  setComputerBytes(ByteString value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setComputerBytes ( ByteString   value )  
   Required. The computer name is used as a prefix in the command to mount the
 remote target.
 For example: if the computer is my-computer, the mount command will
 look like: $mount -o vers=4.1,sec=krb5
 my-computer.filestore.<domain>:<share> <mount point>.
 string computer = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for computer to set.
 
     
  
  
  setDomain(String value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setDomain ( String   value )  
   Required. The domain resource name, in the format
 projects/{project_id}/locations/global/domains/{domain}.
 
 string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        valueString The domain to set.
 
     
  
  
  setDomainBytes(ByteString value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setDomainBytes ( ByteString   value )  
   Required. The domain resource name, in the format
 projects/{project_id}/locations/global/domains/{domain}.
 
 string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for domain to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ManagedActiveDirectoryConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ManagedActiveDirectoryConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]