类 LedgerProto.SendTransactionRequest.Transaction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.Transaction.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,LedgerProto.SendTransactionRequest.TransactionOrBuilder
public static final class LedgerProto.SendTransactionRequest.Transaction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
implements LedgerProto.SendTransactionRequest.TransactionOrBuilder
Protobuf type
bdware.bdledger.api.SendTransactionRequest.Transaction
-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
build()
clear()
bytes data = 5;
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
bytes from = 2;
uint64 nonce = 3;
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearTo()
bytes to = 4;
.bdware.bdledger.api.TransactionType type = 1;
clone()
com.google.protobuf.ByteString
getData()
bytes data = 5;
static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getFrom()
bytes from = 2;
long
getNonce()
uint64 nonce = 3;
com.google.protobuf.ByteString
getTo()
bytes to = 4;
getType()
.bdware.bdledger.api.TransactionType type = 1;
int
.bdware.bdledger.api.TransactionType type = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
boolean
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
mergeFrom(com.google.protobuf.Message other)
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setData(com.google.protobuf.ByteString value)
bytes data = 5;
setFrom(com.google.protobuf.ByteString value)
bytes from = 2;
setNonce(long value)
uint64 nonce = 3;
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setTo(com.google.protobuf.ByteString value)
bytes to = 4;
setType(CommonProto.TransactionType value)
.bdware.bdledger.api.TransactionType type = 1;
setTypeValue(int value)
.bdware.bdledger.api.TransactionType type = 1;
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
clear
- 指定者:
clear
在接口中com.google.protobuf.Message.Builder
- 指定者:
clear
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clear
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType
在接口中com.google.protobuf.Message.Builder
- 指定者:
getDescriptorForType
在接口中com.google.protobuf.MessageOrBuilder
- 覆盖:
getDescriptorForType
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageLiteOrBuilder
- 指定者:
getDefaultInstanceForType
在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build
在接口中com.google.protobuf.Message.Builder
- 指定者:
build
在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial
在接口中com.google.protobuf.Message.Builder
- 指定者:
buildPartial
在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone
在接口中com.google.protobuf.Message.Builder
- 指定者:
clone
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
clone
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
setField
public LedgerProto.SendTransactionRequest.Transaction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
clearField
public LedgerProto.SendTransactionRequest.Transaction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
clearOneof
public LedgerProto.SendTransactionRequest.Transaction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof
在接口中com.google.protobuf.Message.Builder
- 覆盖:
clearOneof
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
setRepeatedField
public LedgerProto.SendTransactionRequest.Transaction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- 指定者:
setRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
addRepeatedField
public LedgerProto.SendTransactionRequest.Transaction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField
在接口中com.google.protobuf.Message.Builder
- 覆盖:
addRepeatedField
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
mergeFrom
public LedgerProto.SendTransactionRequest.Transaction.Builder mergeFrom(com.google.protobuf.Message other)- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
mergeFrom
public LedgerProto.SendTransactionRequest.Transaction.Builder mergeFrom(LedgerProto.SendTransactionRequest.Transaction other) -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized
在接口中com.google.protobuf.MessageLiteOrBuilder
- 覆盖:
isInitialized
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
mergeFrom
public LedgerProto.SendTransactionRequest.Transaction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 指定者:
mergeFrom
在接口中com.google.protobuf.Message.Builder
- 指定者:
mergeFrom
在接口中com.google.protobuf.MessageLite.Builder
- 覆盖:
mergeFrom
在类中com.google.protobuf.AbstractMessage.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
- 抛出:
IOException
-
getTypeValue
public int getTypeValue().bdware.bdledger.api.TransactionType type = 1;
- 指定者:
getTypeValue
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The enum numeric value on the wire for type.
-
setTypeValue
.bdware.bdledger.api.TransactionType type = 1;
- 参数:
value
- The enum numeric value on the wire for type to set.- 返回:
- This builder for chaining.
-
getType
.bdware.bdledger.api.TransactionType type = 1;
- 指定者:
getType
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The type.
-
setType
public LedgerProto.SendTransactionRequest.Transaction.Builder setType(CommonProto.TransactionType value).bdware.bdledger.api.TransactionType type = 1;
- 参数:
value
- The type to set.- 返回:
- This builder for chaining.
-
clearType
.bdware.bdledger.api.TransactionType type = 1;
- 返回:
- This builder for chaining.
-
getFrom
public com.google.protobuf.ByteString getFrom()bytes from = 2;
- 指定者:
getFrom
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The from.
-
setFrom
public LedgerProto.SendTransactionRequest.Transaction.Builder setFrom(com.google.protobuf.ByteString value)bytes from = 2;
- 参数:
value
- The from to set.- 返回:
- This builder for chaining.
-
clearFrom
bytes from = 2;
- 返回:
- This builder for chaining.
-
getNonce
public long getNonce()uint64 nonce = 3;
- 指定者:
getNonce
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The nonce.
-
setNonce
uint64 nonce = 3;
- 参数:
value
- The nonce to set.- 返回:
- This builder for chaining.
-
clearNonce
uint64 nonce = 3;
- 返回:
- This builder for chaining.
-
getTo
public com.google.protobuf.ByteString getTo()bytes to = 4;
- 指定者:
getTo
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The to.
-
setTo
public LedgerProto.SendTransactionRequest.Transaction.Builder setTo(com.google.protobuf.ByteString value)bytes to = 4;
- 参数:
value
- The to to set.- 返回:
- This builder for chaining.
-
clearTo
bytes to = 4;
- 返回:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 5;
- 指定者:
getData
在接口中LedgerProto.SendTransactionRequest.TransactionOrBuilder
- 返回:
- The data.
-
setData
public LedgerProto.SendTransactionRequest.Transaction.Builder setData(com.google.protobuf.ByteString value)bytes data = 5;
- 参数:
value
- The data to set.- 返回:
- This builder for chaining.
-
clearData
bytes data = 5;
- 返回:
- This builder for chaining.
-
setUnknownFields
public final LedgerProto.SendTransactionRequest.Transaction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
setUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-
mergeUnknownFields
public final LedgerProto.SendTransactionRequest.Transaction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields
在接口中com.google.protobuf.Message.Builder
- 覆盖:
mergeUnknownFields
在类中com.google.protobuf.GeneratedMessageV3.Builder<LedgerProto.SendTransactionRequest.Transaction.Builder>
-