Class ListKeysResponse (3.12.0)

public final class ListKeysResponse extends GeneratedMessageV3 implements ListKeysResponseOrBuilder

Response to request to list keys in a project.

Protobuf type google.cloud.recaptchaenterprise.v1.ListKeysResponse

Static Fields

KEYS_FIELD_NUMBER

public static final int KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListKeysResponse getDefaultInstance()
Returns
TypeDescription
ListKeysResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListKeysResponse prototype)

public static ListKeysResponse.Builder newBuilder(ListKeysResponse prototype)
Parameter
NameDescription
prototypeListKeysResponse
Returns
TypeDescription
ListKeysResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListKeysResponse

getKeys(int index)

public Key getKeys(int index)

Key details.

repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Key

getKeysCount()

public int getKeysCount()

Key details.

repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;

Returns
TypeDescription
int

getKeysList()

public List<Key> getKeysList()

Key details.

repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

public KeyOrBuilder getKeysOrBuilder(int index)

Key details.

repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getKeysOrBuilderList()

public List<? extends KeyOrBuilder> getKeysOrBuilderList()

Key details.

repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.KeyOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results. It is set to empty if no keys remain in results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results. It is set to empty if no keys remain in results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListKeysResponse.Builder newBuilderForType()
Returns
TypeDescription
ListKeysResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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