public final class RetrieveLegacySecretKeyResponse extends GeneratedMessageV3 implements RetrieveLegacySecretKeyResponseOrBuilder
Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party
integration with legacy reCAPTCHA.
Protobuf type google.cloud.recaptchaenterprise.v1.RetrieveLegacySecretKeyResponse
Static Fields
LEGACY_SECRET_KEY_FIELD_NUMBER
public static final int LEGACY_SECRET_KEY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RetrieveLegacySecretKeyResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RetrieveLegacySecretKeyResponse.Builder newBuilder()
Returns
newBuilder(RetrieveLegacySecretKeyResponse prototype)
public static RetrieveLegacySecretKeyResponse.Builder newBuilder(RetrieveLegacySecretKeyResponse prototype)
Parameter
Returns
public static RetrieveLegacySecretKeyResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RetrieveLegacySecretKeyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RetrieveLegacySecretKeyResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RetrieveLegacySecretKeyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RetrieveLegacySecretKeyResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RetrieveLegacySecretKeyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RetrieveLegacySecretKeyResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RetrieveLegacySecretKeyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RetrieveLegacySecretKeyResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RetrieveLegacySecretKeyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RetrieveLegacySecretKeyResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RetrieveLegacySecretKeyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RetrieveLegacySecretKeyResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RetrieveLegacySecretKeyResponse getDefaultInstanceForType()
Returns
getLegacySecretKey()
public String getLegacySecretKey()
The secret key (also known as shared secret) authorizes communication
between your application backend and the reCAPTCHA Enterprise server to
create an assessment.
The secret key needs to be kept safe for security purposes.
string legacy_secret_key = 1;
Returns
Type | Description |
String | The legacySecretKey.
|
getLegacySecretKeyBytes()
public ByteString getLegacySecretKeyBytes()
The secret key (also known as shared secret) authorizes communication
between your application backend and the reCAPTCHA Enterprise server to
create an assessment.
The secret key needs to be kept safe for security purposes.
string legacy_secret_key = 1;
Returns
Type | Description |
ByteString | The bytes for legacySecretKey.
|
getParserForType()
public Parser<RetrieveLegacySecretKeyResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RetrieveLegacySecretKeyResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RetrieveLegacySecretKeyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RetrieveLegacySecretKeyResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions