Package com.google.cloud.kms.v1
Class ChecksummedData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
com.google.cloud.kms.v1.ChecksummedData.Builder
- All Implemented Interfaces:
ChecksummedDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ChecksummedData
public static final class ChecksummedData.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
implements ChecksummedDataOrBuilder
Data with integrity verification field.Protobuf type
google.cloud.kms.v1.ChecksummedData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Integrity verification field.Raw Data.com.google.protobuf.Int64ValueIntegrity verification field.com.google.protobuf.Int64Value.BuilderIntegrity verification field.com.google.protobuf.Int64ValueOrBuilderIntegrity verification field.com.google.protobuf.ByteStringgetData()Raw Data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIntegrity verification field.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCrc32CChecksum(com.google.protobuf.Int64Value value) Integrity verification field.mergeFrom(ChecksummedData other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCrc32CChecksum(com.google.protobuf.Int64Value value) Integrity verification field.setCrc32CChecksum(com.google.protobuf.Int64Value.Builder builderForValue) Integrity verification field.setData(com.google.protobuf.ByteString value) Raw Data.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChecksummedData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
-
mergeFrom
public ChecksummedData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChecksummedData.Builder>- Throws:
IOException
-
getData
public com.google.protobuf.ByteString getData()Raw Data.
bytes data = 3;- Specified by:
getDatain interfaceChecksummedDataOrBuilder- Returns:
- The data.
-
setData
Raw Data.
bytes data = 3;- Parameters:
value- The data to set.- Returns:
- This builder for chaining.
-
clearData
Raw Data.
bytes data = 3;- Returns:
- This builder for chaining.
-
hasCrc32CChecksum
public 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;- Specified by:
hasCrc32CChecksumin interfaceChecksummedDataOrBuilder- Returns:
- Whether the crc32cChecksum field is set.
-
getCrc32CChecksum
public 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;- Specified by:
getCrc32CChecksumin interfaceChecksummedDataOrBuilder- Returns:
- The crc32cChecksum.
-
setCrc32CChecksum
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; -
setCrc32CChecksum
public ChecksummedData.Builder setCrc32CChecksum(com.google.protobuf.Int64Value.Builder builderForValue) 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; -
mergeCrc32CChecksum
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; -
clearCrc32CChecksum
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; -
getCrc32CChecksumBuilder
public com.google.protobuf.Int64Value.Builder getCrc32CChecksumBuilder()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; -
getCrc32CChecksumOrBuilder
public 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;- Specified by:
getCrc32CChecksumOrBuilderin interfaceChecksummedDataOrBuilder
-