Class ScanConfig.Authentication.GoogleAccount.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.Builder>
com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount.Builder
All Implemented Interfaces:
ScanConfig.Authentication.GoogleAccountOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ScanConfig.Authentication.GoogleAccount

public static final class ScanConfig.Authentication.GoogleAccount.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.Builder> implements ScanConfig.Authentication.GoogleAccountOrBuilder
 Describes authentication configuration that uses a Google account.
 
Protobuf type google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.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.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.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.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ScanConfig.Authentication.GoogleAccount.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<ScanConfig.Authentication.GoogleAccount.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.GoogleAccount.Builder>
    • mergeFrom

      public ScanConfig.Authentication.GoogleAccount.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<ScanConfig.Authentication.GoogleAccount.Builder>
      Throws:
      IOException
    • getUsername

      public String getUsername()
       Required. The user name of the Google account.
       
      string username = 1;
      Specified by:
      getUsername in interface ScanConfig.Authentication.GoogleAccountOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
       Required. The user name of the Google account.
       
      string username = 1;
      Specified by:
      getUsernameBytes in interface ScanConfig.Authentication.GoogleAccountOrBuilder
      Returns:
      The bytes for username.
    • setUsername

       Required. The user name of the Google account.
       
      string username = 1;
      Parameters:
      value - The username to set.
      Returns:
      This builder for chaining.
    • clearUsername

       Required. The user name of the Google account.
       
      string username = 1;
      Returns:
      This builder for chaining.
    • setUsernameBytes

      public ScanConfig.Authentication.GoogleAccount.Builder setUsernameBytes(com.google.protobuf.ByteString value)
       Required. The user name of the Google account.
       
      string username = 1;
      Parameters:
      value - The bytes for username to set.
      Returns:
      This builder for chaining.
    • getPassword

      public String getPassword()
       Required. Input only. The password of the Google account. The credential is stored encrypted
       and not returned in any response nor included in audit logs.
       
      string password = 2;
      Specified by:
      getPassword in interface ScanConfig.Authentication.GoogleAccountOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      public com.google.protobuf.ByteString getPasswordBytes()
       Required. Input only. The password of the Google account. The credential is stored encrypted
       and not returned in any response nor included in audit logs.
       
      string password = 2;
      Specified by:
      getPasswordBytes in interface ScanConfig.Authentication.GoogleAccountOrBuilder
      Returns:
      The bytes for password.
    • setPassword

       Required. Input only. The password of the Google account. The credential is stored encrypted
       and not returned in any response nor included in audit logs.
       
      string password = 2;
      Parameters:
      value - The password to set.
      Returns:
      This builder for chaining.
    • clearPassword

       Required. Input only. The password of the Google account. The credential is stored encrypted
       and not returned in any response nor included in audit logs.
       
      string password = 2;
      Returns:
      This builder for chaining.
    • setPasswordBytes

      public ScanConfig.Authentication.GoogleAccount.Builder setPasswordBytes(com.google.protobuf.ByteString value)
       Required. Input only. The password of the Google account. The credential is stored encrypted
       and not returned in any response nor included in audit logs.
       
      string password = 2;
      Parameters:
      value - The bytes for password to set.
      Returns:
      This builder for chaining.