Class ScanConfig.Authentication.Builder (2.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScanConfig.Authentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ScanConfig.Authentication.Builder clear()
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

clearAuthentication()

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

clearField(Descriptors.FieldDescriptor field)

public ScanConfig.Authentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

clearGoogleAccount()

public ScanConfig.Authentication.Builder clearGoogleAccount()

Authentication using a Google account.

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ScanConfig.Authentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

clone()

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

getCustomAccountBuilder()

public ScanConfig.Authentication.CustomAccount.Builder getCustomAccountBuilder()

Authentication using a custom account.

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

Returns
TypeDescription
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
TypeDescription
ScanConfig.Authentication.CustomAccountOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
ScanConfig.Authentication.GoogleAccount

The googleAccount.

getGoogleAccountBuilder()

public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()

Authentication using a Google account.

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

Returns
TypeDescription
ScanConfig.Authentication.GoogleAccount.Builder

getGoogleAccountOrBuilder()

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.

getIapCredentialBuilder()

public ScanConfig.Authentication.IapCredential.Builder getIapCredentialBuilder()

Authentication using Identity-Aware-Proxy (IAP).

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

Returns
TypeDescription
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
TypeDescription
ScanConfig.Authentication.IapCredentialOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueScanConfig.Authentication.CustomAccount
Returns
TypeDescription
ScanConfig.Authentication.Builder

mergeFrom(ScanConfig.Authentication other)

public ScanConfig.Authentication.Builder mergeFrom(ScanConfig.Authentication other)
Parameter
NameDescription
otherScanConfig.Authentication
Returns
TypeDescription
ScanConfig.Authentication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScanConfig.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ScanConfig.Authentication.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value)

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
NameDescription
valueScanConfig.Authentication.GoogleAccount
Returns
TypeDescription
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
NameDescription
valueScanConfig.Authentication.IapCredential
Returns
TypeDescription
ScanConfig.Authentication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScanConfig.Authentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueScanConfig.Authentication.CustomAccount
Returns
TypeDescription
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
NameDescription
builderForValueScanConfig.Authentication.CustomAccount.Builder
Returns
TypeDescription
ScanConfig.Authentication.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ScanConfig.Authentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

setGoogleAccount(ScanConfig.Authentication.GoogleAccount value)

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
NameDescription
valueScanConfig.Authentication.GoogleAccount
Returns
TypeDescription
ScanConfig.Authentication.Builder

setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue)

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
NameDescription
builderForValueScanConfig.Authentication.GoogleAccount.Builder
Returns
TypeDescription
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
NameDescription
valueScanConfig.Authentication.IapCredential
Returns
TypeDescription
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
NameDescription
builderForValueScanConfig.Authentication.IapCredential.Builder
Returns
TypeDescription
ScanConfig.Authentication.Builder

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

public ScanConfig.Authentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScanConfig.Authentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScanConfig.Authentication.Builder
Overrides