Class ScanConfig.Authentication (2.33.0)

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

Scan authentication configuration.

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

Static Fields

CUSTOM_ACCOUNT_FIELD_NUMBER

public static final int CUSTOM_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_ACCOUNT_FIELD_NUMBER

public static final int GOOGLE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

IAP_CREDENTIAL_FIELD_NUMBER

public static final int IAP_CREDENTIAL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ScanConfig.Authentication prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthenticationCase()

public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
Returns
TypeDescription
ScanConfig.Authentication.AuthenticationCase

getCustomAccount()

public ScanConfig.Authentication.CustomAccount getCustomAccount()

Authentication using a custom account.

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

Returns
TypeDescription
ScanConfig.Authentication.CustomAccount

The customAccount.

getCustomAccountOrBuilder()

public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()

Authentication using a custom account.

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

Returns
TypeDescription
ScanConfig.Authentication.CustomAccountOrBuilder

getDefaultInstanceForType()

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

getGoogleAccount() (deprecated)

public ScanConfig.Authentication.GoogleAccount getGoogleAccount()

Deprecated. google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80

Authentication using a Google account.

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];

Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount

The googleAccount.

getGoogleAccountOrBuilder() (deprecated)

public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()

Authentication using a Google account.

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];

Returns
TypeDescription
ScanConfig.Authentication.GoogleAccountOrBuilder

getIapCredential()

public ScanConfig.Authentication.IapCredential getIapCredential()

Authentication using Identity-Aware-Proxy (IAP).

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;

Returns
TypeDescription
ScanConfig.Authentication.IapCredential

The iapCredential.

getIapCredentialOrBuilder()

public ScanConfig.Authentication.IapCredentialOrBuilder getIapCredentialOrBuilder()

Authentication using Identity-Aware-Proxy (IAP).

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;

Returns
TypeDescription
ScanConfig.Authentication.IapCredentialOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomAccount()

public boolean hasCustomAccount()

Authentication using a custom account.

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

Returns
TypeDescription
boolean

Whether the customAccount field is set.

hasGoogleAccount() (deprecated)

public boolean hasGoogleAccount()

Deprecated. google.cloud.websecurityscanner.v1.ScanConfig.Authentication.google_account is deprecated. See google/cloud/websecurityscanner/v1/scan_config.proto;l=80

Authentication using a Google account.

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];

Returns
TypeDescription
boolean

Whether the googleAccount field is set.

hasIapCredential()

public boolean hasIapCredential()

Authentication using Identity-Aware-Proxy (IAP).

.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;

Returns
TypeDescription
boolean

Whether the iapCredential field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
ScanConfig.Authentication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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