Send feedback
Class ListKeyHandlesResponse.Builder (2.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.58.0 keyboard_arrow_down
public static final class ListKeyHandlesResponse . Builder extends GeneratedMessageV3 . Builder<ListKeyHandlesResponse . Builder > implements ListKeyHandlesResponseOrBuilder
Response message for
Autokey.ListKeyHandles .
Protobuf type google.cloud.kms.v1.ListKeyHandlesResponse
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
addAllKeyHandles(Iterable<? extends KeyHandle> values)
public ListKeyHandlesResponse . Builder addAllKeyHandles ( Iterable <? extends KeyHandle > values )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.kms.v1.KeyHandle >
addKeyHandles(KeyHandle value)
public ListKeyHandlesResponse . Builder addKeyHandles ( KeyHandle value )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
addKeyHandles(KeyHandle.Builder builderForValue)
public ListKeyHandlesResponse . Builder addKeyHandles ( KeyHandle . Builder builderForValue )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
addKeyHandles(int index, KeyHandle value)
public ListKeyHandlesResponse . Builder addKeyHandles ( int index , KeyHandle value )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
addKeyHandles(int index, KeyHandle.Builder builderForValue)
public ListKeyHandlesResponse . Builder addKeyHandles ( int index , KeyHandle . Builder builderForValue )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
addKeyHandlesBuilder()
public KeyHandle . Builder addKeyHandlesBuilder ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
addKeyHandlesBuilder(int index)
public KeyHandle . Builder addKeyHandlesBuilder ( int index )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKeyHandlesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListKeyHandlesResponse build ()
buildPartial()
public ListKeyHandlesResponse buildPartial ()
clear()
public ListKeyHandlesResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKeyHandlesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearKeyHandles()
public ListKeyHandlesResponse . Builder clearKeyHandles ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
clearNextPageToken()
public ListKeyHandlesResponse . Builder clearNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListKeyHandlesRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKeyHandlesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListKeyHandlesResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListKeyHandlesResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getKeyHandles(int index)
public KeyHandle getKeyHandles ( int index )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
index
int
getKeyHandlesBuilder(int index)
public KeyHandle . Builder getKeyHandlesBuilder ( int index )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
index
int
getKeyHandlesBuilderList()
public List<KeyHandle . Builder > getKeyHandlesBuilderList ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
getKeyHandlesCount()
public int getKeyHandlesCount ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Returns
Type
Description
int
getKeyHandlesList()
public List<KeyHandle> getKeyHandlesList ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
getKeyHandlesOrBuilder(int index)
public KeyHandleOrBuilder getKeyHandlesOrBuilder ( int index )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
index
int
getKeyHandlesOrBuilderList()
public List <? extends KeyHandleOrBuilder > getKeyHandlesOrBuilderList ()
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Returns
Type
Description
List <? extends com.google.cloud.kms.v1.KeyHandleOrBuilder >
getNextPageToken()
public String getNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListKeyHandlesRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Returns
Type
Description
String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token to retrieve next page of results. Pass this value in
ListKeyHandlesRequest.page_token
to retrieve 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
mergeFrom(ListKeyHandlesResponse other)
public ListKeyHandlesResponse . Builder mergeFrom ( ListKeyHandlesResponse other )
public ListKeyHandlesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListKeyHandlesResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyHandlesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeKeyHandles(int index)
public ListKeyHandlesResponse . Builder removeKeyHandles ( int index )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListKeyHandlesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setKeyHandles(int index, KeyHandle value)
public ListKeyHandlesResponse . Builder setKeyHandles ( int index , KeyHandle value )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
setKeyHandles(int index, KeyHandle.Builder builderForValue)
public ListKeyHandlesResponse . Builder setKeyHandles ( int index , KeyHandle . Builder builderForValue )
Resulting KeyHandles .
repeated .google.cloud.kms.v1.KeyHandle key_handles = 1;
setNextPageToken(String value)
public ListKeyHandlesResponse . Builder setNextPageToken ( String value )
A token to retrieve next page of results. Pass this value in
ListKeyHandlesRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListKeyHandlesResponse . Builder setNextPageTokenBytes ( ByteString value )
A token to retrieve next page of results. Pass this value in
ListKeyHandlesRequest.page_token
to retrieve 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 ListKeyHandlesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyHandlesResponse . 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-28 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-28 UTC."],[],[]]