public static final class Transaction.TransactionBody extends com.google.protobuf.GeneratedMessageV3 implements Transaction.TransactionBodyOrBuilder
com.chain.sdk.model.TransactionBody| 限定符和类型 | 类和说明 |
|---|---|
static class |
Transaction.TransactionBody.Builder
Protobuf type
com.chain.sdk.model.TransactionBody |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
CODE_DATA_FIELD_NUMBER |
static int |
EXT_DATA_FIELD_NUMBER |
static int |
FEE_HI_FIELD_NUMBER |
static int |
FEE_LOW_FIELD_NUMBER |
static int |
INNER_CODETYPE_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static int |
OUTPUTS_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.ByteString |
getAddress()
bytes address = 2; |
com.google.protobuf.ByteString |
getCodeData()
指令数据
bytes code_data = 7; |
static Transaction.TransactionBody |
getDefaultInstance() |
Transaction.TransactionBody |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getExtData()
bytes ext_data = 8; |
long |
getFeeHi()
手续费高位
int64 fee_hi = 4; |
long |
getFeeLow()
手续费低位;
int64 fee_low = 5; |
int |
getInnerCodetype()
内置指令交易[0=普通交易,1=多重签名交易,2=RC20交易,3=RC721交易,4=CVM合约调用,5=JSVM合约调用,6=evfs交易,7=链委员会,8=链管理员组
int32 inner_codetype = 6; |
int |
getNonce()
int32 nonce = 1; |
Transaction.TransactionOutput |
getOutputs(int index)
repeated .com.chain.sdk.model.TransactionOutput outputs = 3; |
int |
getOutputsCount()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3; |
java.util.List<Transaction.TransactionOutput> |
getOutputsList()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3; |
Transaction.TransactionOutputOrBuilder |
getOutputsOrBuilder(int index)
repeated .com.chain.sdk.model.TransactionOutput outputs = 3; |
java.util.List<? extends Transaction.TransactionOutputOrBuilder> |
getOutputsOrBuilderList()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3; |
com.google.protobuf.Parser<Transaction.TransactionBody> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp()
int64 timestamp = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Transaction.TransactionBody.Builder |
newBuilder() |
static Transaction.TransactionBody.Builder |
newBuilder(Transaction.TransactionBody prototype) |
Transaction.TransactionBody.Builder |
newBuilderForType() |
protected Transaction.TransactionBody.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Transaction.TransactionBody |
parseDelimitedFrom(java.io.InputStream input) |
static Transaction.TransactionBody |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionBody |
parseFrom(byte[] data) |
static Transaction.TransactionBody |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionBody |
parseFrom(java.nio.ByteBuffer data) |
static Transaction.TransactionBody |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionBody |
parseFrom(com.google.protobuf.ByteString data) |
static Transaction.TransactionBody |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionBody |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Transaction.TransactionBody |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Transaction.TransactionBody |
parseFrom(java.io.InputStream input) |
static Transaction.TransactionBody |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Transaction.TransactionBody> |
parser() |
Transaction.TransactionBody.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NONCE_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int OUTPUTS_FIELD_NUMBER
public static final int FEE_HI_FIELD_NUMBER
public static final int FEE_LOW_FIELD_NUMBER
public static final int INNER_CODETYPE_FIELD_NUMBER
public static final int CODE_DATA_FIELD_NUMBER
public static final int EXT_DATA_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public int getNonce()
int32 nonce = 1;getNonce 在接口中 Transaction.TransactionBodyOrBuilderpublic com.google.protobuf.ByteString getAddress()
bytes address = 2;public java.util.List<Transaction.TransactionOutput> getOutputsList()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3;public java.util.List<? extends Transaction.TransactionOutputOrBuilder> getOutputsOrBuilderList()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3;public int getOutputsCount()
repeated .com.chain.sdk.model.TransactionOutput outputs = 3;public Transaction.TransactionOutput getOutputs(int index)
repeated .com.chain.sdk.model.TransactionOutput outputs = 3;public Transaction.TransactionOutputOrBuilder getOutputsOrBuilder(int index)
repeated .com.chain.sdk.model.TransactionOutput outputs = 3;public long getFeeHi()
手续费高位
int64 fee_hi = 4;getFeeHi 在接口中 Transaction.TransactionBodyOrBuilderpublic long getFeeLow()
手续费低位;
int64 fee_low = 5;public int getInnerCodetype()
内置指令交易[0=普通交易,1=多重签名交易,2=RC20交易,3=RC721交易,4=CVM合约调用,5=JSVM合约调用,6=evfs交易,7=链委员会,8=链管理员组
int32 inner_codetype = 6;public com.google.protobuf.ByteString getCodeData()
指令数据
bytes code_data = 7;public com.google.protobuf.ByteString getExtData()
bytes ext_data = 8;public long getTimestamp()
int64 timestamp = 9;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Transaction.TransactionBody parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transaction.TransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Transaction.TransactionBody parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Transaction.TransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Transaction.TransactionBody parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Transaction.TransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Transaction.TransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Transaction.TransactionBody.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Transaction.TransactionBody.Builder newBuilder()
public static Transaction.TransactionBody.Builder newBuilder(Transaction.TransactionBody prototype)
public Transaction.TransactionBody.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Transaction.TransactionBody.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Transaction.TransactionBody getDefaultInstance()
public static com.google.protobuf.Parser<Transaction.TransactionBody> parser()
public com.google.protobuf.Parser<Transaction.TransactionBody> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Transaction.TransactionBody getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder