public static final class ListCryptoKeysResponse.Builder extends GeneratedMessage.Builder<ListCryptoKeysResponse.Builder> implements ListCryptoKeysResponseOrBuilderResponse message for KeyManagementService.ListCryptoKeys.
Protobuf type google.cloud.kms.v1.ListCryptoKeysResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCryptoKeysResponse.BuilderImplements
ListCryptoKeysResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
CryptoKey |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
CryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.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 |
CryptoKey |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
CryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
addCryptoKeysBuilder()
public CryptoKey.Builder addCryptoKeysBuilder()The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
| Returns | |
|---|---|
| Type | Description |
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 |
CryptoKey.Builder |
|
build()
public ListCryptoKeysResponse build()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
buildPartial()
public ListCryptoKeysResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
clear()
public ListCryptoKeysResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
clearCryptoKeys()
public ListCryptoKeysResponse.Builder clearCryptoKeys()The list of CryptoKeys.
repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
clearNextPageToken()
public ListCryptoKeysResponse.Builder clearNextPageToken()A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListCryptoKeysResponse.Builder clearTotalSize()The total number of CryptoKeys that matched the query.
This field is not populated if ListCryptoKeysRequest.filter is applied.
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
This builder for chaining. |
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 |
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 |
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<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<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 |
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()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.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 ListCryptoKeysRequest.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 CryptoKeys that matched the query.
This field is not populated if ListCryptoKeysRequest.filter is applied.
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCryptoKeysResponse other)
public ListCryptoKeysResponse.Builder mergeFrom(ListCryptoKeysResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCryptoKeysResponse |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCryptoKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCryptoKeysResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
CryptoKey |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
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 |
CryptoKey.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
setNextPageToken(String value)
public ListCryptoKeysResponse.Builder setNextPageToken(String value)A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCryptoKeysResponse.Builder setNextPageTokenBytes(ByteString value)A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListCryptoKeysResponse.Builder setTotalSize(int value)The total number of CryptoKeys that matched the query.
This field is not populated if ListCryptoKeysRequest.filter is applied.
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
This builder for chaining. |