Class ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder (2.98.0)

public static final class ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder extends GeneratedMessage.Builder<ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder> implements ExportTrustedKeyWrappedCryptoKeyVersionResponseOrBuilder

Response message for KeyManagementService.ExportTrustedKeyWrappedCryptoKeyVersion.

Protobuf type google.cloud.kms.v1.ExportTrustedKeyWrappedCryptoKeyVersionResponse

Static Methods

getDescriptor()

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

Methods

build()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse build()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse

buildPartial()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse buildPartial()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse

clear()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder clear()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder
Overrides

clearWrappedKey()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder clearWrappedKey()

The wrapped key material.

bytes wrapped_key = 1;

Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

This builder for chaining.

clearWrappedKeyCrc32C()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder clearWrappedKeyCrc32C()

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
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

getDefaultInstanceForType()

public ExportTrustedKeyWrappedCryptoKeyVersionResponse getDefaultInstanceForType()
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getWrappedKeyCrc32CBuilder()

public Int64Value.Builder getWrappedKeyCrc32CBuilder()

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
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportTrustedKeyWrappedCryptoKeyVersionResponse other)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder mergeFrom(ExportTrustedKeyWrappedCryptoKeyVersionResponse other)
Parameter
Name Description
other ExportTrustedKeyWrappedCryptoKeyVersionResponse
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder
Overrides

mergeWrappedKeyCrc32C(Int64Value value)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder mergeWrappedKeyCrc32C(Int64Value value)

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;

Parameter
Name Description
value Int64Value
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

setWrappedKey(ByteString value)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKey(ByteString value)

The wrapped key material.

bytes wrapped_key = 1;

Parameter
Name Description
value ByteString

The wrappedKey to set.

Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

This builder for chaining.

setWrappedKeyCrc32C(Int64Value value)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKeyCrc32C(Int64Value value)

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;

Parameter
Name Description
value Int64Value
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder

setWrappedKeyCrc32C(Int64Value.Builder builderForValue)

public ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder setWrappedKeyCrc32C(Int64Value.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportTrustedKeyWrappedCryptoKeyVersionResponse.Builder