public static final class ScanConfig.Authentication extends GeneratedMessageV3 implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf type google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication
Static Fields
CUSTOM_ACCOUNT_FIELD_NUMBER
public static final int CUSTOM_ACCOUNT_FIELD_NUMBER
Field Value
GOOGLE_ACCOUNT_FIELD_NUMBER
public static final int GOOGLE_ACCOUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ScanConfig.Authentication getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ScanConfig.Authentication.Builder newBuilder()
Returns
newBuilder(ScanConfig.Authentication prototype)
public static ScanConfig.Authentication.Builder newBuilder(ScanConfig.Authentication prototype)
Parameter
Returns
public static ScanConfig.Authentication parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Authentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScanConfig.Authentication parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScanConfig.Authentication parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanConfig.Authentication parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Authentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanConfig.Authentication parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Authentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScanConfig.Authentication parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScanConfig.Authentication> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthenticationCase()
public ScanConfig.Authentication.AuthenticationCase getAuthenticationCase()
Returns
getCustomAccount()
public ScanConfig.Authentication.CustomAccount getCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
getCustomAccountOrBuilder()
public ScanConfig.Authentication.CustomAccountOrBuilder getCustomAccountOrBuilder()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns
getDefaultInstanceForType()
public ScanConfig.Authentication getDefaultInstanceForType()
Returns
getGoogleAccount()
public ScanConfig.Authentication.GoogleAccount getGoogleAccount()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
getGoogleAccountOrBuilder()
public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
getParserForType()
public Parser<ScanConfig.Authentication> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCustomAccount()
public boolean hasCustomAccount()
Authentication using a custom account.
.google.cloud.websecurityscanner.v1alpha.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.v1alpha.ScanConfig.Authentication.GoogleAccount google_account = 1;
Returns
Type | Description |
boolean | Whether the googleAccount field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ScanConfig.Authentication.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanConfig.Authentication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ScanConfig.Authentication.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions