Class ScanConfig.Authentication.Builder (2.8.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
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.v1alpha.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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

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

public ScanConfig.Authentication.GoogleAccount getGoogleAccount()

Authentication using a Google account.

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

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

hasCustomAccount()

public boolean hasCustomAccount()

Authentication using a custom account.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the googleAccount 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.v1alpha.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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

Parameter
NameDescription
valueScanConfig.Authentication.GoogleAccount
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.v1alpha.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.v1alpha.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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;

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

Parameter
NameDescription
builderForValueScanConfig.Authentication.GoogleAccount.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