Class RetrieveLegacySecretKeyRequest (3.41.0)

public final class RetrieveLegacySecretKeyRequest extends GeneratedMessageV3 implements RetrieveLegacySecretKeyRequestOrBuilder

The retrieve legacy secret key request message.

Protobuf type google.cloud.recaptchaenterprise.v1.RetrieveLegacySecretKeyRequest

Inheritance

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

Static Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetrieveLegacySecretKeyRequest getDefaultInstance()
Returns
Type Description
RetrieveLegacySecretKeyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RetrieveLegacySecretKeyRequest.Builder newBuilder()
Returns
Type Description
RetrieveLegacySecretKeyRequest.Builder

newBuilder(RetrieveLegacySecretKeyRequest prototype)

public static RetrieveLegacySecretKeyRequest.Builder newBuilder(RetrieveLegacySecretKeyRequest prototype)
Parameter
Name Description
prototype RetrieveLegacySecretKeyRequest
Returns
Type Description
RetrieveLegacySecretKeyRequest.Builder

parseDelimitedFrom(InputStream input)

public static RetrieveLegacySecretKeyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RetrieveLegacySecretKeyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetrieveLegacySecretKeyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetrieveLegacySecretKeyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RetrieveLegacySecretKeyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RetrieveLegacySecretKeyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetrieveLegacySecretKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveLegacySecretKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RetrieveLegacySecretKeyRequest> parser()
Returns
Type Description
Parser<RetrieveLegacySecretKeyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RetrieveLegacySecretKeyRequest getDefaultInstanceForType()
Returns
Type Description
RetrieveLegacySecretKeyRequest

getKey()

public String getKey()

Required. The public key name linked to the requested secret key in the format projects/{project}/keys/{key}.

string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Required. The public key name linked to the requested secret key in the format projects/{project}/keys/{key}.

string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

public Parser<RetrieveLegacySecretKeyRequest> getParserForType()
Returns
Type Description
Parser<RetrieveLegacySecretKeyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RetrieveLegacySecretKeyRequest.Builder newBuilderForType()
Returns
Type Description
RetrieveLegacySecretKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RetrieveLegacySecretKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RetrieveLegacySecretKeyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RetrieveLegacySecretKeyRequest.Builder toBuilder()
Returns
Type Description
RetrieveLegacySecretKeyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException