Class ScanConfig.Authentication.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
- com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.Builder
-
- All Implemented Interfaces:
ScanConfig.AuthenticationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ScanConfig.Authentication
public static final class ScanConfig.Authentication.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder> implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf typegoogle.cloud.websecurityscanner.v1.ScanConfig.Authentication
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
clear
public ScanConfig.Authentication.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
getDefaultInstanceForType
public ScanConfig.Authentication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScanConfig.Authentication build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScanConfig.Authentication buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScanConfig.Authentication.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
setField
public ScanConfig.Authentication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
clearField
public ScanConfig.Authentication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
clearOneof
public ScanConfig.Authentication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
setRepeatedField
public ScanConfig.Authentication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
addRepeatedField
public ScanConfig.Authentication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
mergeFrom
public ScanConfig.Authentication.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScanConfig.Authentication.Builder>
-
mergeFrom
public ScanConfig.Authentication.Builder mergeFrom(ScanConfig.Authentication other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
mergeFrom
public ScanConfig.Authentication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScanConfig.Authentication.Builder>
- Throws:
IOException
-
getAuthenticationCase
public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
- Specified by:
getAuthenticationCase
in interfaceScanConfig.AuthenticationOrBuilder
-
clearAuthentication
public ScanConfig.Authentication.Builder clearAuthentication()
-
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=80Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
- Specified by:
hasGoogleAccount
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- Whether the googleAccount field is set.
-
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=80Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
- Specified by:
getGoogleAccount
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- The googleAccount.
-
setGoogleAccount
@Deprecated public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
-
setGoogleAccount
@Deprecated public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue)
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
-
mergeGoogleAccount
@Deprecated public ScanConfig.Authentication.Builder mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value)
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
-
clearGoogleAccount
@Deprecated public ScanConfig.Authentication.Builder clearGoogleAccount()
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
-
getGoogleAccountBuilder
@Deprecated public ScanConfig.Authentication.GoogleAccount.Builder getGoogleAccountBuilder()
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
-
getGoogleAccountOrBuilder
@Deprecated public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()
Deprecated.Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
- Specified by:
getGoogleAccountOrBuilder
in interfaceScanConfig.AuthenticationOrBuilder
-
hasCustomAccount
public boolean hasCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
- Specified by:
hasCustomAccount
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- Whether the customAccount field is set.
-
getCustomAccount
public ScanConfig.Authentication.CustomAccount getCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
- Specified by:
getCustomAccount
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- The customAccount.
-
setCustomAccount
public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount value)
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
-
setCustomAccount
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;
-
mergeCustomAccount
public ScanConfig.Authentication.Builder mergeCustomAccount(ScanConfig.Authentication.CustomAccount value)
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
-
clearCustomAccount
public ScanConfig.Authentication.Builder clearCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
-
getCustomAccountBuilder
public ScanConfig.Authentication.CustomAccount.Builder getCustomAccountBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
-
getCustomAccountOrBuilder
public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
- Specified by:
getCustomAccountOrBuilder
in interfaceScanConfig.AuthenticationOrBuilder
-
hasIapCredential
public boolean hasIapCredential()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
- Specified by:
hasIapCredential
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- Whether the iapCredential field is set.
-
getIapCredential
public ScanConfig.Authentication.IapCredential getIapCredential()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
- Specified by:
getIapCredential
in interfaceScanConfig.AuthenticationOrBuilder
- Returns:
- The iapCredential.
-
setIapCredential
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;
-
setIapCredential
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;
-
mergeIapCredential
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;
-
clearIapCredential
public ScanConfig.Authentication.Builder clearIapCredential()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
-
getIapCredentialBuilder
public ScanConfig.Authentication.IapCredential.Builder getIapCredentialBuilder()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
-
getIapCredentialOrBuilder
public ScanConfig.Authentication.IapCredentialOrBuilder getIapCredentialOrBuilder()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
- Specified by:
getIapCredentialOrBuilder
in interfaceScanConfig.AuthenticationOrBuilder
-
setUnknownFields
public final ScanConfig.Authentication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
mergeUnknownFields
public final ScanConfig.Authentication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanConfig.Authentication.Builder>
-
-