public static final class PulsarApi.CommandNewTxn extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.CommandNewTxnOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.CommandNewTxn.Builder |
org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
TC_ID_FIELD_NUMBER |
static int |
TXN_TTL_SECONDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PulsarApi.CommandNewTxn |
getDefaultInstance() |
PulsarApi.CommandNewTxn |
getDefaultInstanceForType() |
long |
getRequestId() |
int |
getSerializedSize() |
long |
getTcId() |
long |
getTxnTtlSeconds() |
boolean |
hasRequestId() |
boolean |
hasTcId() |
boolean |
hasTxnTtlSeconds() |
boolean |
isInitialized() |
static PulsarApi.CommandNewTxn.Builder |
newBuilder() |
static PulsarApi.CommandNewTxn.Builder |
newBuilder(PulsarApi.CommandNewTxn prototype) |
PulsarApi.CommandNewTxn.Builder |
newBuilderForType() |
static PulsarApi.CommandNewTxn |
parseDelimitedFrom(InputStream input) |
static PulsarApi.CommandNewTxn |
parseDelimitedFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.CommandNewTxn |
parseFrom(byte[] data) |
static PulsarApi.CommandNewTxn |
parseFrom(byte[] data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.CommandNewTxn |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) |
static PulsarApi.CommandNewTxn |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.CommandNewTxn |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) |
static PulsarApi.CommandNewTxn |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.CommandNewTxn |
parseFrom(InputStream input) |
static PulsarApi.CommandNewTxn |
parseFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
void |
recycle() |
PulsarApi.CommandNewTxn.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(ByteBufCodedOutputStream output) |
void |
writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output) |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int REQUEST_ID_FIELD_NUMBER
public static final int TXN_TTL_SECONDS_FIELD_NUMBER
public static final int TC_ID_FIELD_NUMBER
public void recycle()
public static PulsarApi.CommandNewTxn getDefaultInstance()
public PulsarApi.CommandNewTxn getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasRequestId()
hasRequestId in interface PulsarApi.CommandNewTxnOrBuilderpublic long getRequestId()
getRequestId in interface PulsarApi.CommandNewTxnOrBuilderpublic boolean hasTxnTtlSeconds()
hasTxnTtlSeconds in interface PulsarApi.CommandNewTxnOrBuilderpublic long getTxnTtlSeconds()
getTxnTtlSeconds in interface PulsarApi.CommandNewTxnOrBuilderpublic boolean hasTcId()
hasTcId in interface PulsarApi.CommandNewTxnOrBuilderpublic long getTcId()
getTcId in interface PulsarApi.CommandNewTxnOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic void writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteIOExceptionpublic void writeTo(ByteBufCodedOutputStream output) throws IOException
writeTo in interface ByteBufCodedOutputStream.ByteBufGeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface ByteBufCodedOutputStream.ByteBufGeneratedMessagegetSerializedSize in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLiteObjectStreamExceptionpublic static PulsarApi.CommandNewTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandNewTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandNewTxn parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandNewTxn parseFrom(byte[] data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandNewTxn parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandNewTxn.Builder newBuilder()
public PulsarApi.CommandNewTxn.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.CommandNewTxn.Builder newBuilder(PulsarApi.CommandNewTxn prototype)
public PulsarApi.CommandNewTxn.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.