Send feedback
Class ListHmacKeysResponse.Builder (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.41.0 keyboard_arrow_down
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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ()
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 >
public ListHmacKeysResponse . Builder addHmacKeys ( HmacKeyMetadata value )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
public ListHmacKeysResponse . Builder addHmacKeys ( HmacKeyMetadata . Builder builderForValue )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
public ListHmacKeysResponse . Builder addHmacKeys ( int index , HmacKeyMetadata value )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
public ListHmacKeysResponse . Builder addHmacKeys ( int index , HmacKeyMetadata . Builder builderForValue )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
addHmacKeysBuilder()
public HmacKeyMetadata . Builder addHmacKeysBuilder ()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListHmacKeysResponse build ()
buildPartial()
public ListHmacKeysResponse buildPartial ()
clear()
public ListHmacKeysResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListHmacKeysResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearHmacKeys()
public ListHmacKeysResponse . Builder clearHmacKeys ()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListHmacKeysResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListHmacKeysResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListHmacKeysResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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
getHmacKeysBuilderList()
public List<HmacKeyMetadata . Builder > getHmacKeysBuilderList ()
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
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;
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
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public ListHmacKeysResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListHmacKeysResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(ListHmacKeysResponse other)
public ListHmacKeysResponse . Builder mergeFrom ( ListHmacKeysResponse other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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
setField(Descriptors.FieldDescriptor field, Object value)
public ListHmacKeysResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ListHmacKeysResponse . Builder setHmacKeys ( int index , HmacKeyMetadata value )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
public ListHmacKeysResponse . Builder setHmacKeys ( int index , HmacKeyMetadata . Builder builderForValue )
The list of items.
repeated .google.storage.v2.HmacKeyMetadata hmac_keys = 1;
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListHmacKeysResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListHmacKeysResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]