Interface ChecksummedDataOrBuilder (2.15.1)

public interface ChecksummedDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

The data.

bytes content = 1;

Returns
Type Description
ByteString

The content.

getCrc32C()

public abstract int getCrc32C()

If set, the CRC32C digest of the content field.

optional fixed32 crc32c = 2;

Returns
Type Description
int

The crc32c.

hasCrc32C()

public abstract boolean hasCrc32C()

If set, the CRC32C digest of the content field.

optional fixed32 crc32c = 2;

Returns
Type Description
boolean

Whether the crc32c field is set.