Package com.google.cloud.kms.v1
Interface ChecksummedDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChecksummedData,ChecksummedData.Builder
@Generated
public interface ChecksummedDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Int64ValueIntegrity verification field.com.google.protobuf.Int64ValueOrBuilderIntegrity verification field.com.google.protobuf.ByteStringgetData()Raw Data.booleanIntegrity verification field.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getData
com.google.protobuf.ByteString getData()Raw Data.
bytes data = 3;- Returns:
- The data.
-
hasCrc32CChecksum
boolean hasCrc32CChecksum()Integrity verification field. A CRC32C checksum of the returned [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data]. An integrity check of [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data] can be performed by computing the CRC32C checksum of [ChecksummedData.data][google.cloud.kms.v1.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:
- Whether the crc32cChecksum field is set.
-
getCrc32CChecksum
com.google.protobuf.Int64Value getCrc32CChecksum()Integrity verification field. A CRC32C checksum of the returned [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data]. An integrity check of [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data] can be performed by computing the CRC32C checksum of [ChecksummedData.data][google.cloud.kms.v1.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:
- The crc32cChecksum.
-
getCrc32CChecksumOrBuilder
com.google.protobuf.Int64ValueOrBuilder getCrc32CChecksumOrBuilder()Integrity verification field. A CRC32C checksum of the returned [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data]. An integrity check of [ChecksummedData.data][google.cloud.kms.v1.ChecksummedData.data] can be performed by computing the CRC32C checksum of [ChecksummedData.data][google.cloud.kms.v1.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;
-