Class ScanConfig.Authentication.Builder (2.48.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.v1alpha.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.v1alpha.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()

public ScanConfig.Authentication.Builder clearGoogleAccount()

Authentication using a Google account.

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

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.v1alpha.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.v1alpha.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.v1alpha.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()

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.

getGoogleAccountBuilder()

public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()

Authentication using a Google account.

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

Returns
Type Description
ScanConfig.Authentication.GoogleAccount.Builder

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

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.

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.v1alpha.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)

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

Authentication using a Google account.

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

Parameter
Name Description
value ScanConfig.Authentication.GoogleAccount
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.v1alpha.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.v1alpha.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)

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

Authentication using a Google account.

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

Parameter
Name Description
value ScanConfig.Authentication.GoogleAccount
Returns
Type Description
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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

Parameter
Name Description
builderForValue ScanConfig.Authentication.GoogleAccount.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