Class ListKeysResponse (0.26.0)

public final class ListKeysResponse extends GeneratedMessageV3 implements ListKeysResponseOrBuilder

Response message for ListKeys method.

Protobuf type google.api.apikeys.v2.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)

A list of API keys.

repeated .google.api.apikeys.v2.Key keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Key

getKeysCount()

public int getKeysCount()

A list of API keys.

repeated .google.api.apikeys.v2.Key keys = 1;

Returns
TypeDescription
int

getKeysList()

public List<Key> getKeysList()

A list of API keys.

repeated .google.api.apikeys.v2.Key keys = 1;

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

public KeyOrBuilder getKeysOrBuilder(int index)

A list of API keys.

repeated .google.api.apikeys.v2.Key keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getKeysOrBuilderList()

public List<? extends KeyOrBuilder> getKeysOrBuilderList()

A list of API keys.

repeated .google.api.apikeys.v2.Key keys = 1;

Returns
TypeDescription
List<? extends com.google.api.apikeys.v2.KeyOrBuilder>

getNextPageToken()

public String getNextPageToken()

The pagination token for the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token for the next page of 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

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