Class ListCryptoKeysResponse (0.5.0)

public final class ListCryptoKeysResponse extends GeneratedMessageV3 implements ListCryptoKeysResponseOrBuilder

Response message for KeyDashboardService.ListCryptoKeys.

Protobuf type google.cloud.kms.inventory.v1.ListCryptoKeysResponse

Static Fields

CRYPTO_KEYS_FIELD_NUMBER

public static final int CRYPTO_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListCryptoKeysResponse getDefaultInstance()
Returns
TypeDescription
ListCryptoKeysResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListCryptoKeysResponse.Builder newBuilder()
Returns
TypeDescription
ListCryptoKeysResponse.Builder

newBuilder(ListCryptoKeysResponse prototype)

public static ListCryptoKeysResponse.Builder newBuilder(ListCryptoKeysResponse prototype)
Parameter
NameDescription
prototypeListCryptoKeysResponse
Returns
TypeDescription
ListCryptoKeysResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCryptoKeysResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListCryptoKeysResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCryptoKeysResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCryptoKeysResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListCryptoKeysResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListCryptoKeysResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCryptoKeysResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCryptoKeysResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListCryptoKeysResponse> parser()
Returns
TypeDescription
Parser<ListCryptoKeysResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCryptoKeys(int index)

public CryptoKey getCryptoKeys(int index)

The list of CryptoKeys.

repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.cloud.kms.v1.CryptoKey

getCryptoKeysCount()

public int getCryptoKeysCount()

The list of CryptoKeys.

repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;

Returns
TypeDescription
int

getCryptoKeysList()

public List<CryptoKey> getCryptoKeysList()

The list of CryptoKeys.

repeated .google.cloud.kms.v1.CryptoKey crypto_keys = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.kms.v1.CryptoKeyOrBuilder>

getDefaultInstanceForType()

public ListCryptoKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCryptoKeysResponse

getNextPageToken()

public String getNextPageToken()

The page token returned from the previous response if the next page is desired.

string next_page_token = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListCryptoKeysResponse> getParserForType()
Returns
TypeDescription
Parser<ListCryptoKeysResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListCryptoKeysResponse.Builder newBuilderForType()
Returns
TypeDescription
ListCryptoKeysResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCryptoKeysResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListCryptoKeysResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListCryptoKeysResponse.Builder toBuilder()
Returns
TypeDescription
ListCryptoKeysResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException