public static final class ListKeyRingsResponse.Builder extends GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder> implements ListKeyRingsResponseOrBuilder
Response message for [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings].Protobuf type
google.cloud.kms.v1.ListKeyRingsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListKeyRingsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListKeyRingsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListKeyRingsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder mergeFrom(ListKeyRingsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public ListKeyRingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListKeyRingsResponse.Builder>
IOException
public List<KeyRing> getKeyRingsList()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsList
in interface ListKeyRingsResponseOrBuilder
public int getKeyRingsCount()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsCount
in interface ListKeyRingsResponseOrBuilder
public KeyRing getKeyRings(int index)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRings
in interface ListKeyRingsResponseOrBuilder
public ListKeyRingsResponse.Builder setKeyRings(int index, KeyRing value)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder setKeyRings(int index, KeyRing.Builder builderForValue)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder addKeyRings(KeyRing value)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder addKeyRings(int index, KeyRing value)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder addKeyRings(KeyRing.Builder builderForValue)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder addKeyRings(int index, KeyRing.Builder builderForValue)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder addAllKeyRings(Iterable<? extends KeyRing> values)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder clearKeyRings()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public ListKeyRingsResponse.Builder removeKeyRings(int index)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public KeyRing.Builder getKeyRingsBuilder(int index)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public KeyRingOrBuilder getKeyRingsOrBuilder(int index)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsOrBuilder
in interface ListKeyRingsResponseOrBuilder
public List<? extends KeyRingOrBuilder> getKeyRingsOrBuilderList()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
getKeyRingsOrBuilderList
in interface ListKeyRingsResponseOrBuilder
public KeyRing.Builder addKeyRingsBuilder()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public KeyRing.Builder addKeyRingsBuilder(int index)
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public List<KeyRing.Builder> getKeyRingsBuilderList()
The list of [KeyRings][google.cloud.kms.v1.KeyRing].
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
public String getNextPageToken()
A token to retrieve next page of results. Pass this value in [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
getNextPageToken
in interface ListKeyRingsResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results. Pass this value in [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListKeyRingsResponseOrBuilder
public ListKeyRingsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results. Pass this value in [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
value
- The nextPageToken to set.public ListKeyRingsResponse.Builder clearNextPageToken()
A token to retrieve next page of results. Pass this value in [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
public ListKeyRingsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results. Pass this value in [ListKeyRingsRequest.page_token][google.cloud.kms.v1.ListKeyRingsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public int getTotalSize()
The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
int32 total_size = 3;
getTotalSize
in interface ListKeyRingsResponseOrBuilder
public ListKeyRingsResponse.Builder setTotalSize(int value)
The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
int32 total_size = 3;
value
- The totalSize to set.public ListKeyRingsResponse.Builder clearTotalSize()
The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched the query.
int32 total_size = 3;
public final ListKeyRingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
public final ListKeyRingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListKeyRingsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.