|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
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
public static final class TransactionCommands.TransactionOperation.Builder
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 |
方法详细信息 |
---|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TransactionOperation.Builder>
中的 internalGetFieldAccessorTable
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
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
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
public TransactionCommands.TransactionOperation getDefaultInstanceForType()
com.google.protobuf.MessageLiteOrBuilder
中的 getDefaultInstanceForType
com.google.protobuf.MessageOrBuilder
中的 getDefaultInstanceForType
public TransactionCommands.TransactionOperation build()
com.google.protobuf.Message.Builder
中的 build
com.google.protobuf.MessageLite.Builder
中的 build
public TransactionCommands.TransactionOperation buildPartial()
com.google.protobuf.Message.Builder
中的 buildPartial
com.google.protobuf.MessageLite.Builder
中的 buildPartial
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
public TransactionCommands.TransactionOperation.Builder mergeFrom(TransactionCommands.TransactionOperation other)
public final boolean isInitialized()
com.google.protobuf.MessageLiteOrBuilder
中的 isInitialized
com.google.protobuf.GeneratedMessage.Builder<TransactionCommands.TransactionOperation.Builder>
中的 isInitialized
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
public boolean hasType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
TransactionCommands.TransactionOperationOrBuilder
中的 hasType
public TransactionCommands.TransactionType getType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
TransactionCommands.TransactionOperationOrBuilder
中的 getType
public TransactionCommands.TransactionOperation.Builder setType(TransactionCommands.TransactionType value)
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
public TransactionCommands.TransactionOperation.Builder clearType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
public boolean hasWasPrepared()
required bool was_prepared = 2;
TransactionCommands.TransactionOperationOrBuilder
中的 hasWasPrepared
public boolean getWasPrepared()
required bool was_prepared = 2;
TransactionCommands.TransactionOperationOrBuilder
中的 getWasPrepared
public TransactionCommands.TransactionOperation.Builder setWasPrepared(boolean value)
required bool was_prepared = 2;
public TransactionCommands.TransactionOperation.Builder clearWasPrepared()
required bool was_prepared = 2;
public boolean hasTransactionId()
required string transaction_id = 3;
TransactionCommands.TransactionOperationOrBuilder
中的 hasTransactionId
public String getTransactionId()
required string transaction_id = 3;
TransactionCommands.TransactionOperationOrBuilder
中的 getTransactionId
public com.google.protobuf.ByteString getTransactionIdBytes()
required string transaction_id = 3;
TransactionCommands.TransactionOperationOrBuilder
中的 getTransactionIdBytes
public TransactionCommands.TransactionOperation.Builder setTransactionId(String value)
required string transaction_id = 3;
public TransactionCommands.TransactionOperation.Builder clearTransactionId()
required string transaction_id = 3;
public TransactionCommands.TransactionOperation.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
required string transaction_id = 3;
public boolean hasDataLength()
optional int32 data_length = 4;
额外数据的长度
TransactionCommands.TransactionOperationOrBuilder
中的 hasDataLength
public int getDataLength()
optional int32 data_length = 4;
额外数据的长度
TransactionCommands.TransactionOperationOrBuilder
中的 getDataLength
public TransactionCommands.TransactionOperation.Builder setDataLength(int value)
optional int32 data_length = 4;
额外数据的长度
public TransactionCommands.TransactionOperation.Builder clearDataLength()
optional int32 data_length = 4;
额外数据的长度
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |