com.taobao.metamorphosis.server.transaction.store
类 TransactionCommands.TxCommand
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TxCommand
- 所有已实现的接口:
- com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransactionCommands.TxCommandOrBuilder, Serializable
- 包容类:
- TransactionCommands
public static final class TransactionCommands.TxCommand
- extends com.google.protobuf.GeneratedMessage
- implements TransactionCommands.TxCommandOrBuilder
Protobuf type com.taobao.tddl.dbproxy.protocol.TxCommand
- 另请参见:
- 序列化表格
从类 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> |
从类 com.google.protobuf.GeneratedMessage 继承的字段 |
alwaysUseFieldBuilders |
从类 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 |
从接口 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.TxCommand> PARSER
CMDTYPE_FIELD_NUMBER
public static final int CMDTYPE_FIELD_NUMBER
- 另请参见:
- 常量字段值
CMD_CONTENT_FIELD_NUMBER
public static final int CMD_CONTENT_FIELD_NUMBER
- 另请参见:
- 常量字段值
FORCE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
- 另请参见:
- 常量字段值
getDefaultInstance
public static TransactionCommands.TxCommand getDefaultInstance()
getDefaultInstanceForType
public TransactionCommands.TxCommand 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.TxCommand> getParserForType()
- 指定者:
- 接口
com.google.protobuf.Message
中的 getParserForType
- 指定者:
- 接口
com.google.protobuf.MessageLite
中的 getParserForType
- 覆盖:
- 类
com.google.protobuf.GeneratedMessage
中的 getParserForType
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
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
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
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.TxCommand parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TransactionCommands.TxCommand parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TransactionCommands.TxCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TransactionCommands.TxCommand parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
parseFrom
public static TransactionCommands.TxCommand parseFrom(InputStream input)
throws IOException
- 抛出:
IOException
parseFrom
public static TransactionCommands.TxCommand parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- 抛出:
IOException
parseDelimitedFrom
public static TransactionCommands.TxCommand parseDelimitedFrom(InputStream input)
throws IOException
- 抛出:
IOException
parseDelimitedFrom
public static TransactionCommands.TxCommand parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- 抛出:
IOException
parseFrom
public static TransactionCommands.TxCommand parseFrom(com.google.protobuf.CodedInputStream input)
throws IOException
- 抛出:
IOException
parseFrom
public static TransactionCommands.TxCommand parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- 抛出:
IOException
newBuilder
public static TransactionCommands.TxCommand.Builder newBuilder()
newBuilderForType
public TransactionCommands.TxCommand.Builder newBuilderForType()
- 指定者:
- 接口
com.google.protobuf.Message
中的 newBuilderForType
- 指定者:
- 接口
com.google.protobuf.MessageLite
中的 newBuilderForType
newBuilder
public static TransactionCommands.TxCommand.Builder newBuilder(TransactionCommands.TxCommand prototype)
toBuilder
public TransactionCommands.TxCommand.Builder toBuilder()
- 指定者:
- 接口
com.google.protobuf.Message
中的 toBuilder
- 指定者:
- 接口
com.google.protobuf.MessageLite
中的 toBuilder
newBuilderForType
protected TransactionCommands.TxCommand.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- 指定者:
- 类
com.google.protobuf.GeneratedMessage
中的 newBuilderForType
Copyright © 2010–2013. All rights reserved.