Class RetrieveLegacySecretKeyResponse (3.19.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RetrieveLegacySecretKeyResponse

Static Fields

LEGACY_SECRET_KEY_FIELD_NUMBER

public static final int LEGACY_SECRET_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RetrieveLegacySecretKeyResponse getDefaultInstance()
Returns
TypeDescription
RetrieveLegacySecretKeyResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RetrieveLegacySecretKeyResponse.Builder newBuilder()
Returns
TypeDescription
RetrieveLegacySecretKeyResponse.Builder

newBuilder(RetrieveLegacySecretKeyResponse prototype)

public static RetrieveLegacySecretKeyResponse.Builder newBuilder(RetrieveLegacySecretKeyResponse prototype)
Parameter
NameDescription
prototypeRetrieveLegacySecretKeyResponse
Returns
TypeDescription
RetrieveLegacySecretKeyResponse.Builder

parseDelimitedFrom(InputStream input)

public static RetrieveLegacySecretKeyResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RetrieveLegacySecretKeyResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetrieveLegacySecretKeyResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetrieveLegacySecretKeyResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RetrieveLegacySecretKeyResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RetrieveLegacySecretKeyResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetrieveLegacySecretKeyResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RetrieveLegacySecretKeyResponse> parser()
Returns
TypeDescription
Parser<RetrieveLegacySecretKeyResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RetrieveLegacySecretKeyResponse getDefaultInstanceForType()
Returns
TypeDescription
RetrieveLegacySecretKeyResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for legacySecretKey.

getParserForType()

public Parser<RetrieveLegacySecretKeyResponse> getParserForType()
Returns
TypeDescription
Parser<RetrieveLegacySecretKeyResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RetrieveLegacySecretKeyResponse.Builder newBuilderForType()
Returns
TypeDescription
RetrieveLegacySecretKeyResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RetrieveLegacySecretKeyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RetrieveLegacySecretKeyResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RetrieveLegacySecretKeyResponse.Builder toBuilder()
Returns
TypeDescription
RetrieveLegacySecretKeyResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException