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

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

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

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


方法摘要
 TransactionCommands.TransactionOperation build()
           
 TransactionCommands.TransactionOperation buildPartial()
           
 TransactionCommands.TransactionOperation.Builder clear()
           
 TransactionCommands.TransactionOperation.Builder clearDataLength()
          optional int32 data_length = 4; 额外数据的长度
 TransactionCommands.TransactionOperation.Builder clearTransactionId()
          required string transaction_id = 3;
 TransactionCommands.TransactionOperation.Builder clearType()
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 TransactionCommands.TransactionOperation.Builder clearWasPrepared()
          required bool was_prepared = 2;
 TransactionCommands.TransactionOperation.Builder clone()
           
 int getDataLength()
          optional int32 data_length = 4; 额外数据的长度
 TransactionCommands.TransactionOperation getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 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;
 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()
           
 TransactionCommands.TransactionOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TransactionCommands.TransactionOperation.Builder mergeFrom(com.google.protobuf.Message other)
           
 TransactionCommands.TransactionOperation.Builder mergeFrom(TransactionCommands.TransactionOperation other)
           
 TransactionCommands.TransactionOperation.Builder setDataLength(int value)
          optional int32 data_length = 4; 额外数据的长度
 TransactionCommands.TransactionOperation.Builder setTransactionId(String value)
          required string transaction_id = 3;
 TransactionCommands.TransactionOperation.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
          required string transaction_id = 3;
 TransactionCommands.TransactionOperation.Builder setType(TransactionCommands.TransactionType value)
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 TransactionCommands.TransactionOperation.Builder setWasPrepared(boolean value)
          required bool was_prepared = 2;
 
从类 com.google.protobuf.GeneratedMessage.Builder 继承的方法
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
从类 com.google.protobuf.AbstractMessage.Builder 继承的方法
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
从类 com.google.protobuf.AbstractMessageLite.Builder 继承的方法
addAll, newUninitializedMessageException
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

方法详细信息

getDescriptor

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

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
指定者:
com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TransactionOperation.Builder> 中的 internalGetFieldAccessorTable

clear

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

clone

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

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
指定者:
接口 com.google.protobuf.Message.Builder 中的 getDescriptorForType
指定者:
接口 com.google.protobuf.MessageOrBuilder 中的 getDescriptorForType
覆盖:
com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TransactionOperation.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public TransactionCommands.TransactionOperation.Builder mergeFrom(com.google.protobuf.Message other)
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<TransactionCommands.TransactionOperation.Builder> 中的 mergeFrom

mergeFrom

public TransactionCommands.TransactionOperation.Builder mergeFrom(TransactionCommands.TransactionOperation other)

isInitialized

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

mergeFrom

public TransactionCommands.TransactionOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws IOException
指定者:
接口 com.google.protobuf.Message.Builder 中的 mergeFrom
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 mergeFrom
覆盖:
com.google.protobuf.AbstractMessage.Builder<TransactionCommands.TransactionOperation.Builder> 中的 mergeFrom
抛出:
IOException

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

setType

public TransactionCommands.TransactionOperation.Builder setType(TransactionCommands.TransactionType value)
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;


clearType

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


hasWasPrepared

public boolean hasWasPrepared()
required bool was_prepared = 2;

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

getWasPrepared

public boolean getWasPrepared()
required bool was_prepared = 2;

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

setWasPrepared

public TransactionCommands.TransactionOperation.Builder setWasPrepared(boolean value)
required bool was_prepared = 2;


clearWasPrepared

public TransactionCommands.TransactionOperation.Builder clearWasPrepared()
required bool was_prepared = 2;


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

setTransactionId

public TransactionCommands.TransactionOperation.Builder setTransactionId(String value)
required string transaction_id = 3;


clearTransactionId

public TransactionCommands.TransactionOperation.Builder clearTransactionId()
required string transaction_id = 3;


setTransactionIdBytes

public TransactionCommands.TransactionOperation.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
required string transaction_id = 3;


hasDataLength

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

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

getDataLength

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

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

setDataLength

public TransactionCommands.TransactionOperation.Builder setDataLength(int value)
optional int32 data_length = 4;
额外数据的长度
 


clearDataLength

public TransactionCommands.TransactionOperation.Builder clearDataLength()
optional int32 data_length = 4;
额外数据的长度
 



Copyright © 2010–2013. All rights reserved.