Class ScanConfig.Authentication.Builder (2.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.76.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ScanConfig . Authentication . Builder   extends   GeneratedMessageV3 . Builder<ScanConfig . Authentication . Builder >  implements   ScanConfig . AuthenticationOrBuilder  
   Scan authentication configuration.
 Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
    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   ScanConfig . Authentication . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ScanConfig . Authentication   build ()  
  
  buildPartial() 
  
    
public   ScanConfig . Authentication   buildPartial ()  
  
  clear() 
  
    
public   ScanConfig . Authentication . Builder   clear ()  
  
  Overrides 
  
  clearAuthentication() 
  
    
public   ScanConfig . Authentication . Builder   clearAuthentication ()  
  
  clearCustomAccount() 
  
    
public   ScanConfig . Authentication . Builder   clearCustomAccount ()  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ScanConfig . Authentication . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearGoogleAccount() 
  
    
public   ScanConfig . Authentication . Builder   clearGoogleAccount ()  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ScanConfig . Authentication . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ScanConfig . Authentication . Builder   clone ()  
  
  Overrides 
  
  getAuthenticationCase() 
  
    
public   ScanConfig . Authentication . AuthenticationCase   getAuthenticationCase ()  
  
  getCustomAccount() 
  
    
public   ScanConfig . Authentication . CustomAccount   getCustomAccount ()  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
getCustomAccountBuilder() 
  
    
public   ScanConfig . Authentication . CustomAccount . Builder   getCustomAccountBuilder ()  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
getCustomAccountOrBuilder() 
  
    
public   ScanConfig . Authentication . CustomAccountOrBuilder   getCustomAccountOrBuilder ()  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
getDefaultInstanceForType() 
  
    
public   ScanConfig . Authentication   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getGoogleAccount() 
  
    
public   ScanConfig . Authentication . GoogleAccount   getGoogleAccount ()  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
getGoogleAccountBuilder() 
  
    
public   ScanConfig . Authentication . GoogleAccount . Builder   getGoogleAccountBuilder ()  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
getGoogleAccountOrBuilder() 
  
    
public   ScanConfig . Authentication . GoogleAccountOrBuilder   getGoogleAccountOrBuilder ()  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
hasCustomAccount() 
  
    
public   boolean   hasCustomAccount ()  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the customAccount field is set.
 
     
  
  hasGoogleAccount() 
  
    
public   boolean   hasGoogleAccount ()  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the googleAccount field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeCustomAccount(ScanConfig.Authentication.CustomAccount value) 
  
    
public   ScanConfig . Authentication . Builder   mergeCustomAccount ( ScanConfig . Authentication . CustomAccount   value )  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
mergeFrom(ScanConfig.Authentication other) 
  
    
public   ScanConfig . Authentication . Builder   mergeFrom ( ScanConfig . Authentication   other )  
  
  
  
    
public   ScanConfig . Authentication . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ScanConfig . Authentication . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value) 
  
    
public   ScanConfig . Authentication . Builder   mergeGoogleAccount ( ScanConfig . Authentication . GoogleAccount   value )  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ScanConfig . Authentication . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCustomAccount(ScanConfig.Authentication.CustomAccount value) 
  
    
public   ScanConfig . Authentication . Builder   setCustomAccount ( ScanConfig . Authentication . CustomAccount   value )  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue) 
  
    
public   ScanConfig . Authentication . Builder   setCustomAccount ( ScanConfig . Authentication . CustomAccount . Builder   builderForValue )  
   Authentication using a custom account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
 
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ScanConfig . Authentication . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setGoogleAccount(ScanConfig.Authentication.GoogleAccount value) 
  
    
public   ScanConfig . Authentication . Builder   setGoogleAccount ( ScanConfig . Authentication . GoogleAccount   value )  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue) 
  
    
public   ScanConfig . Authentication . Builder   setGoogleAccount ( ScanConfig . Authentication . GoogleAccount . Builder   builderForValue )  
   Authentication using a Google account.
 
 .google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ScanConfig . Authentication . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ScanConfig . Authentication . 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."],[],[]]