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