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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
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
public ListHmacKeysResponse.Builder addHmacKeys(HmacKeyMetadata value)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameter
Returns
public ListHmacKeysResponse.Builder addHmacKeys(HmacKeyMetadata.Builder builderForValue)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameter
Returns
public ListHmacKeysResponse.Builder addHmacKeys(int index, HmacKeyMetadata value)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameters
Returns
public ListHmacKeysResponse.Builder addHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameters
Returns
addHmacKeysBuilder()
public HmacKeyMetadata.Builder addHmacKeysBuilder()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListHmacKeysResponse build()
Returns
buildPartial()
public ListHmacKeysResponse buildPartial()
Returns
clear()
public ListHmacKeysResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListHmacKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHmacKeys()
public ListHmacKeysResponse.Builder clearHmacKeys()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListHmacKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListHmacKeysResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListHmacKeysResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getHmacKeysBuilderList()
public List<HmacKeyMetadata.Builder> getHmacKeysBuilderList()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Returns
getHmacKeysCount()
public int getHmacKeysCount()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Returns
getHmacKeysList()
public List<HmacKeyMetadata> getHmacKeysList()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ListHmacKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListHmacKeysResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ListHmacKeysResponse other)
public ListHmacKeysResponse.Builder mergeFrom(ListHmacKeysResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListHmacKeysResponse.Builder setHmacKeys(int index, HmacKeyMetadata value)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameters
Returns
public ListHmacKeysResponse.Builder setHmacKeys(int index, HmacKeyMetadata.Builder builderForValue)
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListHmacKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides