Interface ChecksummedDataOrBuilder (2.9.2)

public interface ChecksummedDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

The data.

bytes content = 1;

Returns
TypeDescription
ByteString

The content.

getCrc32C()

public abstract int getCrc32C()

If set, the CRC32C digest of the content field.

optional fixed32 crc32c = 2;

Returns
TypeDescription
int

The crc32c.

hasCrc32C()

public abstract boolean hasCrc32C()

If set, the CRC32C digest of the content field.

optional fixed32 crc32c = 2;

Returns
TypeDescription
boolean

Whether the crc32c field is set.