Class ScanConfig.Authentication.Builder (2.53.0)

public static final class ScanConfig.Authentication.Builder extends GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder> implements ScanConfig.AuthenticationOrBuilder

Scan authentication configuration.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScanConfig.Authentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ScanConfig.Authentication.Builder clear()
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

clearAuthentication()

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

clearCustomAccount()

public ScanConfig.Authentication.Builder clearCustomAccount()

Authentication using a custom account.

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

Returns
Type Description
ScanConfig.Authentication.Builder

clearField(Descriptors.FieldDescriptor field)

public ScanConfig.Authentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

clearGoogleAccount() (deprecated)

public ScanConfig.Authentication.Builder clearGoogleAccount()

Authentication using a Google account.

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

Returns
Type Description
ScanConfig.Authentication.Builder

clearIapCredential()

public ScanConfig.Authentication.Builder clearIapCredential()

Authentication using Identity-Aware-Proxy (IAP).

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

Returns
Type Description
ScanConfig.Authentication.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ScanConfig.Authentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

clone()

public ScanConfig.Authentication.Builder clone()
Returns
Type Description
ScanConfig.Authentication.Builder
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.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;

Returns
Type Description
ScanConfig.Authentication.CustomAccount

The customAccount.

getCustomAccountBuilder()

public ScanConfig.Authentication.CustomAccount.Builder getCustomAccountBuilder()

Authentication using a custom account.

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

Returns
Type Description
ScanConfig.Authentication.CustomAccount.Builder

getCustomAccountOrBuilder()

public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()

Authentication using a custom account.

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

Returns
Type Description
ScanConfig.Authentication.CustomAccountOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
ScanConfig.Authentication.GoogleAccount

The googleAccount.

getGoogleAccountBuilder() (deprecated)

public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()

Authentication using a Google account.

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

Returns
Type Description
ScanConfig.Authentication.GoogleAccount.Builder

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
Type Description
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
Type Description
ScanConfig.Authentication.IapCredential

The iapCredential.

getIapCredentialBuilder()

public ScanConfig.Authentication.IapCredential.Builder getIapCredentialBuilder()

Authentication using Identity-Aware-Proxy (IAP).

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

Returns
Type Description
ScanConfig.Authentication.IapCredential.Builder

getIapCredentialOrBuilder()

public ScanConfig.Authentication.IapCredentialOrBuilder getIapCredentialOrBuilder()

Authentication using Identity-Aware-Proxy (IAP).

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

Returns
Type Description
ScanConfig.Authentication.IapCredentialOrBuilder

hasCustomAccount()

public boolean hasCustomAccount()

Authentication using a custom account.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the iapCredential field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomAccount(ScanConfig.Authentication.CustomAccount value)

public ScanConfig.Authentication.Builder mergeCustomAccount(ScanConfig.Authentication.CustomAccount value)

Authentication using a custom account.

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

Parameter
Name Description
value ScanConfig.Authentication.CustomAccount
Returns
Type Description
ScanConfig.Authentication.Builder

mergeFrom(ScanConfig.Authentication other)

public ScanConfig.Authentication.Builder mergeFrom(ScanConfig.Authentication other)
Parameter
Name Description
other ScanConfig.Authentication
Returns
Type Description
ScanConfig.Authentication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScanConfig.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScanConfig.Authentication.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value) (deprecated)

public ScanConfig.Authentication.Builder mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value)

Authentication using a Google account.

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

Parameter
Name Description
value ScanConfig.Authentication.GoogleAccount
Returns
Type Description
ScanConfig.Authentication.Builder

mergeIapCredential(ScanConfig.Authentication.IapCredential value)

public ScanConfig.Authentication.Builder mergeIapCredential(ScanConfig.Authentication.IapCredential value)

Authentication using Identity-Aware-Proxy (IAP).

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

Parameter
Name Description
value ScanConfig.Authentication.IapCredential
Returns
Type Description
ScanConfig.Authentication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScanConfig.Authentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

setCustomAccount(ScanConfig.Authentication.CustomAccount value)

public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount value)

Authentication using a custom account.

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

Parameter
Name Description
value ScanConfig.Authentication.CustomAccount
Returns
Type Description
ScanConfig.Authentication.Builder

setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue)

public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue)

Authentication using a custom account.

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

Parameter
Name Description
builderForValue ScanConfig.Authentication.CustomAccount.Builder
Returns
Type Description
ScanConfig.Authentication.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ScanConfig.Authentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

setGoogleAccount(ScanConfig.Authentication.GoogleAccount value) (deprecated)

public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount value)

Authentication using a Google account.

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

Parameter
Name Description
value ScanConfig.Authentication.GoogleAccount
Returns
Type Description
ScanConfig.Authentication.Builder

setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue) (deprecated)

public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue)

Authentication using a Google account.

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

Parameter
Name Description
builderForValue ScanConfig.Authentication.GoogleAccount.Builder
Returns
Type Description
ScanConfig.Authentication.Builder

setIapCredential(ScanConfig.Authentication.IapCredential value)

public ScanConfig.Authentication.Builder setIapCredential(ScanConfig.Authentication.IapCredential value)

Authentication using Identity-Aware-Proxy (IAP).

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

Parameter
Name Description
value ScanConfig.Authentication.IapCredential
Returns
Type Description
ScanConfig.Authentication.Builder

setIapCredential(ScanConfig.Authentication.IapCredential.Builder builderForValue)

public ScanConfig.Authentication.Builder setIapCredential(ScanConfig.Authentication.IapCredential.Builder builderForValue)

Authentication using Identity-Aware-Proxy (IAP).

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

Parameter
Name Description
builderForValue ScanConfig.Authentication.IapCredential.Builder
Returns
Type Description
ScanConfig.Authentication.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScanConfig.Authentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScanConfig.Authentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScanConfig.Authentication.Builder
Overrides