Class ChecksummedData.Builder (2.86.0)

public static final class ChecksummedData.Builder extends GeneratedMessage.Builder<ChecksummedData.Builder> implements ChecksummedDataOrBuilder

Data with integrity verification field.

Protobuf type google.cloud.kms.v1.ChecksummedData

Static Methods

getDescriptor()

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

Methods

build()

public ChecksummedData build()
Returns
Type Description
ChecksummedData

buildPartial()

public ChecksummedData buildPartial()
Returns
Type Description
ChecksummedData

clear()

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

clearCrc32CChecksum()

public ChecksummedData.Builder clearCrc32CChecksum()

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Returns
Type Description
ChecksummedData.Builder

clearData()

public ChecksummedData.Builder clearData()

Raw Data.

bytes data = 3;

Returns
Type Description
ChecksummedData.Builder

This builder for chaining.

getCrc32CChecksum()

public Int64Value getCrc32CChecksum()

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Returns
Type Description
Int64Value

The crc32cChecksum.

getCrc32CChecksumBuilder()

public Int64Value.Builder getCrc32CChecksumBuilder()

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Returns
Type Description
Builder

getCrc32CChecksumOrBuilder()

public Int64ValueOrBuilder getCrc32CChecksumOrBuilder()

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Returns
Type Description
Int64ValueOrBuilder

getData()

public ByteString getData()

Raw Data.

bytes data = 3;

Returns
Type Description
ByteString

The data.

getDefaultInstanceForType()

public ChecksummedData getDefaultInstanceForType()
Returns
Type Description
ChecksummedData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCrc32CChecksum()

public boolean hasCrc32CChecksum()

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Returns
Type Description
boolean

Whether the crc32cChecksum field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCrc32CChecksum(Int64Value value)

public ChecksummedData.Builder mergeCrc32CChecksum(Int64Value value)

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
ChecksummedData.Builder

mergeFrom(ChecksummedData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCrc32CChecksum(Int64Value value)

public ChecksummedData.Builder setCrc32CChecksum(Int64Value value)

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Parameter
Name Description
value Int64Value
Returns
Type Description
ChecksummedData.Builder

setCrc32CChecksum(Int64Value.Builder builderForValue)

public ChecksummedData.Builder setCrc32CChecksum(Int64Value.Builder builderForValue)

Integrity verification field. A CRC32C checksum of the returned ChecksummedData.data. An integrity check of ChecksummedData.data can be performed by computing the CRC32C checksum of ChecksummedData.data 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 crc32c_checksum = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ChecksummedData.Builder

setData(ByteString value)

public ChecksummedData.Builder setData(ByteString value)

Raw Data.

bytes data = 3;

Parameter
Name Description
value ByteString

The data to set.

Returns
Type Description
ChecksummedData.Builder

This builder for chaining.