public static final class Block.BlockHeader extends com.google.protobuf.GeneratedMessageV3 implements Block.BlockHeaderOrBuilder
com.chain.sdk.model.BlockHeader| 限定符和类型 | 类和说明 |
|---|---|
static class |
Block.BlockHeader.Builder
Protobuf type
com.chain.sdk.model.BlockHeader |
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 |
EVFSROOT_FIELD_NUMBER |
static int |
EXTRADATA_FIELD_NUMBER |
static int |
HASH_FIELD_NUMBER |
static int |
HEIGHT_FIELD_NUMBER |
static int |
PARENTHASH_FIELD_NUMBER |
static int |
RECEIPTROOT_FIELD_NUMBER |
static int |
STATEROOT_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TOTALTRIECOUNT_FIELD_NUMBER |
static int |
TOTALTRIESIZE_FIELD_NUMBER |
static int |
TXEXECBULKINDEX_FIELD_NUMBER |
static int |
TXEXECBULKSIZE_FIELD_NUMBER |
static int |
TXHASHS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Block.BlockHeader |
getDefaultInstance() |
Block.BlockHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getEvfsRoot()
bytes evfsRoot = 13; |
com.google.protobuf.ByteString |
getExtraData()
bytes extraData = 7; |
com.google.protobuf.ByteString |
getHash()
bytes hash = 1; |
long |
getHeight()
int64 height = 3; |
com.google.protobuf.ByteString |
getParentHash()
bytes parentHash = 2; |
com.google.protobuf.Parser<Block.BlockHeader> |
getParserForType() |
com.google.protobuf.ByteString |
getReceiptRoot()
bytes receiptRoot = 5; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStateRoot()
bytes stateRoot = 4; |
long |
getTimestamp()
int64 timestamp = 6; |
long |
getTotaltriecount()
int64 totaltriecount = 11; |
long |
getTotaltriesize()
int64 totaltriesize = 12; |
int |
getTxexecbulkindex(int index)
repeated int32 txexecbulkindex = 9; |
int |
getTxexecbulkindexCount()
repeated int32 txexecbulkindex = 9; |
java.util.List<java.lang.Integer> |
getTxexecbulkindexList()
repeated int32 txexecbulkindex = 9; |
int |
getTxexecbulksize()
int32 txexecbulksize = 10; |
com.google.protobuf.ByteString |
getTxHashs(int index)
repeated bytes txHashs = 8; |
int |
getTxHashsCount()
repeated bytes txHashs = 8; |
java.util.List<com.google.protobuf.ByteString> |
getTxHashsList()
repeated bytes txHashs = 8; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Block.BlockHeader.Builder |
newBuilder() |
static Block.BlockHeader.Builder |
newBuilder(Block.BlockHeader prototype) |
Block.BlockHeader.Builder |
newBuilderForType() |
protected Block.BlockHeader.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Block.BlockHeader |
parseDelimitedFrom(java.io.InputStream input) |
static Block.BlockHeader |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Block.BlockHeader |
parseFrom(byte[] data) |
static Block.BlockHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Block.BlockHeader |
parseFrom(java.nio.ByteBuffer data) |
static Block.BlockHeader |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Block.BlockHeader |
parseFrom(com.google.protobuf.ByteString data) |
static Block.BlockHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Block.BlockHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Block.BlockHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Block.BlockHeader |
parseFrom(java.io.InputStream input) |
static Block.BlockHeader |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Block.BlockHeader> |
parser() |
Block.BlockHeader.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 HASH_FIELD_NUMBER
public static final int PARENTHASH_FIELD_NUMBER
public static final int HEIGHT_FIELD_NUMBER
public static final int STATEROOT_FIELD_NUMBER
public static final int RECEIPTROOT_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int EXTRADATA_FIELD_NUMBER
public static final int TXHASHS_FIELD_NUMBER
public static final int TXEXECBULKINDEX_FIELD_NUMBER
public static final int TXEXECBULKSIZE_FIELD_NUMBER
public static final int TOTALTRIECOUNT_FIELD_NUMBER
public static final int TOTALTRIESIZE_FIELD_NUMBER
public static final int EVFSROOT_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 com.google.protobuf.ByteString getHash()
bytes hash = 1;getHash 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getParentHash()
bytes parentHash = 2;getParentHash 在接口中 Block.BlockHeaderOrBuilderpublic long getHeight()
int64 height = 3;getHeight 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getStateRoot()
bytes stateRoot = 4;getStateRoot 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getReceiptRoot()
bytes receiptRoot = 5;getReceiptRoot 在接口中 Block.BlockHeaderOrBuilderpublic long getTimestamp()
int64 timestamp = 6;getTimestamp 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getExtraData()
bytes extraData = 7;getExtraData 在接口中 Block.BlockHeaderOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getTxHashsList()
repeated bytes txHashs = 8;getTxHashsList 在接口中 Block.BlockHeaderOrBuilderpublic int getTxHashsCount()
repeated bytes txHashs = 8;getTxHashsCount 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getTxHashs(int index)
repeated bytes txHashs = 8;getTxHashs 在接口中 Block.BlockHeaderOrBuilderpublic java.util.List<java.lang.Integer> getTxexecbulkindexList()
repeated int32 txexecbulkindex = 9;public int getTxexecbulkindexCount()
repeated int32 txexecbulkindex = 9;public int getTxexecbulkindex(int index)
repeated int32 txexecbulkindex = 9;getTxexecbulkindex 在接口中 Block.BlockHeaderOrBuilderpublic int getTxexecbulksize()
int32 txexecbulksize = 10;getTxexecbulksize 在接口中 Block.BlockHeaderOrBuilderpublic long getTotaltriecount()
int64 totaltriecount = 11;getTotaltriecount 在接口中 Block.BlockHeaderOrBuilderpublic long getTotaltriesize()
int64 totaltriesize = 12;getTotaltriesize 在接口中 Block.BlockHeaderOrBuilderpublic com.google.protobuf.ByteString getEvfsRoot()
bytes evfsRoot = 13;getEvfsRoot 在接口中 Block.BlockHeaderOrBuilderpublic 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 Block.BlockHeader parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Block.BlockHeader parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Block.BlockHeader parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Block.BlockHeader parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Block.BlockHeader parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Block.BlockHeader parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Block.BlockHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Block.BlockHeader.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Block.BlockHeader.Builder newBuilder()
public static Block.BlockHeader.Builder newBuilder(Block.BlockHeader prototype)
public Block.BlockHeader.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Block.BlockHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Block.BlockHeader getDefaultInstance()
public static com.google.protobuf.Parser<Block.BlockHeader> parser()
public com.google.protobuf.Parser<Block.BlockHeader> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Block.BlockHeader getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder