public static final class ListKeysResponse.Builder extends GeneratedMessageV3.Builder<ListKeysResponse.Builder> implements ListKeysResponseOrBuilder
Response message for ListKeys
method.
Protobuf type google.api.apikeys.v2.ListKeysResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllKeys(Iterable<? extends Key> values)
public ListKeysResponse.Builder addAllKeys(Iterable<? extends Key> values)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.api.apikeys.v2.Key>
|
addKeys(Key value)
public ListKeysResponse.Builder addKeys(Key value)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
value |
Key
|
addKeys(Key.Builder builderForValue)
public ListKeysResponse.Builder addKeys(Key.Builder builderForValue)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
addKeys(int index, Key value)
public ListKeysResponse.Builder addKeys(int index, Key value)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Key
|
addKeys(int index, Key.Builder builderForValue)
public ListKeysResponse.Builder addKeys(int index, Key.Builder builderForValue)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
addKeysBuilder()
public Key.Builder addKeysBuilder()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
addKeysBuilder(int index)
public Key.Builder addKeysBuilder(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListKeysResponse build()
buildPartial()
public ListKeysResponse buildPartial()
clear()
public ListKeysResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeys()
public ListKeysResponse.Builder clearKeys()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
clearNextPageToken()
public ListKeysResponse.Builder clearNextPageToken()
The pagination token for the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListKeysResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListKeysResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKeys(int index)
public Key getKeys(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Key |
|
getKeysBuilder(int index)
public Key.Builder getKeysBuilder(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
index |
int
|
getKeysBuilderList()
public List<Key.Builder> getKeysBuilderList()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
getKeysCount()
public int getKeysCount()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Returns |
Type |
Description |
int |
|
getKeysList()
public List<Key> getKeysList()
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
getKeysOrBuilder(int index)
public KeyOrBuilder getKeysOrBuilder(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
index |
int
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListKeysResponse other)
public ListKeysResponse.Builder mergeFrom(ListKeysResponse other)
public ListKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListKeysResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeKeys(int index)
public ListKeysResponse.Builder removeKeys(int index)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKeys(int index, Key value)
public ListKeysResponse.Builder setKeys(int index, Key value)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Key
|
setKeys(int index, Key.Builder builderForValue)
public ListKeysResponse.Builder setKeys(int index, Key.Builder builderForValue)
A list of API keys.
repeated .google.api.apikeys.v2.Key keys = 1;
setNextPageToken(String value)
public ListKeysResponse.Builder setNextPageToken(String value)
The pagination token for the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListKeysResponse.Builder setNextPageTokenBytes(ByteString value)
The pagination token for the next page of results.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides