Interface ChecksummedDataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ChecksummedData, ChecksummedData.Builder

public interface ChecksummedDataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The data.
    int
    If set, the CRC32C digest of the content field.
    boolean
    If set, the CRC32C digest of the content field.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContent

      com.google.protobuf.ByteString getContent()
       The data.
       
      bytes content = 1 [ctype = CORD];
      Returns:
      The content.
    • hasCrc32C

      boolean hasCrc32C()
       If set, the CRC32C digest of the content field.
       
      optional fixed32 crc32c = 2;
      Returns:
      Whether the crc32c field is set.
    • getCrc32C

      int getCrc32C()
       If set, the CRC32C digest of the content field.
       
      optional fixed32 crc32c = 2;
      Returns:
      The crc32c.