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
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
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>
|
addKeyRings(KeyRing value)
public ListKeyRingsResponse.Builder addKeyRings(KeyRing value)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
value |
KeyRing
|
addKeyRings(KeyRing.Builder builderForValue)
public ListKeyRingsResponse.Builder addKeyRings(KeyRing.Builder builderForValue)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
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 |
Name |
Description |
index |
int
|
value |
KeyRing
|
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;
addKeyRingsBuilder()
public KeyRing.Builder addKeyRingsBuilder()
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
addKeyRingsBuilder(int index)
public KeyRing.Builder addKeyRingsBuilder(int index)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKeyRingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListKeyRingsResponse build()
buildPartial()
public ListKeyRingsResponse buildPartial()
clear()
public ListKeyRingsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKeyRingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeyRings()
public ListKeyRingsResponse.Builder clearKeyRings()
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKeyRingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalSize()
public ListKeyRingsResponse.Builder clearTotalSize()
The total number of KeyRings that matched
the query.
int32 total_size = 3;
clone()
public ListKeyRingsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListKeyRingsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKeyRings(int index)
public KeyRing getKeyRings(int index)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
index |
int
|
getKeyRingsBuilder(int index)
public KeyRing.Builder getKeyRingsBuilder(int index)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
index |
int
|
getKeyRingsBuilderList()
public List<KeyRing.Builder> getKeyRingsBuilderList()
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsCount()
public int getKeyRingsCount()
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Returns |
Type |
Description |
int |
|
getKeyRingsList()
public List<KeyRing> getKeyRingsList()
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsOrBuilder(int index)
public KeyRingOrBuilder getKeyRingsOrBuilder(int index)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListKeyRingsResponse other)
public ListKeyRingsResponse.Builder mergeFrom(ListKeyRingsResponse other)
public ListKeyRingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListKeyRingsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyRingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeKeyRings(int index)
public ListKeyRingsResponse.Builder removeKeyRings(int index)
The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListKeyRingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
index |
int
|
value |
KeyRing
|
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKeyRingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKeyRingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides