Class ListHmacKeysResponse.Builder (2.12.0)

public static final class ListHmacKeysResponse.Builder extends GeneratedMessageV3.Builder<ListHmacKeysResponse.Builder> implements ListHmacKeysResponseOrBuilder

Hmac key list response with next page information.

Protobuf type google.storage.v2.ListHmacKeysResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllHmacKeys(Iterable<? extends HmacKeyMetadata> values)

public ListHmacKeysResponse.Builder addAllHmacKeys(Iterable<? extends HmacKeyMetadata> values)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
values Iterable<? extends com.google.storage.v2.HmacKeyMetadata>
Returns
Type Description
ListHmacKeysResponse.Builder

addHmacKeys(HmacKeyMetadata value)

public ListHmacKeysResponse.Builder addHmacKeys(HmacKeyMetadata value)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
value HmacKeyMetadata
Returns
Type Description
ListHmacKeysResponse.Builder

addHmacKeys(HmacKeyMetadata.Builder builderForValue)

public ListHmacKeysResponse.Builder addHmacKeys(HmacKeyMetadata.Builder builderForValue)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
builderForValue HmacKeyMetadata.Builder
Returns
Type Description
ListHmacKeysResponse.Builder

addHmacKeys(int index, HmacKeyMetadata value)

public ListHmacKeysResponse.Builder addHmacKeys(int index, HmacKeyMetadata value)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameters
Name Description
index int
value HmacKeyMetadata
Returns
Type Description
ListHmacKeysResponse.Builder

addHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)

public ListHmacKeysResponse.Builder addHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameters
Name Description
index int
builderForValue HmacKeyMetadata.Builder
Returns
Type Description
ListHmacKeysResponse.Builder

addHmacKeysBuilder()

public HmacKeyMetadata.Builder addHmacKeysBuilder()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
HmacKeyMetadata.Builder

addHmacKeysBuilder(int index)

public HmacKeyMetadata.Builder addHmacKeysBuilder(int index)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HmacKeyMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListHmacKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

build()

public ListHmacKeysResponse build()
Returns
Type Description
ListHmacKeysResponse

buildPartial()

public ListHmacKeysResponse buildPartial()
Returns
Type Description
ListHmacKeysResponse

clear()

public ListHmacKeysResponse.Builder clear()
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListHmacKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

clearHmacKeys()

public ListHmacKeysResponse.Builder clearHmacKeys()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
ListHmacKeysResponse.Builder

clearNextPageToken()

public ListHmacKeysResponse.Builder clearNextPageToken()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 2;

Returns
Type Description
ListHmacKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListHmacKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

clone()

public ListHmacKeysResponse.Builder clone()
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListHmacKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListHmacKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHmacKeys(int index)

public HmacKeyMetadata getHmacKeys(int index)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HmacKeyMetadata

getHmacKeysBuilder(int index)

public HmacKeyMetadata.Builder getHmacKeysBuilder(int index)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HmacKeyMetadata.Builder

getHmacKeysBuilderList()

public List<HmacKeyMetadata.Builder> getHmacKeysBuilderList()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
List<Builder>

getHmacKeysCount()

public int getHmacKeysCount()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
int

getHmacKeysList()

public List<HmacKeyMetadata> getHmacKeysList()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
List<HmacKeyMetadata>

getHmacKeysOrBuilder(int index)

public HmacKeyMetadataOrBuilder getHmacKeysOrBuilder(int index)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HmacKeyMetadataOrBuilder

getHmacKeysOrBuilderList()

public List<? extends HmacKeyMetadataOrBuilder> getHmacKeysOrBuilderList()

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Returns
Type Description
List<? extends com.google.storage.v2.HmacKeyMetadataOrBuilder>

getNextPageToken()

public String getNextPageToken()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListHmacKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListHmacKeysResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

mergeFrom(ListHmacKeysResponse other)

public ListHmacKeysResponse.Builder mergeFrom(ListHmacKeysResponse other)
Parameter
Name Description
other ListHmacKeysResponse
Returns
Type Description
ListHmacKeysResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListHmacKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

removeHmacKeys(int index)

public ListHmacKeysResponse.Builder removeHmacKeys(int index)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ListHmacKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListHmacKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

setHmacKeys(int index, HmacKeyMetadata value)

public ListHmacKeysResponse.Builder setHmacKeys(int index, HmacKeyMetadata value)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameters
Name Description
index int
value HmacKeyMetadata
Returns
Type Description
ListHmacKeysResponse.Builder

setHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)

public ListHmacKeysResponse.Builder setHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)

The list of items.

repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;

Parameters
Name Description
index int
builderForValue HmacKeyMetadata.Builder
Returns
Type Description
ListHmacKeysResponse.Builder

setNextPageToken(String value)

public ListHmacKeysResponse.Builder setNextPageToken(String value)

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListHmacKeysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListHmacKeysResponse.Builder setNextPageTokenBytes(ByteString value)

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListHmacKeysResponse.Builder

This builder for chaining.

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

public ListHmacKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListHmacKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListHmacKeysResponse.Builder
Overrides