Class ListKeysResponse (3.48.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
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListKeysResponse getDefaultInstance()
Returns
Type Description
ListKeysResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListKeysResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListKeysResponse

getKeys(int index)

public Key getKeys(int index)

Key details.

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

Parameter
Name Description
index int
Returns
Type Description
Key

getKeysCount()

public int getKeysCount()

Key details.

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

Returns
Type Description
int

getKeysList()

public List<Key> getKeysList()

Key details.

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

Returns
Type Description
List<Key>

getKeysOrBuilder(int index)

public KeyOrBuilder getKeysOrBuilder(int index)

Key details.

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

Parameter
Name Description
index int
Returns
Type Description
KeyOrBuilder

getKeysOrBuilderList()

public List<? extends KeyOrBuilder> getKeysOrBuilderList()

Key details.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListKeysResponse> getParserForType()
Returns
Type Description
Parser<ListKeysResponse>
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 ListKeysResponse.Builder newBuilderForType()
Returns
Type Description
ListKeysResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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