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 Type
    Method
    Description
     
     
     
    Integrity verification field.
    Raw Data.
    com.google.protobuf.Int64Value
    Integrity verification field.
    com.google.protobuf.Int64Value.Builder
    Integrity verification field.
    com.google.protobuf.Int64ValueOrBuilder
    Integrity verification field.
    com.google.protobuf.ByteString
    Raw Data.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    boolean
    Integrity verification field.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeCrc32CChecksum(com.google.protobuf.Int64Value value)
    Integrity verification field.
     
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
    • clear

      public ChecksummedData.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ChecksummedData.Builder>
    • getDefaultInstanceForType

      public ChecksummedData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ChecksummedData build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ChecksummedData buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ChecksummedData.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChecksummedData.Builder>
    • mergeFrom

      public ChecksummedData.Builder mergeFrom(ChecksummedData other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChecksummedData.Builder>
      Throws:
      IOException
    • getData

      public com.google.protobuf.ByteString getData()
       Raw Data.
       
      bytes data = 3;
      Specified by:
      getData in interface ChecksummedDataOrBuilder
      Returns:
      The data.
    • setData

      public ChecksummedData.Builder setData(com.google.protobuf.ByteString value)
       Raw Data.
       
      bytes data = 3;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public ChecksummedData.Builder 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:
      hasCrc32CChecksum in interface ChecksummedDataOrBuilder
      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:
      getCrc32CChecksum in interface ChecksummedDataOrBuilder
      Returns:
      The crc32cChecksum.
    • setCrc32CChecksum

      public ChecksummedData.Builder setCrc32CChecksum(com.google.protobuf.Int64Value value)
       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

      public ChecksummedData.Builder mergeCrc32CChecksum(com.google.protobuf.Int64Value value)
       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

      public ChecksummedData.Builder 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:
      getCrc32CChecksumOrBuilder in interface ChecksummedDataOrBuilder