Class ScanConfig.Authentication.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
com.google.cloud.websecurityscanner.v1alpha.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.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.Protobuf type
google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Authentication using a custom account.Authentication using a Google account.Authentication using a custom account.Authentication using a custom account.Authentication using a custom account.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAuthentication using a Google account.Authentication using a Google account.Authentication using a Google account.booleanAuthentication using a custom account.booleanAuthentication using a Google account.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAuthentication using a custom account.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Authentication using a Google account.Authentication using a custom account.setCustomAccount(ScanConfig.Authentication.CustomAccount.Builder builderForValue) Authentication using a custom account.Authentication using a Google account.setGoogleAccount(ScanConfig.Authentication.GoogleAccount.Builder builderForValue) Authentication using a Google account.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScanConfig.Authentication.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ScanConfig.Authentication.Builder>
-
mergeFrom
public ScanConfig.Authentication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScanConfig.Authentication.Builder>- Throws:
IOException
-
getAuthenticationCase
- Specified by:
getAuthenticationCasein interfaceScanConfig.AuthenticationOrBuilder
-
clearAuthentication
-
hasGoogleAccount
public boolean hasGoogleAccount()Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;- Specified by:
hasGoogleAccountin interfaceScanConfig.AuthenticationOrBuilder- Returns:
- Whether the googleAccount field is set.
-
getGoogleAccount
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;- Specified by:
getGoogleAccountin interfaceScanConfig.AuthenticationOrBuilder- Returns:
- The googleAccount.
-
setGoogleAccount
public ScanConfig.Authentication.Builder setGoogleAccount(ScanConfig.Authentication.GoogleAccount value) Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1; -
setGoogleAccount
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; -
mergeGoogleAccount
public ScanConfig.Authentication.Builder mergeGoogleAccount(ScanConfig.Authentication.GoogleAccount value) Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1; -
clearGoogleAccount
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1; -
getGoogleAccountBuilder
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1; -
getGoogleAccountOrBuilder
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;- Specified by:
getGoogleAccountOrBuilderin interfaceScanConfig.AuthenticationOrBuilder
-
hasCustomAccount
public boolean hasCustomAccount()Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;- Specified by:
hasCustomAccountin interfaceScanConfig.AuthenticationOrBuilder- Returns:
- Whether the customAccount field is set.
-
getCustomAccount
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;- Specified by:
getCustomAccountin interfaceScanConfig.AuthenticationOrBuilder- Returns:
- The customAccount.
-
setCustomAccount
public ScanConfig.Authentication.Builder setCustomAccount(ScanConfig.Authentication.CustomAccount value) Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.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.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2; -
mergeCustomAccount
public ScanConfig.Authentication.Builder mergeCustomAccount(ScanConfig.Authentication.CustomAccount value) Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2; -
clearCustomAccount
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2; -
getCustomAccountBuilder
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2; -
getCustomAccountOrBuilder
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;- Specified by:
getCustomAccountOrBuilderin interfaceScanConfig.AuthenticationOrBuilder
-