Interface ChecksummedDataOrBuilder (2.1.10)

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.

fixed32 crc32c = 2;

Returns
Type Description
int

The crc32c.

hasCrc32C()

public abstract boolean hasCrc32C()

If set, the CRC32C digest of the content field.

fixed32 crc32c = 2;

Returns
Type Description
boolean

Whether the crc32c field is set.