Class SnapshotSegmentMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.broker.delayed.proto.SnapshotSegmentMetadata
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SnapshotSegmentMetadataOrBuilder

public final class SnapshotSegmentMetadata extends com.google.protobuf.GeneratedMessageV3 implements SnapshotSegmentMetadataOrBuilder
Protobuf type pulsar.delay.SnapshotSegmentMetadata
See Also:
  • Field Details

    • DELAYED_INDEX_BIT_MAP_FIELD_NUMBER

      public static final int DELAYED_INDEX_BIT_MAP_FIELD_NUMBER
      See Also:
    • MAX_SCHEDULE_TIMESTAMP_FIELD_NUMBER

      public static final int MAX_SCHEDULE_TIMESTAMP_FIELD_NUMBER
      See Also:
    • MIN_SCHEDULE_TIMESTAMP_FIELD_NUMBER

      public static final int MIN_SCHEDULE_TIMESTAMP_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<SnapshotSegmentMetadata> PARSER
      Deprecated.
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDelayedIndexBitMapCount

      public int getDelayedIndexBitMapCount()
      Description copied from interface: SnapshotSegmentMetadataOrBuilder
      map<uint64, bytes> delayed_index_bit_map = 1;
      Specified by:
      getDelayedIndexBitMapCount in interface SnapshotSegmentMetadataOrBuilder
    • containsDelayedIndexBitMap

      public boolean containsDelayedIndexBitMap(long key)
      map<uint64, bytes> delayed_index_bit_map = 1;
      Specified by:
      containsDelayedIndexBitMap in interface SnapshotSegmentMetadataOrBuilder
    • getDelayedIndexBitMap

      @Deprecated public Map<Long,com.google.protobuf.ByteString> getDelayedIndexBitMap()
      Deprecated.
      Specified by:
      getDelayedIndexBitMap in interface SnapshotSegmentMetadataOrBuilder
    • getDelayedIndexBitMapMap

      public Map<Long,com.google.protobuf.ByteString> getDelayedIndexBitMapMap()
      map<uint64, bytes> delayed_index_bit_map = 1;
      Specified by:
      getDelayedIndexBitMapMap in interface SnapshotSegmentMetadataOrBuilder
    • getDelayedIndexBitMapOrDefault

      public com.google.protobuf.ByteString getDelayedIndexBitMapOrDefault(long key, com.google.protobuf.ByteString defaultValue)
      map<uint64, bytes> delayed_index_bit_map = 1;
      Specified by:
      getDelayedIndexBitMapOrDefault in interface SnapshotSegmentMetadataOrBuilder
    • getDelayedIndexBitMapOrThrow

      public com.google.protobuf.ByteString getDelayedIndexBitMapOrThrow(long key)
      map<uint64, bytes> delayed_index_bit_map = 1;
      Specified by:
      getDelayedIndexBitMapOrThrow in interface SnapshotSegmentMetadataOrBuilder
    • hasMaxScheduleTimestamp

      public boolean hasMaxScheduleTimestamp()
      required uint64 max_schedule_timestamp = 2;
      Specified by:
      hasMaxScheduleTimestamp in interface SnapshotSegmentMetadataOrBuilder
      Returns:
      Whether the maxScheduleTimestamp field is set.
    • getMaxScheduleTimestamp

      public long getMaxScheduleTimestamp()
      required uint64 max_schedule_timestamp = 2;
      Specified by:
      getMaxScheduleTimestamp in interface SnapshotSegmentMetadataOrBuilder
      Returns:
      The maxScheduleTimestamp.
    • hasMinScheduleTimestamp

      public boolean hasMinScheduleTimestamp()
      required uint64 min_schedule_timestamp = 3;
      Specified by:
      hasMinScheduleTimestamp in interface SnapshotSegmentMetadataOrBuilder
      Returns:
      Whether the minScheduleTimestamp field is set.
    • getMinScheduleTimestamp

      public long getMinScheduleTimestamp()
      required uint64 min_schedule_timestamp = 3;
      Specified by:
      getMinScheduleTimestamp in interface SnapshotSegmentMetadataOrBuilder
      Returns:
      The minScheduleTimestamp.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SnapshotSegmentMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SnapshotSegmentMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SnapshotSegmentMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SnapshotSegmentMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SnapshotSegmentMetadata.Builder newBuilder()
    • newBuilder

      public static SnapshotSegmentMetadata.Builder newBuilder(SnapshotSegmentMetadata prototype)
    • toBuilder

      public SnapshotSegmentMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SnapshotSegmentMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SnapshotSegmentMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SnapshotSegmentMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<SnapshotSegmentMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SnapshotSegmentMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder