Class ChecksummedData.Builder (2.62.0)

public static final class ChecksummedData.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChecksummedData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChecksummedData.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ChecksummedData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ChecksummedData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChecksummedData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ChecksummedData.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChecksummedData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ChecksummedData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChecksummedData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ChecksummedData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ChecksummedData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ChecksummedData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChecksummedData.Builder
Overrides