public static final class ScanConfig.Authentication extends GeneratedMessageV3 implements ScanConfig.AuthenticationOrBuilder
Scan authentication configuration.
Protobuf type google.cloud.websecurityscanner.v1.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 | |
IAP_CREDENTIAL_FIELD_NUMBER
public static final int IAP_CREDENTIAL_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.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;
getDefaultInstanceForType()
public ScanConfig.Authentication getDefaultInstanceForType()
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=80
Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
getGoogleAccountOrBuilder()
public ScanConfig.Authentication.GoogleAccountOrBuilder getGoogleAccountOrBuilder()
Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
getIapCredential()
public ScanConfig.Authentication.IapCredential getIapCredential()
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;
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.v1.ScanConfig.Authentication.CustomAccount custom_account = 2;
Returns |
---|
Type | Description |
boolean | Whether the customAccount field is set.
|
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=80
Authentication using a Google account.
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount google_account = 1 [deprecated = true];
Returns |
---|
Type | Description |
boolean | Whether the googleAccount field is set.
|
hasIapCredential()
public boolean hasIapCredential()
Authentication using Identity-Aware-Proxy (IAP).
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
Returns |
---|
Type | Description |
boolean | Whether the iapCredential 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