public static final class ScanConfig.Authentication.Builder extends GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder> implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Authentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ScanConfig.Authentication build()
Returns
buildPartial()
public ScanConfig.Authentication buildPartial()
Returns
clear()
public ScanConfig.Authentication.Builder clear()
Returns
Overrides
clearAuthentication()
public ScanConfig.Authentication.Builder clearAuthentication()
Returns
clearCustomAccount()
public ScanConfig.Authentication.Builder clearCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ScanConfig.Authentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGoogleAccount()
public ScanConfig.Authentication.Builder clearGoogleAccount()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ScanConfig.Authentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ScanConfig.Authentication.Builder clone()
Returns
Overrides
getAuthenticationCase()
public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
Returns
getCustomAccount()
public ScanConfig.Authentication.CustomAccount getCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
getCustomAccountBuilder()
public ScanConfig.Authentication.CustomAccount.Builder getCustomAccountBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
getCustomAccountOrBuilder()
public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
getDefaultInstanceForType()
public ScanConfig.Authentication getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGoogleAccount()
public ScanConfig.Authentication.GoogleAccount getGoogleAccount()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
getGoogleAccountBuilder()
public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
getGoogleAccountOrBuilder()
public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
hasCustomAccount()
public boolean hasCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.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.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
Type | Description |
boolean | Whether the googleAccount field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomAccount(ScanConfig.Authentication.CustomAccount value)
public ScanConfig.Authentication.Builder mergeCustomAccount(ScanConfig.Authentication.CustomAccount value)
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Parameter
Returns
mergeFrom(ScanConfig.Authentication other)
public ScanConfig.Authentication.Builder mergeFrom(ScanConfig.Authentication other)
Parameter
Returns
public ScanConfig.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ScanConfig.Authentication.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
public ScanConfig.Authentication.Builder mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Authentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCustomAccount(ScanConfig.Authentication.CustomAccount value)
public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount value)
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Parameter
Returns
setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue)
public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue)
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Authentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Parameter
Returns
setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue)
public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue)
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScanConfig.Authentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Authentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides