public static final class ScanConfig.Authentication.Builder extends GeneratedMessage.Builder<ScanConfig.Authentication.Builder> implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ScanConfig.Authentication build()
buildPartial()
public ScanConfig.Authentication buildPartial()
clear()
public ScanConfig.Authentication.Builder clear()
Overrides
clearAuthentication()
public ScanConfig.Authentication.Builder clearAuthentication()
clearCustomAccount()
public ScanConfig.Authentication.Builder clearCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
clearGoogleAccount()
public ScanConfig.Authentication.Builder clearGoogleAccount()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
getAuthenticationCase()
public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
getCustomAccount()
public ScanConfig.Authentication.CustomAccount getCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
getCustomAccountBuilder()
public ScanConfig.Authentication.CustomAccount.Builder getCustomAccountBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
getCustomAccountOrBuilder()
public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
getDefaultInstanceForType()
public ScanConfig.Authentication getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGoogleAccount()
public ScanConfig.Authentication.GoogleAccount getGoogleAccount()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
getGoogleAccountBuilder()
public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
getGoogleAccountOrBuilder()
public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount google_account = 1;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(ScanConfig.Authentication other)
public ScanConfig.Authentication.Builder mergeFrom(ScanConfig.Authentication other)
public ScanConfig.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScanConfig.Authentication.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
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;
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;
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;