public static final class PulsarApi.CommandAddPartitionToTxn.Builder extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn,PulsarApi.CommandAddPartitionToTxn.Builder> implements PulsarApi.CommandAddPartitionToTxnOrBuilder, ByteBufCodedInputStream.ByteBufMessageBuilder
parseUnknownFieldpublic void recycle()
public PulsarApi.CommandAddPartitionToTxn.Builder clear()
clear in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderclear in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn,PulsarApi.CommandAddPartitionToTxn.Builder>public PulsarApi.CommandAddPartitionToTxn.Builder clone()
clone in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderclone in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn,PulsarApi.CommandAddPartitionToTxn.Builder>public PulsarApi.CommandAddPartitionToTxn getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuildergetDefaultInstanceForType in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn,PulsarApi.CommandAddPartitionToTxn.Builder>public PulsarApi.CommandAddPartitionToTxn build()
build in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderpublic PulsarApi.CommandAddPartitionToTxn buildPartial()
buildPartial in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderpublic PulsarApi.CommandAddPartitionToTxn.Builder mergeFrom(PulsarApi.CommandAddPartitionToTxn other)
mergeFrom in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn,PulsarApi.CommandAddPartitionToTxn.Builder>public final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic PulsarApi.CommandAddPartitionToTxn.Builder mergeFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.BuildermergeFrom in class org.apache.pulsar.shaded.com.google.protobuf.v241.AbstractMessageLite.Builder<PulsarApi.CommandAddPartitionToTxn.Builder>IOExceptionpublic PulsarApi.CommandAddPartitionToTxn.Builder mergeFrom(ByteBufCodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface ByteBufCodedInputStream.ByteBufMessageBuilderIOExceptionpublic boolean hasRequestId()
hasRequestId in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic long getRequestId()
getRequestId in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic PulsarApi.CommandAddPartitionToTxn.Builder setRequestId(long value)
public PulsarApi.CommandAddPartitionToTxn.Builder clearRequestId()
public boolean hasTxnidLeastBits()
hasTxnidLeastBits in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic long getTxnidLeastBits()
getTxnidLeastBits in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic PulsarApi.CommandAddPartitionToTxn.Builder setTxnidLeastBits(long value)
public PulsarApi.CommandAddPartitionToTxn.Builder clearTxnidLeastBits()
public boolean hasTxnidMostBits()
hasTxnidMostBits in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic long getTxnidMostBits()
getTxnidMostBits in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic PulsarApi.CommandAddPartitionToTxn.Builder setTxnidMostBits(long value)
public PulsarApi.CommandAddPartitionToTxn.Builder clearTxnidMostBits()
public List<String> getPartitionsList()
getPartitionsList in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic int getPartitionsCount()
getPartitionsCount in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic String getPartitions(int index)
getPartitions in interface PulsarApi.CommandAddPartitionToTxnOrBuilderpublic PulsarApi.CommandAddPartitionToTxn.Builder setPartitions(int index, String value)
public PulsarApi.CommandAddPartitionToTxn.Builder addPartitions(String value)
public PulsarApi.CommandAddPartitionToTxn.Builder addAllPartitions(Iterable<String> values)
public PulsarApi.CommandAddPartitionToTxn.Builder clearPartitions()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.