public static final class XchainOuterClass.LedgerMeta extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.LedgerMeta,XchainOuterClass.LedgerMeta.Builder> implements XchainOuterClass.LedgerMetaOrBuilder
Ledger metadata
Protobuf type pb.LedgerMeta
| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.LedgerMeta.Builder
Ledger metadata
Protobuf type
pb.LedgerMeta |
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 |
ROOT_BLOCKID_FIELD_NUMBER |
static int |
TIP_BLOCKID_FIELD_NUMBER |
static int |
TRUNK_HEIGHT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static XchainOuterClass.LedgerMeta |
getDefaultInstance() |
com.google.protobuf.ByteString |
getRootBlockid()
root block id
optional bytes root_blockid = 1; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getTipBlockid()
tip block id
optional bytes tip_blockid = 2; |
long |
getTrunkHeight()
the height of the trunk
optional int64 trunk_height = 3; |
static XchainOuterClass.LedgerMeta.Builder |
newBuilder() |
static XchainOuterClass.LedgerMeta.Builder |
newBuilder(XchainOuterClass.LedgerMeta prototype) |
static XchainOuterClass.LedgerMeta |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.LedgerMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.LedgerMeta |
parseFrom(byte[] data) |
static XchainOuterClass.LedgerMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.LedgerMeta |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.LedgerMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.LedgerMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.LedgerMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.LedgerMeta |
parseFrom(InputStream input) |
static XchainOuterClass.LedgerMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.LedgerMeta> |
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 ROOT_BLOCKID_FIELD_NUMBER
public static final int TIP_BLOCKID_FIELD_NUMBER
public static final int TRUNK_HEIGHT_FIELD_NUMBER
public com.google.protobuf.ByteString getRootBlockid()
root block id
optional bytes root_blockid = 1;public com.google.protobuf.ByteString getTipBlockid()
tip block id
optional bytes tip_blockid = 2;public long getTrunkHeight()
the height of the trunk
optional int64 trunk_height = 3;public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.LedgerMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.LedgerMeta.Builder newBuilder()
public static XchainOuterClass.LedgerMeta.Builder newBuilder(XchainOuterClass.LedgerMeta prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.LedgerMeta,XchainOuterClass.LedgerMeta.Builder>public static XchainOuterClass.LedgerMeta getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.LedgerMeta> parser()
Copyright © 2020. All rights reserved.