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
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListKeysResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListKeysResponse.Builder newBuilder()
Returns
newBuilder(ListKeysResponse prototype)
public static ListKeysResponse.Builder newBuilder(ListKeysResponse prototype)
Parameter
Returns
public static ListKeysResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListKeysResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListKeysResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListKeysResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListKeysResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListKeysResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListKeysResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListKeysResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListKeysResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListKeysResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListKeysResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListKeysResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListKeysResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListKeysResponse getDefaultInstanceForType()
Returns
getKeys(int index)
public Key getKeys(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter
Returns
getKeysCount()
public int getKeysCount()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Returns
getKeysList()
public List<Key> getKeysList()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Returns
getKeysOrBuilder(int index)
public KeyOrBuilder getKeysOrBuilder(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter
Returns
getKeysOrBuilderList()
public List<? extends KeyOrBuilder> getKeysOrBuilderList()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Returns
Type | Description |
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
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The pagination token for the next page of results.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListKeysResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListKeysResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListKeysResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListKeysResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions