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

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

public static final class TransactionCommands.TxCommand.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TxCommand.Builder>
implements TransactionCommands.TxCommandOrBuilder

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


方法摘要
 TransactionCommands.TxCommand build()
           
 TransactionCommands.TxCommand buildPartial()
           
 TransactionCommands.TxCommand.Builder clear()
           
 TransactionCommands.TxCommand.Builder clearCmdContent()
          required bytes cmd_content = 2;
 TransactionCommands.TxCommand.Builder clearCmdType()
          required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;
 TransactionCommands.TxCommand.Builder clearForce()
          optional bool force = 3 [default = false];
 TransactionCommands.TxCommand.Builder clone()
           
 com.google.protobuf.ByteString getCmdContent()
          required bytes cmd_content = 2;
 TransactionCommands.TxCommandType getCmdType()
          required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;
 TransactionCommands.TxCommand getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 boolean getForce()
          optional bool force = 3 [default = false];
 boolean hasCmdContent()
          required bytes cmd_content = 2;
 boolean hasCmdType()
          required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;
 boolean hasForce()
          optional bool force = 3 [default = false];
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 TransactionCommands.TxCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TransactionCommands.TxCommand.Builder mergeFrom(com.google.protobuf.Message other)
           
 TransactionCommands.TxCommand.Builder mergeFrom(TransactionCommands.TxCommand other)
           
 TransactionCommands.TxCommand.Builder setCmdContent(com.google.protobuf.ByteString value)
          required bytes cmd_content = 2;
 TransactionCommands.TxCommand.Builder setCmdType(TransactionCommands.TxCommandType value)
          required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;
 TransactionCommands.TxCommand.Builder setForce(boolean value)
          optional bool force = 3 [default = false];
 
从类 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.TxCommand.Builder> 中的 internalGetFieldAccessorTable

clear

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

clone

public TransactionCommands.TxCommand.Builder clone()
指定者:
接口 com.google.protobuf.Message.Builder 中的 clone
指定者:
接口 com.google.protobuf.MessageLite.Builder 中的 clone
覆盖:
com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TxCommand.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.TxCommand.Builder> 中的 getDescriptorForType

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

isInitialized

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

mergeFrom

public TransactionCommands.TxCommand.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.TxCommand.Builder> 中的 mergeFrom
抛出:
IOException

hasCmdType

public boolean hasCmdType()
required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 hasCmdType

getCmdType

public TransactionCommands.TxCommandType getCmdType()
required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 getCmdType

setCmdType

public TransactionCommands.TxCommand.Builder setCmdType(TransactionCommands.TxCommandType value)
required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;


clearCmdType

public TransactionCommands.TxCommand.Builder clearCmdType()
required .com.taobao.tddl.dbproxy.protocol.TxCommandType cmdType = 1;


hasCmdContent

public boolean hasCmdContent()
required bytes cmd_content = 2;

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 hasCmdContent

getCmdContent

public com.google.protobuf.ByteString getCmdContent()
required bytes cmd_content = 2;

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 getCmdContent

setCmdContent

public TransactionCommands.TxCommand.Builder setCmdContent(com.google.protobuf.ByteString value)
required bytes cmd_content = 2;


clearCmdContent

public TransactionCommands.TxCommand.Builder clearCmdContent()
required bytes cmd_content = 2;


hasForce

public boolean hasForce()
optional bool force = 3 [default = false];

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 hasForce

getForce

public boolean getForce()
optional bool force = 3 [default = false];

指定者:
接口 TransactionCommands.TxCommandOrBuilder 中的 getForce

setForce

public TransactionCommands.TxCommand.Builder setForce(boolean value)
optional bool force = 3 [default = false];


clearForce

public TransactionCommands.TxCommand.Builder clearForce()
optional bool force = 3 [default = false];



Copyright © 2010–2013. All rights reserved.