Class ReplicatedSubscriptionsSnapshot
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.ReplicatedSubscriptionsSnapshot
-
public final class ReplicatedSubscriptionsSnapshot extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReplicatedSubscriptionsSnapshot()
-
Method Summary
-
-
-
Method Detail
-
hasSnapshotId
public boolean hasSnapshotId()
-
getSnapshotId
public java.lang.String getSnapshotId()
-
setSnapshotId
public ReplicatedSubscriptionsSnapshot setSnapshotId(java.lang.String snapshotId)
-
clearSnapshotId
public ReplicatedSubscriptionsSnapshot clearSnapshotId()
-
hasLocalMessageId
public boolean hasLocalMessageId()
-
getLocalMessageId
public MarkersMessageIdData getLocalMessageId()
-
setLocalMessageId
public MarkersMessageIdData setLocalMessageId()
-
clearLocalMessageId
public ReplicatedSubscriptionsSnapshot clearLocalMessageId()
-
getClustersCount
public int getClustersCount()
-
getClusterAt
public ClusterMessageId getClusterAt(int idx)
-
getClustersList
public java.util.List<ClusterMessageId> getClustersList()
-
addCluster
public ClusterMessageId addCluster()
-
addAllClusters
public ReplicatedSubscriptionsSnapshot addAllClusters(java.lang.Iterable<ClusterMessageId> clusters)
-
clearClusters
public ReplicatedSubscriptionsSnapshot clearClusters()
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b)
-
getSerializedSize
public int getSerializedSize()
-
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size)
-
clear
public ReplicatedSubscriptionsSnapshot clear()
-
copyFrom
public ReplicatedSubscriptionsSnapshot copyFrom(ReplicatedSubscriptionsSnapshot _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-