com.taobao.metamorphosis.server.transaction.store
类 TransactionCommands.TransactionOperation

java.lang.Object
  继承者 com.google.protobuf.AbstractMessageLite
      继承者 com.google.protobuf.AbstractMessage
          继承者 com.google.protobuf.GeneratedMessage
              继承者 com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TransactionOperation
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransactionCommands.TransactionOperationOrBuilder, Serializable
包容类:
TransactionCommands

public static final class TransactionCommands.TransactionOperation
extends com.google.protobuf.GeneratedMessage
implements TransactionCommands.TransactionOperationOrBuilder

Protobuf type com.taobao.tddl.dbproxy.protocol.TransactionOperation

另请参见:
序列化表格

嵌套类摘要
static class TransactionCommands.TransactionOperation.Builder
          Protobuf type com.taobao.tddl.dbproxy.protocol.TransactionOperation
 
从类 com.google.protobuf.GeneratedMessage 继承的嵌套类/接口
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
字段摘要
static int DATA_LENGTH_FIELD_NUMBER
           
static com.google.protobuf.Parser<TransactionCommands.TransactionOperation> PARSER
           
static int TRANSACTION_ID_FIELD_NUMBER
           
static int TYPE_FIELD_NUMBER
           
static int WAS_PREPARED_FIELD_NUMBER
           
 
从类 com.google.protobuf.GeneratedMessage 继承的字段
alwaysUseFieldBuilders
 
方法摘要
 int getDataLength()
          optional int32 data_length = 4; 额外数据的长度
static TransactionCommands.TransactionOperation getDefaultInstance()
           
 TransactionCommands.TransactionOperation getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Parser<TransactionCommands.TransactionOperation> getParserForType()
           
 int getSerializedSize()
           
 String getTransactionId()
          required string transaction_id = 3;
 com.google.protobuf.ByteString getTransactionIdBytes()
          required string transaction_id = 3;
 TransactionCommands.TransactionType getType()
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 boolean getWasPrepared()
          required bool was_prepared = 2;
 boolean hasDataLength()
          optional int32 data_length = 4; 额外数据的长度
 boolean hasTransactionId()
          required string transaction_id = 3;
 boolean hasType()
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 boolean hasWasPrepared()
          required bool was_prepared = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
static TransactionCommands.TransactionOperation.Builder newBuilder()
           
static TransactionCommands.TransactionOperation.Builder newBuilder(TransactionCommands.TransactionOperation prototype)
           
 TransactionCommands.TransactionOperation.Builder newBuilderForType()
           
protected  TransactionCommands.TransactionOperation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static TransactionCommands.TransactionOperation parseDelimitedFrom(InputStream input)
           
static TransactionCommands.TransactionOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static TransactionCommands.TransactionOperation parseFrom(byte[] data)
           
static TransactionCommands.TransactionOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.ByteString data)
           
static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.CodedInputStream input)
           
static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static TransactionCommands.TransactionOperation parseFrom(InputStream input)
           
static TransactionCommands.TransactionOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TransactionCommands.TransactionOperation.Builder toBuilder()
           
protected  Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
从类 com.google.protobuf.GeneratedMessage 继承的方法
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
 
从类 com.google.protobuf.AbstractMessage 继承的方法
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
 
从类 com.google.protobuf.AbstractMessageLite 继承的方法
toByteArray, toByteString, writeDelimitedTo, writeTo
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasField
 
从接口 com.google.protobuf.MessageLite 继承的方法
toByteArray, toByteString, writeDelimitedTo, writeTo
 

字段详细信息

PARSER

public static com.google.protobuf.Parser<TransactionCommands.TransactionOperation> PARSER

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
另请参见:
常量字段值

WAS_PREPARED_FIELD_NUMBER

public static final int WAS_PREPARED_FIELD_NUMBER
另请参见:
常量字段值

TRANSACTION_ID_FIELD_NUMBER

public static final int TRANSACTION_ID_FIELD_NUMBER
另请参见:
常量字段值

DATA_LENGTH_FIELD_NUMBER

public static final int DATA_LENGTH_FIELD_NUMBER
另请参见:
常量字段值
方法详细信息

getDefaultInstance

