Send feedback
Class ListKeysResponse.Builder (3.0.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.1 keyboard_arrow_down
public static final class ListKeysResponse . Builder extends GeneratedMessageV3 . Builder<ListKeysResponse . Builder > implements ListKeysResponseOrBuilder
Response to request to list keys in a project.
Protobuf type google.cloud.recaptchaenterprise.v1.ListKeysResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllKeys(Iterable<? extends Key> values)
public ListKeysResponse . Builder addAllKeys ( Iterable <? extends Key > values )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Name Description values Iterable <? extends com.google.recaptchaenterprise.v1.Key >
Returns
addKeys(Key value)
public ListKeysResponse . Builder addKeys ( Key value )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
addKeys(Key.Builder builderForValue)
public ListKeysResponse . Builder addKeys ( Key . Builder builderForValue )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
addKeys(int index, Key value)
public ListKeysResponse . Builder addKeys ( int index , Key value )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameters
Name Description index int
value Key
Returns
addKeys(int index, Key.Builder builderForValue)
public ListKeysResponse . Builder addKeys ( int index , Key . Builder builderForValue )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameters
Returns
addKeysBuilder()
public Key . Builder addKeysBuilder ()
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Returns
addKeysBuilder(int index)
public Key . Builder addKeysBuilder ( int index )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKeysResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListKeysResponse build ()
Returns
buildPartial()
public ListKeysResponse buildPartial ()
Returns
clear()
public ListKeysResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKeysResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearKeys()
public ListKeysResponse . Builder clearKeys ()
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Returns
clearNextPageToken()
public ListKeysResponse . Builder clearNextPageToken ()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKeysResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListKeysResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListKeysResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getKeys(int index)
public Key getKeys ( int index )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
getKeysBuilder(int index)
public Key . Builder getKeysBuilder ( int index )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
getKeysBuilderList()
public List<Key . Builder > getKeysBuilderList ()
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Returns
getKeysCount()
public int getKeysCount ()
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Returns
getKeysList()
public List<Key> getKeysList ()
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Returns
getKeysOrBuilder(int index)
public KeyOrBuilder getKeysOrBuilder ( int index )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public ListKeysResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListKeysResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(ListKeysResponse other)
public ListKeysResponse . Builder mergeFrom ( ListKeysResponse other )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKeysResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeKeys(int index)
public ListKeysResponse . Builder removeKeys ( int index )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListKeysResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setKeys(int index, Key value)
public ListKeysResponse . Builder setKeys ( int index , Key value )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameters
Name Description index int
value Key
Returns
setKeys(int index, Key.Builder builderForValue)
public ListKeysResponse . Builder setKeys ( int index , Key . Builder builderForValue )
Key details.
repeated .google.cloud.recaptchaenterprise.v1.Key keys = 1;
Parameters
Returns
setNextPageToken(String value)
public ListKeysResponse . Builder setNextPageToken ( String value )
Token to retrieve the next page of results. It is set to empty if no keys
remain in results.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListKeysResponse . Builder setNextPageTokenBytes ( ByteString value )
Token to retrieve the next page of results. It is set to empty if no keys
remain in results.
string next_page_token = 2;
Parameter
Name Description value ByteString
The bytes for nextPageToken to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKeysResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKeysResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]