Interface ChecksummedDataOrBuilder (2.46.0)

public interface ChecksummedDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Optional. The data.

bytes content = 1 [ctype = CORD, (.google.api.field_behavior) = OPTIONAL];

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.