Class ChecksummedData (2.79.0)
public final class ChecksummedData extends GeneratedMessageV3 implements ChecksummedDataOrBuilder
Data with integrity verification field.
Protobuf type google.cloud.kms.v1.ChecksummedData
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CRC32C_CHECKSUM_FIELD_NUMBER
public static final int CRC32C_CHECKSUM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ChecksummedData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChecksummedData.Builder newBuilder()
newBuilder(ChecksummedData prototype)
public static ChecksummedData.Builder newBuilder(ChecksummedData prototype)
public static ChecksummedData parseDelimitedFrom(InputStream input)
public static ChecksummedData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChecksummedData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChecksummedData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChecksummedData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChecksummedData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChecksummedData parseFrom(CodedInputStream input)
public static ChecksummedData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChecksummedData parseFrom(InputStream input)
public static ChecksummedData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChecksummedData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChecksummedData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChecksummedData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.
|
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()
Raw Data.
bytes data = 3;
getDefaultInstanceForType()
public ChecksummedData getDefaultInstanceForType()
getParserForType()
public Parser<ChecksummedData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChecksummedData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChecksummedData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChecksummedData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]