Class ScanConfig.Authentication.GoogleAccount (2.30.0)

public static final class ScanConfig.Authentication.GoogleAccount extends GeneratedMessageV3 implements ScanConfig.Authentication.GoogleAccountOrBuilder

Describes authentication configuration that uses a Google account.

Protobuf type google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ScanConfig.Authentication.GoogleAccount

Static Fields

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScanConfig.Authentication.GoogleAccount getDefaultInstance()
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ScanConfig.Authentication.GoogleAccount.Builder newBuilder()
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder

newBuilder(ScanConfig.Authentication.GoogleAccount prototype)

public static ScanConfig.Authentication.GoogleAccount.Builder newBuilder(ScanConfig.Authentication.GoogleAccount prototype)
Parameter
NameDescription
prototypeScanConfig.Authentication.GoogleAccount
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder

parseDelimitedFrom(InputStream input)

public static ScanConfig.Authentication.GoogleAccount parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ScanConfig.Authentication.GoogleAccount parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ScanConfig.Authentication.GoogleAccount parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ScanConfig.Authentication.GoogleAccount parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ScanConfig.Authentication.GoogleAccount parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ScanConfig.Authentication.GoogleAccount parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication.GoogleAccount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ScanConfig.Authentication.GoogleAccount> parser()
Returns
TypeDescription
Parser<GoogleAccount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ScanConfig.Authentication.GoogleAccount getDefaultInstanceForType()
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount

getParserForType()

public Parser<ScanConfig.Authentication.GoogleAccount> getParserForType()
Returns
TypeDescription
Parser<GoogleAccount>
Overrides

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;

Returns
TypeDescription
String

The password.

getPasswordBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for password.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUsername()

public String getUsername()

Required. The user name of the Google account.

string username = 1;

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. The user name of the Google account.

string username = 1;

Returns
TypeDescription
ByteString

The bytes for username.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ScanConfig.Authentication.GoogleAccount.Builder newBuilderForType()
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ScanConfig.Authentication.GoogleAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ScanConfig.Authentication.GoogleAccount.Builder toBuilder()
Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException