public static final class ListCryptoKeyVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder> implements ListCryptoKeyVersionsResponseOrBuilder
Response message for [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions].Protobuf type
google.cloud.kms.v1.ListCryptoKeyVersionsResponse
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<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListCryptoKeyVersionsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListCryptoKeyVersionsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListCryptoKeyVersionsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder mergeFrom(ListCryptoKeyVersionsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public ListCryptoKeyVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListCryptoKeyVersionsResponse.Builder>
IOException
public List<CryptoKeyVersion> getCryptoKeyVersionsList()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
getCryptoKeyVersionsList
in interface ListCryptoKeyVersionsResponseOrBuilder
public int getCryptoKeyVersionsCount()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
getCryptoKeyVersionsCount
in interface ListCryptoKeyVersionsResponseOrBuilder
public CryptoKeyVersion getCryptoKeyVersions(int index)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
getCryptoKeyVersions
in interface ListCryptoKeyVersionsResponseOrBuilder
public ListCryptoKeyVersionsResponse.Builder setCryptoKeyVersions(int index, CryptoKeyVersion value)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder setCryptoKeyVersions(int index, CryptoKeyVersion.Builder builderForValue)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder addCryptoKeyVersions(CryptoKeyVersion value)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder addCryptoKeyVersions(int index, CryptoKeyVersion value)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder addCryptoKeyVersions(CryptoKeyVersion.Builder builderForValue)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder addCryptoKeyVersions(int index, CryptoKeyVersion.Builder builderForValue)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder addAllCryptoKeyVersions(Iterable<? extends CryptoKeyVersion> values)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder clearCryptoKeyVersions()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public ListCryptoKeyVersionsResponse.Builder removeCryptoKeyVersions(int index)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public CryptoKeyVersion.Builder getCryptoKeyVersionsBuilder(int index)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public CryptoKeyVersionOrBuilder getCryptoKeyVersionsOrBuilder(int index)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
getCryptoKeyVersionsOrBuilder
in interface ListCryptoKeyVersionsResponseOrBuilder
public List<? extends CryptoKeyVersionOrBuilder> getCryptoKeyVersionsOrBuilderList()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
getCryptoKeyVersionsOrBuilderList
in interface ListCryptoKeyVersionsResponseOrBuilder
public CryptoKeyVersion.Builder addCryptoKeyVersionsBuilder()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public CryptoKeyVersion.Builder addCryptoKeyVersionsBuilder(int index)
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public List<CryptoKeyVersion.Builder> getCryptoKeyVersionsBuilderList()
The list of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
repeated .google.cloud.kms.v1.CryptoKeyVersion crypto_key_versions = 1;
public String getNextPageToken()
A token to retrieve next page of results. Pass this value in [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
getNextPageToken
in interface ListCryptoKeyVersionsResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results. Pass this value in [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListCryptoKeyVersionsResponseOrBuilder
public ListCryptoKeyVersionsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results. Pass this value in [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
value
- The nextPageToken to set.public ListCryptoKeyVersionsResponse.Builder clearNextPageToken()
A token to retrieve next page of results. Pass this value in [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.page_token] to retrieve the next page of results.
string next_page_token = 2;
public ListCryptoKeyVersionsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results. Pass this value in [ListCryptoKeyVersionsRequest.page_token][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.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 [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the query.
int32 total_size = 3;
getTotalSize
in interface ListCryptoKeyVersionsResponseOrBuilder
public ListCryptoKeyVersionsResponse.Builder setTotalSize(int value)
The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the query.
int32 total_size = 3;
value
- The totalSize to set.public ListCryptoKeyVersionsResponse.Builder clearTotalSize()
The total number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the query.
int32 total_size = 3;
public final ListCryptoKeyVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
public final ListCryptoKeyVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListCryptoKeyVersionsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.