Class ListHmacKeysResponse.Builder (2.9.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.storage.v2.HmacKeyMetadata>
Returns
TypeDescription
ListHmacKeysResponse.Builder

addHmacKeys(HmacKeyMetadata value)

public ListHmacKeysResponse.Builder addHmacKeys(HmacKeyMetadata value)

The list of items.

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

Parameter
NameDescription
valueHmacKeyMetadata
Returns
TypeDescription
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
NameDescription
builderForValueHmacKeyMetadata.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHmacKeyMetadata
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHmacKeyMetadata.Builder
Returns
TypeDescription
ListHmacKeysResponse.Builder

addHmacKeysBuilder()

public HmacKeyMetadata.Builder addHmacKeysBuilder()

The list of items.

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

Returns
TypeDescription
HmacKeyMetadata.Builder

addHmacKeysBuilder(int index)

public HmacKeyMetadata.Builder addHmacKeysBuilder(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HmacKeyMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListHmacKeysResponse build()
Returns
TypeDescription
ListHmacKeysResponse

buildPartial()

public ListHmacKeysResponse buildPartial()
Returns
TypeDescription
ListHmacKeysResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHmacKeys()

public ListHmacKeysResponse.Builder clearHmacKeys()

The list of items.

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

Returns
TypeDescription
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
TypeDescription
ListHmacKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListHmacKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListHmacKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHmacKeys(int index)

public HmacKeyMetadata getHmacKeys(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HmacKeyMetadata

getHmacKeysBuilder(int index)

public HmacKeyMetadata.Builder getHmacKeysBuilder(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HmacKeyMetadata.Builder

getHmacKeysBuilderList()

public List<HmacKeyMetadata.Builder> getHmacKeysBuilderList()

The list of items.

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

Returns
TypeDescription
List<Builder>

getHmacKeysCount()

public int getHmacKeysCount()

The list of items.

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

Returns
TypeDescription
int

getHmacKeysList()

public List<HmacKeyMetadata> getHmacKeysList()

The list of items.

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

Returns
TypeDescription
List<HmacKeyMetadata>

getHmacKeysOrBuilder(int index)

public HmacKeyMetadataOrBuilder getHmacKeysOrBuilder(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
HmacKeyMetadataOrBuilder

getHmacKeysOrBuilderList()

public List<? extends HmacKeyMetadataOrBuilder> getHmacKeysOrBuilderList()

The list of items.

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

Returns
TypeDescription
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
TypeDescription
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
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 ListHmacKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHmacKeysResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(ListHmacKeysResponse other)

public ListHmacKeysResponse.Builder mergeFrom(ListHmacKeysResponse other)
Parameter
NameDescription
otherListHmacKeysResponse
Returns
TypeDescription
ListHmacKeysResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListHmacKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListHmacKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListHmacKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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