public static final class XchainOuterClass.TxStatus extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.TxStatus,XchainOuterClass.TxStatus.Builder> implements XchainOuterClass.TxStatusOrBuilder
pb.TxStatus| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.TxStatus.Builder
Protobuf type
pb.TxStatus |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BCNAME_FIELD_NUMBER |
static int |
DISTANCE_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TX_FIELD_NUMBER |
static int |
TXID_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
String |
getBcname()
optional string bcname = 2; |
com.google.protobuf.ByteString |
getBcnameBytes()
optional string bcname = 2; |
static XchainOuterClass.TxStatus |
getDefaultInstance() |
long |
getDistance()
离主干末端的距离(如果在主干上)
optional int64 distance = 5; |
XchainOuterClass.Header |
getHeader()
optional .pb.Header header = 1; |
int |
getSerializedSize() |
XchainOuterClass.TransactionStatus |
getStatus()
当前状态
optional .pb.TransactionStatus status = 4; |
int |
getStatusValue()
当前状态
optional .pb.TransactionStatus status = 4; |
XchainOuterClass.Transaction |
getTx()
optional .pb.Transaction tx = 7; |
com.google.protobuf.ByteString |
getTxid()
optional bytes txid = 3; |
boolean |
hasHeader()
optional .pb.Header header = 1; |
boolean |
hasTx()
optional .pb.Transaction tx = 7; |
static XchainOuterClass.TxStatus.Builder |
newBuilder() |
static XchainOuterClass.TxStatus.Builder |
newBuilder(XchainOuterClass.TxStatus prototype) |
static XchainOuterClass.TxStatus |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.TxStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxStatus |
parseFrom(byte[] data) |
static XchainOuterClass.TxStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxStatus |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.TxStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.TxStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxStatus |
parseFrom(InputStream input) |
static XchainOuterClass.TxStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.TxStatus> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringpublic static final int HEADER_FIELD_NUMBER
public static final int BCNAME_FIELD_NUMBER
public static final int TXID_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int DISTANCE_FIELD_NUMBER
public static final int TX_FIELD_NUMBER
public boolean hasHeader()
optional .pb.Header header = 1;hasHeader 在接口中 XchainOuterClass.TxStatusOrBuilderpublic XchainOuterClass.Header getHeader()
optional .pb.Header header = 1;getHeader 在接口中 XchainOuterClass.TxStatusOrBuilderpublic String getBcname()
optional string bcname = 2;getBcname 在接口中 XchainOuterClass.TxStatusOrBuilderpublic com.google.protobuf.ByteString getBcnameBytes()
optional string bcname = 2;public com.google.protobuf.ByteString getTxid()
optional bytes txid = 3;getTxid 在接口中 XchainOuterClass.TxStatusOrBuilderpublic int getStatusValue()
当前状态
optional .pb.TransactionStatus status = 4;public XchainOuterClass.TransactionStatus getStatus()
当前状态
optional .pb.TransactionStatus status = 4;getStatus 在接口中 XchainOuterClass.TxStatusOrBuilderpublic long getDistance()
离主干末端的距离(如果在主干上)
optional int64 distance = 5;public boolean hasTx()
optional .pb.Transaction tx = 7;hasTx 在接口中 XchainOuterClass.TxStatusOrBuilderpublic XchainOuterClass.Transaction getTx()
optional .pb.Transaction tx = 7;getTx 在接口中 XchainOuterClass.TxStatusOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.TxStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxStatus.Builder newBuilder()
public static XchainOuterClass.TxStatus.Builder newBuilder(XchainOuterClass.TxStatus prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.TxStatus,XchainOuterClass.TxStatus.Builder>public static XchainOuterClass.TxStatus getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.TxStatus> parser()
Copyright © 2020. All rights reserved.