public static TransactionCommands.TransactionOperation getDefaultInstance()

getDefaultInstanceForType

public TransactionCommands.TransactionOperation getDefaultInstanceForType()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 getDefaultInstanceForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDefaultInstanceForType

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getUnknownFields
覆盖:
com.google.protobuf.GeneratedMessage 中的 getUnknownFields

getDescriptor

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

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage 中的 internalGetFieldAccessorTable

getParserForType

public com.google.protobuf.Parser<TransactionCommands.TransactionOperation> getParserForType()
指定者:
接口 com.google.protobuf.Message 中的 getParserForType
指定者:
接口 com.google.protobuf.MessageLite 中的 getParserForType
覆盖:
com.google.protobuf.GeneratedMessage 中的 getParserForType

hasType

public boolean hasType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 hasType

getType

public TransactionCommands.TransactionType getType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 getType

hasWasPrepared

public boolean hasWasPrepared()
required bool was_prepared = 2;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 hasWasPrepared

getWasPrepared

public boolean getWasPrepared()
required bool was_prepared = 2;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 getWasPrepared

hasTransactionId

public boolean hasTransactionId()
required string transaction_id = 3;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 hasTransactionId

getTransactionId

public String getTransactionId()
required string transaction_id = 3;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 getTransactionId

getTransactionIdBytes

public com.google.protobuf.ByteString getTransactionIdBytes()
required string transaction_id = 3;

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 getTransactionIdBytes

hasDataLength

public boolean hasDataLength()
optional int32 data_length = 4;
额外数据的长度
 

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 hasDataLength

getDataLength

public int getDataLength()
optional int32 data_length = 4;
额外数据的长度
 

指定者:
接口 TransactionCommands.TransactionOperationOrBuilder 中的 getDataLength

isInitialized

public final boolean isInitialized()
指定者:
接口 com.google.protobuf.MessageLiteOrBuilder 中的 isInitialized
覆盖:
com.google.protobuf.GeneratedMessage 中的 isInitialized

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws IOException
指定者:
接口 com.google.protobuf.MessageLite 中的 writeTo
覆盖:
com.google.protobuf.AbstractMessage 中的 writeTo
抛出:
IOException

getSerializedSize

public int getSerializedSize()
指定者:
接口 com.google.protobuf.MessageLite 中的 getSerializedSize
覆盖:
com.google.protobuf.AbstractMessage 中的 getSerializedSize

writeReplace

protected Object writeReplace()
                       throws ObjectStreamException
覆盖:
com.google.protobuf.GeneratedMessage 中的 writeReplace
抛出:
ObjectStreamException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.ByteString data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.ByteString data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(byte[] data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(byte[] data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
抛出:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(InputStream input)
                                                          throws IOException
抛出:
IOException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(InputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws IOException
抛出:
IOException

parseDelimitedFrom

public static TransactionCommands.TransactionOperation parseDelimitedFrom(InputStream input)
                                                                   throws IOException
抛出:
IOException

parseDelimitedFrom

public static TransactionCommands.TransactionOperation parseDelimitedFrom(InputStream input,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws IOException
抛出:
IOException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.CodedInputStream input)
                                                          throws IOException
抛出:
IOException

parseFrom

public static TransactionCommands.TransactionOperation parseFrom(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws IOException
抛出:
IOException

newBuilder

public static TransactionCommands.TransactionOperation.Builder newBuilder()

newBuilderForType

public TransactionCommands.TransactionOperation.Builder newBuilderForType()
指定者:
接口 com.google.protobuf.Message 中的 newBuilderForType
指定者:
接口 com.google.protobuf.MessageLite 中的 newBuilderForType

newBuilder

public static TransactionCommands.TransactionOperation.Builder newBuilder(TransactionCommands.TransactionOperation prototype)

toBuilder

public TransactionCommands.TransactionOperation.Builder toBuilder()
指定者:
接口 com.google.protobuf.Message 中的 toBuilder
指定者:
接口 com.google.protobuf.MessageLite 中的 toBuilder

newBuilderForType

protected TransactionCommands.TransactionOperation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
指定者:
com.google.protobuf.GeneratedMessage 中的 newBuilderForType


Copyright © 2010–2013. All rights reserved.