public final class ListCryptoKeysResponse extends GeneratedMessage implements ListCryptoKeysResponseOrBuilderResponse message for KeyManagementService.ListCryptoKeys.
Protobuf type google.cloud.kms.v1.ListCryptoKeysResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ListCryptoKeysResponseImplements
ListCryptoKeysResponseOrBuilderStatic Fields
CRYPTO_KEYS_FIELD_NUMBER
public static final int CRYPTO_KEYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ListCryptoKeysResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ListCryptoKeysResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
newBuilder(ListCryptoKeysResponse prototype)
public static ListCryptoKeysResponse.Builder newBuilder(ListCryptoKeysResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ListCryptoKeysResponse |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static ListCryptoKeysResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ListCryptoKeysResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ListCryptoKeysResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ListCryptoKeysResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ListCryptoKeysResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ListCryptoKeysResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListCryptoKeysResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ListCryptoKeysResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ListCryptoKeysResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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 |
|
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. |
getParserForType()
public Parser<ListCryptoKeysResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ListCryptoKeysResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ListCryptoKeysResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ListCryptoKeysResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
toBuilder()
public ListCryptoKeysResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ListCryptoKeysResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|