Package com.google.firestore.v1
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 TypeMethodDescriptioncom.google.protobuf.ByteStringThe bytes that encode the bit sequence.intThe number of bits of the last byte in `bitmap` to ignore as "padding".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-