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

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

public static final class TransactionCommands.AppendMessageCommand.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.AppendMessageCommand.Builder>
implements TransactionCommands.AppendMessageCommandOrBuilder

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


方法摘要
 TransactionCommands.AppendMessageCommand build()
           
 TransactionCommands.AppendMessageCommand buildPartial()
           
 TransactionCommands.AppendMessageCommand.Builder clear()
           
 TransactionCommands.AppendMessageCommand.Builder clearMessageId()
          required int64 message_id = 1;
 TransactionCommands.AppendMessageCommand.Builder clearPutCommand()
          required bytes put_command = 2;
 TransactionCommands.AppendMessageCommand.Builder clone()
           
 TransactionCommands.AppendMessageCommand getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getMessageId()
          required int64 message_id = 1;
 com.google.protobuf.ByteString getPutCommand()
          required bytes put_command = 2;
 boolean hasMessageId()
          required int64 message_id = 1;
 boolean hasPutCommand()
          required bytes put_command = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 TransactionCommands.AppendMessageCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 TransactionCommands.AppendMessageCommand.Builder mergeFrom(com.google.protobuf.Message other)
           
 TransactionCommands.AppendMessageCommand.Builder mergeFrom(TransactionCommands.AppendMessageCommand other)
           
 TransactionCommands.AppendMessageCommand.Builder setMessageId(long value)
          required int64 message_id = 1;
 TransactionCommands.AppendMessageCommand.Builder setPutCommand(com.google.protobuf.ByteString value)
          required bytes put_command = 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.AppendMessageCommand.Builder> 中的 internalGetFieldAccessorTable

clear

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

clone

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

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

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

mergeFrom

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

isInitialized

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

mergeFrom

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

hasMessageId

public boolean hasMessageId()
required int64 message_id = 1;

指定者:
接口 TransactionCommands.AppendMessageCommandOrBuilder 中的 hasMessageId

getMessageId

public long getMessageId()
required int64 message_id = 1;

指定者:
接口 TransactionCommands.AppendMessageCommandOrBuilder 中的 getMessageId

setMessageId

public TransactionCommands.AppendMessageCommand.Builder setMessageId(long value)
required int64 message_id = 1;


clearMessageId

public TransactionCommands.AppendMessageCommand.Builder clearMessageId()
required int64 message_id = 1;


hasPutCommand

public boolean hasPutCommand()
required bytes put_command = 2;

指定者:
接口 TransactionCommands.AppendMessageCommandOrBuilder 中的 hasPutCommand

getPutCommand

public com.google.protobuf.ByteString getPutCommand()
required bytes put_command = 2;

指定者:
接口 TransactionCommands.AppendMessageCommandOrBuilder 中的 getPutCommand

setPutCommand

public TransactionCommands.AppendMessageCommand.Builder setPutCommand(com.google.protobuf.ByteString value)
required bytes put_command = 2;


clearPutCommand

public TransactionCommands.AppendMessageCommand.Builder clearPutCommand()
required bytes put_command = 2;



Copyright © 2010–2013. All rights reserved.