Interface BitSequenceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BitSequence, BitSequence.Builder

public interface BitSequenceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    The bytes that encode the bit sequence.
    int
    The number of bits of the last byte in `bitmap` to ignore as "padding".

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getBitmap

      com.google.protobuf.ByteString getBitmap()
       The bytes that encode the bit sequence.
       May have a length of zero.
       
      bytes bitmap = 1;
      Returns:
      The bitmap.
    • getPadding

      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:
      The padding.