public static final class ScanConfig.Authentication extends GeneratedMessageV3 implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
Static Fields
CUSTOM_ACCOUNT_FIELD_NUMBER
public static final int CUSTOM_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GOOGLE_ACCOUNT_FIELD_NUMBER
public static final int GOOGLE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ScanConfig.Authentication getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ScanConfig.Authentication.Builder newBuilder()
newBuilder(ScanConfig.Authentication prototype)
public static ScanConfig.Authentication.Builder newBuilder(ScanConfig.Authentication prototype)
public static ScanConfig.Authentication parseDelimitedFrom(InputStream input)
public static ScanConfig.Authentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ScanConfig.Authentication parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ScanConfig.Authentication parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(CodedInputStream input)
public static ScanConfig.Authentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(InputStream input)
public static ScanConfig.Authentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ScanConfig.Authentication parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Authentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ScanConfig.Authentication> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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;
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()
getGoogleAccount()
public ScanConfig.Authentication.GoogleAccount getGoogleAccount()
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;
getParserForType()
public Parser<ScanConfig.Authentication> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ScanConfig.Authentication.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanConfig.Authentication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ScanConfig.Authentication.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides