Interface BitSequenceOrBuilder (3.26.5)

public interface BitSequenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBitmap()

public abstract ByteString getBitmap()

The bytes that encode the bit sequence. May have a length of zero.

bytes bitmap = 1;

Returns
Type Description
ByteString

The bitmap.

getPadding()

public abstract int getPadding()

The number of bits of the last byte in bitmap to ignore as "padding". If the length of bitmap is zero, then this value must be 0. Otherwise, this value must be between 0 and 7, inclusive.

int32 padding = 2;

Returns
Type Description
int

The padding.