Class SecurityConfig.Builder (3.0.3) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.0.3keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SecurityConfig . Builder   extends   GeneratedMessageV3 . Builder<SecurityConfig . Builder >  implements   SecurityConfigOrBuilder  
   Security related configuration, including encryption, Kerberos, etc.
 Protobuf type google.cloud.dataproc.v1.SecurityConfig
Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   SecurityConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   SecurityConfig   build ()  
  Returns 
  
  buildPartial() 
  
    
public   SecurityConfig   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   SecurityConfig . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   SecurityConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearIdentityConfig() 
  
    
public   SecurityConfig . Builder   clearIdentityConfig ()  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  clearKerberosConfig() 
  
    
public   SecurityConfig . Builder   clearKerberosConfig ()  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   SecurityConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clone() 
  
    
public   SecurityConfig . Builder   clone ()  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   SecurityConfig   getDefaultInstanceForType ()  
  Returns 
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  getIdentityConfig() 
  
    
public   IdentityConfig   getIdentityConfig ()  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getIdentityConfigBuilder() 
  
    
public   IdentityConfig . Builder   getIdentityConfigBuilder ()  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getIdentityConfigOrBuilder() 
  
    
public   IdentityConfigOrBuilder   getIdentityConfigOrBuilder ()  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getKerberosConfig() 
  
    
public   KerberosConfig   getKerberosConfig ()  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getKerberosConfigBuilder() 
  
    
public   KerberosConfig . Builder   getKerberosConfigBuilder ()  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  getKerberosConfigOrBuilder() 
  
    
public   KerberosConfigOrBuilder   getKerberosConfigOrBuilder ()  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
  hasIdentityConfig() 
  
    
public   boolean   hasIdentityConfig ()  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
    
      
        Type Description  
      
        boolean Whether the identityConfig field is set.
 
     
  
  hasKerberosConfig() 
  
    
public   boolean   hasKerberosConfig ()  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Returns 
  
    
      
        Type Description  
      
        boolean Whether the kerberosConfig field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  mergeFrom(SecurityConfig other) 
  
    
public   SecurityConfig . Builder   mergeFrom ( SecurityConfig   other )  
  Parameter 
  
  Returns 
  
  
    
public   SecurityConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   SecurityConfig . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeIdentityConfig(IdentityConfig value) 
  
    
public   SecurityConfig . Builder   mergeIdentityConfig ( IdentityConfig   value )  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  mergeKerberosConfig(KerberosConfig value) 
  
    
public   SecurityConfig . Builder   mergeKerberosConfig ( KerberosConfig   value )  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SecurityConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   SecurityConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setIdentityConfig(IdentityConfig value) 
  
    
public   SecurityConfig . Builder   setIdentityConfig ( IdentityConfig   value )  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  setIdentityConfig(IdentityConfig.Builder builderForValue) 
  
    
public   SecurityConfig . Builder   setIdentityConfig ( IdentityConfig . Builder   builderForValue )  
   Optional. Identity related configuration, including service account based
 secure multi-tenancy user mappings.
 
 .google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  setKerberosConfig(KerberosConfig value) 
  
    
public   SecurityConfig . Builder   setKerberosConfig ( KerberosConfig   value )  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  setKerberosConfig(KerberosConfig.Builder builderForValue) 
  
    
public   SecurityConfig . Builder   setKerberosConfig ( KerberosConfig . Builder   builderForValue )  
   Optional. Kerberos related configuration.
 
 .google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
 
Parameter 
  
  Returns 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   SecurityConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SecurityConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  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-28 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-28 UTC."],[],[]]