Class ScanConfig.Authentication (2.42.0)

public static final class ScanConfig.Authentication extends GeneratedMessageV3 implements ScanConfig.AuthenticationOrBuilder

Scan authentication configuration.

Protobuf type google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication

Static Fields

CUSTOM_ACCOUNT_FIELD_NUMBER

public static final int CUSTOM_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_ACCOUNT_FIELD_NUMBER

public static final int GOOGLE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScanConfig.Authentication getDefaultInstance()
Returns
Type Description
ScanConfig.Authentication

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ScanConfig.Authentication.Builder newBuilder()
Returns
Type Description
ScanConfig.Authentication.Builder

newBuilder(ScanConfig.Authentication prototype)

public static ScanConfig.Authentication.Builder newBuilder(ScanConfig.Authentication prototype)
Parameter
Name Description
prototype ScanConfig.Authentication
Returns
Type Description
ScanConfig.Authentication.Builder

parseDelimitedFrom(InputStream input)

public static ScanConfig.Authentication parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ScanConfig.Authentication parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ScanConfig.Authentication parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ScanConfig.Authentication parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ScanConfig.Authentication parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ScanConfig.Authentication parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ScanConfig.Authentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ScanConfig.Authentication> parser()
Returns
Type Description
Parser<Authentication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthenticationCase()

public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
Returns
Type Description
ScanConfig.Authentication.AuthenticationCase

getCustomAccount()

public ScanConfig.Authentication.CustomAccount getCustomAccount()

Authentication using a custom account.

.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;

Returns
Type Description
ScanConfig.Authentication.CustomAccount

The customAccount.

getCustomAccountOrBuilder()

public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()

Authentication using a custom account.

.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;

Returns
Type Description
ScanConfig.Authentication.CustomAccountOrBuilder

getDefaultInstanceForType()

public ScanConfig.Authentication getDefaultInstanceForType()
Returns
Type Description
ScanConfig.Authentication

getGoogleAccount()

public ScanConfig.Authentication.GoogleAccount getGoogleAccount()

Authentication using a Google account.

.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

Returns
Type Description
ScanConfig.Authentication.GoogleAccount

The googleAccount.

getGoogleAccountOrBuilder()

public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()

Authentication using a Google account.

.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

Returns
Type Description
ScanConfig.Authentication.GoogleAccountOrBuilder

getParserForType()

public Parser<ScanConfig.Authentication> getParserForType()
Returns
Type Description
Parser<Authentication>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomAccount()

public boolean hasCustomAccount()

Authentication using a custom account.

.google.cloud.websecurityscanner.v1alpha.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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

Returns
Type Description
boolean

Whether the googleAccount field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ScanConfig.Authentication.Builder newBuilderForType()
Returns
Type Description
ScanConfig.Authentication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ScanConfig.Authentication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ScanConfig.Authentication.Builder toBuilder()
Returns
Type Description
ScanConfig.Authentication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException