Send feedback
Class ListKeyRingsResponse.Builder (2.6.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.3 keyboard_arrow_down
public static final class ListKeyRingsResponse . Builder extends GeneratedMessageV3 . Builder<ListKeyRingsResponse . Builder > implements ListKeyRingsResponseOrBuilder
Response message for
KeyManagementService.ListKeyRings .
Protobuf type google.cloud.kms.v1.ListKeyRingsResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllKeyRings(Iterable<? extends KeyRing> values)
public ListKeyRingsResponse . Builder addAllKeyRings ( Iterable <? extends KeyRing > values )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.kms.v1.KeyRing >
Returns
addKeyRings(KeyRing value)
public ListKeyRingsResponse . Builder addKeyRings ( KeyRing value )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
addKeyRings(KeyRing.Builder builderForValue)
public ListKeyRingsResponse . Builder addKeyRings ( KeyRing . Builder builderForValue )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
addKeyRings(int index, KeyRing value)
public ListKeyRingsResponse . Builder addKeyRings ( int index , KeyRing value )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameters
Returns
addKeyRings(int index, KeyRing.Builder builderForValue)
public ListKeyRingsResponse . Builder addKeyRings ( int index , KeyRing . Builder builderForValue )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameters
Returns
addKeyRingsBuilder()
public KeyRing . Builder addKeyRingsBuilder ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
addKeyRingsBuilder(int index)
public KeyRing . Builder addKeyRingsBuilder ( int index )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKeyRingsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListKeyRingsResponse build ()
Returns
buildPartial()
public ListKeyRingsResponse buildPartial ()
Returns
clear()
public ListKeyRingsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKeyRingsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearKeyRings()
public ListKeyRingsResponse . Builder clearKeyRings ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
clearNextPageToken()
public ListKeyRingsResponse . Builder clearNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListKeyRingsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKeyRingsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTotalSize()
public ListKeyRingsResponse . Builder clearTotalSize ()
The total number of KeyRings that matched
the query.
int32 total_size = 3;
Returns
clone()
public ListKeyRingsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListKeyRingsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getKeyRings(int index)
public KeyRing getKeyRings ( int index )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
getKeyRingsBuilder(int index)
public KeyRing . Builder getKeyRingsBuilder ( int index )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
getKeyRingsBuilderList()
public List<KeyRing . Builder > getKeyRingsBuilderList ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
getKeyRingsCount()
public int getKeyRingsCount ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
getKeyRingsList()
public List<KeyRing> getKeyRingsList ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
getKeyRingsOrBuilder(int index)
public KeyRingOrBuilder getKeyRingsOrBuilder ( int index )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
getKeyRingsOrBuilderList()
public List <? extends KeyRingOrBuilder > getKeyRingsOrBuilderList ()
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns
Type Description List <? extends com.google.cloud.kms.v1.KeyRingOrBuilder >
getNextPageToken()
public String getNextPageToken ()
A token to retrieve next page of results. Pass this value in
ListKeyRingsRequest.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
ListKeyRingsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Returns
Type Description ByteString The bytes for nextPageToken.
getTotalSize()
public int getTotalSize ()
The total number of KeyRings that matched
the query.
int32 total_size = 3;
Returns
Type Description int The totalSize.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListKeyRingsResponse other)
public ListKeyRingsResponse . Builder mergeFrom ( ListKeyRingsResponse other )
Parameter
Returns
public ListKeyRingsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListKeyRingsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyRingsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeKeyRings(int index)
public ListKeyRingsResponse . Builder removeKeyRings ( int index )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListKeyRingsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setKeyRings(int index, KeyRing value)
public ListKeyRingsResponse . Builder setKeyRings ( int index , KeyRing value )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameters
Returns
setKeyRings(int index, KeyRing.Builder builderForValue)
public ListKeyRingsResponse . Builder setKeyRings ( int index , KeyRing . Builder builderForValue )
The list of KeyRings .
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameters
Returns
setNextPageToken(String value)
public ListKeyRingsResponse . Builder setNextPageToken ( String value )
A token to retrieve next page of results. Pass this value in
ListKeyRingsRequest.page_token
to retrieve the next page of results.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListKeyRingsResponse . Builder setNextPageTokenBytes ( ByteString value )
A token to retrieve next page of results. Pass this value in
ListKeyRingsRequest.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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKeyRingsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTotalSize(int value)
public ListKeyRingsResponse . Builder setTotalSize ( int value )
The total number of KeyRings that matched
the query.
int32 total_size = 3;
Parameter
Name Description value int
The totalSize to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyRingsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-27 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-27 UTC."],[],[]]