类 Contract.TxInput
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.baidu.xuper.contractpb.Contract.TxInput
- 所有已实现的接口:
Contract.TxInputOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- 封闭类:
- Contract
public static final class Contract.TxInput extends com.google.protobuf.GeneratedMessageV3 implements Contract.TxInputOrBuilder
Transaction inputProtobuf type
xchain.contract.sdk.TxInput- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classContract.TxInput.BuilderTransaction input从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段 修饰符和类型 字段 说明 static intAMOUNT_FIELD_NUMBERstatic intFROM_ADDR_FIELD_NUMBERstatic intFROZEN_HEIGHT_FIELD_NUMBERstatic intREF_OFFSET_FIELD_NUMBERstatic intREF_TXID_FIELD_NUMBER从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型 方法 说明 booleanequals(Object obj)StringgetAmount()The amount of the transactioncom.google.protobuf.ByteStringgetAmountBytes()The amount of the transactionstatic Contract.TxInputgetDefaultInstance()Contract.TxInputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.ByteStringgetFromAddr()The address of the launcherlonggetFrozenHeight()Frozen heightcom.google.protobuf.Parser<Contract.TxInput>getParserForType()intgetRefOffset()The output offset of the transaction referenced toStringgetRefTxid()The transaction id referenced tocom.google.protobuf.ByteStringgetRefTxidBytes()The transaction id referenced tointgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Contract.TxInput.BuildernewBuilder()static Contract.TxInput.BuildernewBuilder(Contract.TxInput prototype)Contract.TxInput.BuildernewBuilderForType()protected Contract.TxInput.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Contract.TxInputparseDelimitedFrom(InputStream input)static Contract.TxInputparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TxInputparseFrom(byte[] data)static Contract.TxInputparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TxInputparseFrom(com.google.protobuf.ByteString data)static Contract.TxInputparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TxInputparseFrom(com.google.protobuf.CodedInputStream input)static Contract.TxInputparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TxInputparseFrom(InputStream input)static Contract.TxInputparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TxInputparseFrom(ByteBuffer data)static Contract.TxInputparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Contract.TxInput>parser()Contract.TxInput.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
REF_TXID_FIELD_NUMBER
public static final int REF_TXID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
REF_OFFSET_FIELD_NUMBER
public static final int REF_OFFSET_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
FROM_ADDR_FIELD_NUMBER
public static final int FROM_ADDR_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
AMOUNT_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
FROZEN_HEIGHT_FIELD_NUMBER
public static final int FROZEN_HEIGHT_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getRefTxid
The transaction id referenced to
string ref_txid = 1;- 指定者:
getRefTxid在接口中Contract.TxInputOrBuilder- 返回:
- The refTxid.
-
getRefTxidBytes
public com.google.protobuf.ByteString getRefTxidBytes()The transaction id referenced to
string ref_txid = 1;- 指定者:
getRefTxidBytes在接口中Contract.TxInputOrBuilder- 返回:
- The bytes for refTxid.
-
getRefOffset
public int getRefOffset()The output offset of the transaction referenced to
int32 ref_offset = 2;- 指定者:
getRefOffset在接口中Contract.TxInputOrBuilder- 返回:
- The refOffset.
-
getFromAddr
public com.google.protobuf.ByteString getFromAddr()The address of the launcher
bytes from_addr = 5;- 指定者:
getFromAddr在接口中Contract.TxInputOrBuilder- 返回:
- The fromAddr.
-
getAmount
The amount of the transaction
string amount = 6;- 指定者:
getAmount在接口中Contract.TxInputOrBuilder- 返回:
- The amount.
-
getAmountBytes
public com.google.protobuf.ByteString getAmountBytes()The amount of the transaction
string amount = 6;- 指定者:
getAmountBytes在接口中Contract.TxInputOrBuilder- 返回:
- The bytes for amount.
-
getFrozenHeight
public long getFrozenHeight()Frozen height
int64 frozen_height = 7;- 指定者:
getFrozenHeight在接口中Contract.TxInputOrBuilder- 返回:
- The frozenHeight.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Contract.TxInput parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.TxInput parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.TxInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.TxInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.TxInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.TxInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Contract.TxInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Contract.TxInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
parseFrom
public static Contract.TxInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- 抛出:
IOException
-
parseFrom
public static Contract.TxInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Contract.TxInput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-