Interface BitSequenceOrBuilder (3.15.7)

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
TypeDescription
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
TypeDescription
int

The padding.