Class ListKeysResponse.Builder (2.6.1)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.Key>
Returns
TypeDescription
ListKeysResponse.Builder

addKeys(Key value)

public ListKeysResponse.Builder addKeys(Key value)

Key details.

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

Parameter
NameDescription
valueKey
Returns
TypeDescription
ListKeysResponse.Builder

addKeys(Key.Builder builderForValue)

public ListKeysResponse.Builder addKeys(Key.Builder builderForValue)

Key details.

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

Parameter
NameDescription
builderForValueKey.Builder
Returns
TypeDescription
ListKeysResponse.Builder

addKeys(int index, Key value)

public ListKeysResponse.Builder addKeys(int index, Key value)

Key details.

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

Parameters
NameDescription
indexint
valueKey
Returns
TypeDescription
ListKeysResponse.Builder

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
NameDescription
indexint
builderForValueKey.Builder
Returns
TypeDescription
ListKeysResponse.Builder

addKeysBuilder()

public Key.Builder addKeysBuilder()

Key details.

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

Returns
TypeDescription
Key.Builder

addKeysBuilder(int index)

public Key.Builder addKeysBuilder(int index)

Key details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Key.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

build()

public ListKeysResponse build()
Returns
TypeDescription
ListKeysResponse

buildPartial()

public ListKeysResponse buildPartial()
Returns
TypeDescription
ListKeysResponse

clear()

public ListKeysResponse.Builder clear()
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

clearKeys()

public ListKeysResponse.Builder clearKeys()

Key details.

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

Returns
TypeDescription
ListKeysResponse.Builder

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
TypeDescription
ListKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

clone()

public ListKeysResponse.Builder clone()
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeys(int index)

public Key getKeys(int index)

Key details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Key

getKeysBuilder(int index)

public Key.Builder getKeysBuilder(int index)

Key details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Key.Builder

getKeysBuilderList()

public List<Key.Builder> getKeysBuilderList()

Key details.

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

Returns
TypeDescription
List<Builder>

getKeysCount()

public int getKeysCount()

Key details.

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

Returns
TypeDescription
int

getKeysList()

public List<Key> getKeysList()

Key details.

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

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

public KeyOrBuilder getKeysOrBuilder(int index)

Key details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getKeysOrBuilderList()

public List<? extends KeyOrBuilder> getKeysOrBuilderList()

Key details.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListKeysResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListKeysResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

mergeFrom(ListKeysResponse other)

public ListKeysResponse.Builder mergeFrom(ListKeysResponse other)
Parameter
NameDescription
otherListKeysResponse
Returns
TypeDescription
ListKeysResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

removeKeys(int index)

public ListKeysResponse.Builder removeKeys(int index)

Key details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListKeysResponse.Builder
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
NameDescription
indexint
valueKey
Returns
TypeDescription
ListKeysResponse.Builder

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
NameDescription
indexint
builderForValueKey.Builder
Returns
TypeDescription
ListKeysResponse.Builder

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListKeysResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListKeysResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListKeysResponse.Builder
Overrides