Class ReplicatedSubscriptionsUpdate
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.ReplicatedSubscriptionsUpdate
-
public final class ReplicatedSubscriptionsUpdate extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReplicatedSubscriptionsUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicatedSubscriptionsUpdate
addAllClusters(java.lang.Iterable<ClusterMessageId> clusters)
ClusterMessageId
addCluster()
ReplicatedSubscriptionsUpdate
clear()
ReplicatedSubscriptionsUpdate
clearClusters()
ReplicatedSubscriptionsUpdate
clearSubscriptionName()
ReplicatedSubscriptionsUpdate
copyFrom(ReplicatedSubscriptionsUpdate _other)
ClusterMessageId
getClusterAt(int idx)
int
getClustersCount()
java.util.List<ClusterMessageId>
getClustersList()
int
getSerializedSize()
java.lang.String
getSubscriptionName()
boolean
hasSubscriptionName()
void
parseFrom(byte[] a)
void
parseFrom(io.netty.buffer.ByteBuf _buffer, int _size)
ReplicatedSubscriptionsUpdate
setSubscriptionName(java.lang.String subscriptionName)
byte[]
toByteArray()
int
writeTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasSubscriptionName
public boolean hasSubscriptionName()
-
getSubscriptionName
public java.lang.String getSubscriptionName()
-
setSubscriptionName
public ReplicatedSubscriptionsUpdate setSubscriptionName(java.lang.String subscriptionName)
-
clearSubscriptionName
public ReplicatedSubscriptionsUpdate clearSubscriptionName()
-
getClustersCount
public int getClustersCount()
-
getClusterAt
public ClusterMessageId getClusterAt(int idx)
-
getClustersList
public java.util.List<ClusterMessageId> getClustersList()
-
addCluster
public ClusterMessageId addCluster()
-
addAllClusters
public ReplicatedSubscriptionsUpdate addAllClusters(java.lang.Iterable<ClusterMessageId> clusters)
-
clearClusters
public ReplicatedSubscriptionsUpdate 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 ReplicatedSubscriptionsUpdate clear()
-
copyFrom
public ReplicatedSubscriptionsUpdate copyFrom(ReplicatedSubscriptionsUpdate _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-