public static final class ListCryptoKeysResponse.Builder extends GeneratedMessageV3.Builder<ListCryptoKeysResponse.Builder> implements ListCryptoKeysResponseOrBuilder
Response message for
KeyDashboardService.ListCryptoKeys.
Protobuf type google.cloud.kms.inventory.v1.ListCryptoKeysResponse
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
addAllCryptoKeys(Iterable<? extends CryptoKey> values)
public ListCryptoKeysResponse.Builder addAllCryptoKeys(Iterable<? extends CryptoKey> values)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.kms.v1.CryptoKey>
|
addCryptoKeys(CryptoKey value)
public ListCryptoKeysResponse.Builder addCryptoKeys(CryptoKey value)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
value |
com.google.cloud.kms.v1.CryptoKey
|
addCryptoKeys(CryptoKey.Builder builderForValue)
public ListCryptoKeysResponse.Builder addCryptoKeys(CryptoKey.Builder builderForValue)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
builderForValue |
com.google.cloud.kms.v1.CryptoKey.Builder
|
addCryptoKeys(int index, CryptoKey value)
public ListCryptoKeysResponse.Builder addCryptoKeys(int index, CryptoKey value)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.cloud.kms.v1.CryptoKey
|
addCryptoKeys(int index, CryptoKey.Builder builderForValue)
public ListCryptoKeysResponse.Builder addCryptoKeys(int index, CryptoKey.Builder builderForValue)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.cloud.kms.v1.CryptoKey.Builder
|
addCryptoKeysBuilder()
public CryptoKey.Builder addCryptoKeysBuilder()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Returns |
Type |
Description |
com.google.cloud.kms.v1.CryptoKey.Builder |
|
addCryptoKeysBuilder(int index)
public CryptoKey.Builder addCryptoKeysBuilder(int index)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.cloud.kms.v1.CryptoKey.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCryptoKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCryptoKeysResponse build()
buildPartial()
public ListCryptoKeysResponse buildPartial()
clear()
public ListCryptoKeysResponse.Builder clear()
Overrides
clearCryptoKeys()
public ListCryptoKeysResponse.Builder clearCryptoKeys()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCryptoKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListCryptoKeysResponse.Builder clearNextPageToken()
The page token returned from the previous response if the next page is
desired.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCryptoKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCryptoKeysResponse.Builder clone()
Overrides
getCryptoKeys(int index)
public CryptoKey getCryptoKeys(int index)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.cloud.kms.v1.CryptoKey |
|
getCryptoKeysBuilder(int index)
public CryptoKey.Builder getCryptoKeysBuilder(int index)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.cloud.kms.v1.CryptoKey.Builder |
|
getCryptoKeysBuilderList()
public List<CryptoKey.Builder> getCryptoKeysBuilderList()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Returns |
Type |
Description |
List<com.google.cloud.kms.v1.CryptoKey.Builder> |
|
getCryptoKeysCount()
public int getCryptoKeysCount()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Returns |
Type |
Description |
int |
|
getCryptoKeysList()
public List<CryptoKey> getCryptoKeysList()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Returns |
Type |
Description |
List<com.google.cloud.kms.v1.CryptoKey> |
|
getCryptoKeysOrBuilder(int index)
public CryptoKeyOrBuilder getCryptoKeysOrBuilder(int index)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.cloud.kms.v1.CryptoKeyOrBuilder |
|
getCryptoKeysOrBuilderList()
public List<? extends CryptoKeyOrBuilder> getCryptoKeysOrBuilderList()
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.kms.v1.CryptoKeyOrBuilder> |
|
getDefaultInstanceForType()
public ListCryptoKeysResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
The page token returned from the previous response if the next page is
desired.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The page token returned from the previous response if the next page is
desired.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCryptoKeysResponse other)
public ListCryptoKeysResponse.Builder mergeFrom(ListCryptoKeysResponse other)
public ListCryptoKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCryptoKeysResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCryptoKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeCryptoKeys(int index)
public ListCryptoKeysResponse.Builder removeCryptoKeys(int index)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameter |
Name |
Description |
index |
int
|
setCryptoKeys(int index, CryptoKey value)
public ListCryptoKeysResponse.Builder setCryptoKeys(int index, CryptoKey value)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameters |
Name |
Description |
index |
int
|
value |
com.google.cloud.kms.v1.CryptoKey
|
setCryptoKeys(int index, CryptoKey.Builder builderForValue)
public ListCryptoKeysResponse.Builder setCryptoKeys(int index, CryptoKey.Builder builderForValue)
The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
Parameters |
Name |
Description |
index |
int
|
builderForValue |
com.google.cloud.kms.v1.CryptoKey.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListCryptoKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListCryptoKeysResponse.Builder setNextPageToken(String value)
The page token returned from the previous response if the next page is
desired.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListCryptoKeysResponse.Builder setNextPageTokenBytes(ByteString value)
The page token returned from the previous response if the next page is
desired.
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 ListCryptoKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCryptoKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides