Class ExportTrustedKeyWrappedCryptoKeyVersionResponse (2.98.0)

public final class ExportTrustedKeyWrappedCryptoKeyVersionResponse extends GeneratedMessage implements ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder

Response message for KeyManagementService.ExportTrustedKeyWrappedCryptoKeyVersion.

Protobuf type google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportTrustedKeyWrappedCryptoKeyVersionResponse

Static Fields

WRAPPED_KEY_CRC32C_FIELD_NUMBER

public static final int WRAPPED_KEY_CRC32C_FIELD_NUMBER
Field Value
Type Description
int

WRAPPED_KEY_FIELD_NUMBER

public static final int WRAPPED_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse getDefaultInstance()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder newBuilder()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

newBuilder(ExportTrustedKeyWrappedCryptoKeyVersionResponse prototype)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder newBuilder(ExportTrustedKeyWrappedCryptoKeyVersionResponse prototype)
Parameter
Name Description
prototype ExportTrustedKeyWrappedCryptoKeyVersionResponse
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportTrustedKeyWrappedCryptoKeyVersionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportTrustedKeyWrappedCryptoKeyVersionResponse> parser()
Returns
Type Description
Parser<ExportTrustedKeyWrappedCryptoKeyVersionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse getDefaultInstanceForType()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse

getParserForType()

public Parser<ExportTrustedKeyWrappedCryptoKeyVersionResponse> getParserForType()
Returns
Type Description
Parser<ExportTrustedKeyWrappedCryptoKeyVersionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWrappedKey()

public ByteString getWrappedKey()

The wrapped key material.

bytes wrapped_key = 1;

Returns
Type Description
ByteString

The wrappedKey.

getWrappedKeyCrc32C()

public Int64Value getWrappedKeyCrc32C()

Integrity verification field. A CRC32C checksum of the returned ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key. An integrity check of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key can be performed by computing the CRC32C checksum of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.

.google.protobuf.Int64Value wrapped_key_crc32c = 2;

Returns
Type Description
Int64Value

The wrappedKeyCrc32c.

getWrappedKeyCrc32COrBuilder()

public Int64ValueOrBuilder getWrappedKeyCrc32COrBuilder()

Integrity verification field. A CRC32C checksum of the returned ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key. An integrity check of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key can be performed by computing the CRC32C checksum of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.

.google.protobuf.Int64Value wrapped_key_crc32c = 2;

Returns
Type Description
Int64ValueOrBuilder

hasWrappedKeyCrc32C()

public boolean hasWrappedKeyCrc32C()

Integrity verification field. A CRC32C checksum of the returned ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key. An integrity check of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key can be performed by computing the CRC32C checksum of ExportTrustedKeyWrappedCryptoKeyVersionResponse.wrapped_key and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.

.google.protobuf.Int64Value wrapped_key_crc32c = 2;

Returns
Type Description
boolean

Whether the wrappedKeyCrc32c field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder newBuilderForType()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder
Overrides

toBuilder()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder toBuilder()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException