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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChecksummedData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public ChecksummedData build()
buildPartial()
public ChecksummedData buildPartial()
clear()
public ChecksummedData.Builder clear()
OverridesclearCrc32CChecksum()
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;
clearData()
public ChecksummedData.Builder clearData()
clearField(Descriptors.FieldDescriptor field)
public ChecksummedData.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearOneof(Descriptors.OneofDescriptor oneof)
public ChecksummedData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overridesclone()
public ChecksummedData.Builder clone()
OverridesgetCrc32CChecksum()
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;
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;
getData()
public ByteString getData()
getDefaultInstanceForType()
public ChecksummedData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverrideshasCrc32CChecksum()
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()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeCrc32CChecksum(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;
mergeFrom(ChecksummedData other)
public ChecksummedData.Builder mergeFrom(ChecksummedData other)
public ChecksummedData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public ChecksummedData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final ChecksummedData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridessetCrc32CChecksum(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;
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
|
setData(ByteString value)
public ChecksummedData.Builder setData(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The data to set. |
setField(Descriptors.FieldDescriptor field, Object value)
public ChecksummedData.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChecksummedData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final ChecksummedData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides