public final class BlockMeta extends com.google.protobuf.GeneratedMessageV3 implements BlockMetaOrBuilder
Block MetadataProtobuf type
iotextypes.BlockMeta| Modifier and Type | Class and Description |
|---|---|
static class |
BlockMeta.Builder
Block Metadata
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
DELTASTATEDIGEST_FIELD_NUMBER |
static int |
GASLIMIT_FIELD_NUMBER |
static int |
GASUSED_FIELD_NUMBER |
static int |
HASH_FIELD_NUMBER |
static int |
HEIGHT_FIELD_NUMBER |
static int |
LOGSBLOOM_FIELD_NUMBER |
static int |
NUMACTIONS_FIELD_NUMBER |
static int |
PREVIOUSBLOCKHASH_FIELD_NUMBER |
static int |
PRODUCERADDRESS_FIELD_NUMBER |
static int |
RECEIPTROOT_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TRANSFERAMOUNT_FIELD_NUMBER |
static int |
TXROOT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BlockMeta |
getDefaultInstance() |
BlockMeta |
getDefaultInstanceForType() |
String |
getDeltaStateDigest()
string deltaStateDigest = 9; |
com.google.protobuf.ByteString |
getDeltaStateDigestBytes()
string deltaStateDigest = 9; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getGasLimit()
uint64 gasLimit = 12; |
long |
getGasUsed()
uint64 gasUsed = 13; |
String |
getHash()
string hash = 1; |
com.google.protobuf.ByteString |
getHashBytes()
string hash = 1; |
long |
getHeight()
uint64 height = 2; |
String |
getLogsBloom()
string logsBloom = 10; |
com.google.protobuf.ByteString |
getLogsBloomBytes()
string logsBloom = 10; |
long |
getNumActions()
int64 numActions = 4; |
com.google.protobuf.Parser<BlockMeta> |
getParserForType() |
String |
getPreviousBlockHash()
string previousBlockHash = 11; |
com.google.protobuf.ByteString |
getPreviousBlockHashBytes()
string previousBlockHash = 11; |
String |
getProducerAddress()
string producerAddress = 5; |
com.google.protobuf.ByteString |
getProducerAddressBytes()
string producerAddress = 5; |
String |
getReceiptRoot()
string receiptRoot = 8; |
com.google.protobuf.ByteString |
getReceiptRootBytes()
string receiptRoot = 8; |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getTimestamp()
.google.protobuf.Timestamp timestamp = 3; |
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 3; |
String |
getTransferAmount()
string transferAmount = 6; |
com.google.protobuf.ByteString |
getTransferAmountBytes()
string transferAmount = 6; |
String |
getTxRoot()
string txRoot = 7; |
com.google.protobuf.ByteString |
getTxRootBytes()
string txRoot = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTimestamp()
.google.protobuf.Timestamp timestamp = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BlockMeta.Builder |
newBuilder() |
static BlockMeta.Builder |
newBuilder(BlockMeta prototype) |
BlockMeta.Builder |
newBuilderForType() |
protected BlockMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BlockMeta |
parseDelimitedFrom(InputStream input) |
static BlockMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockMeta |
parseFrom(byte[] data) |
static BlockMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockMeta |
parseFrom(ByteBuffer data) |
static BlockMeta |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockMeta |
parseFrom(com.google.protobuf.ByteString data) |
static BlockMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BlockMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockMeta |
parseFrom(InputStream input) |
static BlockMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BlockMeta> |
parser() |
BlockMeta.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HASH_FIELD_NUMBER
public static final int HEIGHT_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int NUMACTIONS_FIELD_NUMBER
public static final int PRODUCERADDRESS_FIELD_NUMBER
public static final int TRANSFERAMOUNT_FIELD_NUMBER
public static final int TXROOT_FIELD_NUMBER
public static final int RECEIPTROOT_FIELD_NUMBER
public static final int DELTASTATEDIGEST_FIELD_NUMBER
public static final int LOGSBLOOM_FIELD_NUMBER
public static final int PREVIOUSBLOCKHASH_FIELD_NUMBER
public static final int GASLIMIT_FIELD_NUMBER
public static final int GASUSED_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getHash()
string hash = 1;getHash in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getHashBytes()
string hash = 1;getHashBytes in interface BlockMetaOrBuilderpublic long getHeight()
uint64 height = 2;getHeight in interface BlockMetaOrBuilderpublic boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 3;hasTimestamp in interface BlockMetaOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 3;getTimestamp in interface BlockMetaOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 3;getTimestampOrBuilder in interface BlockMetaOrBuilderpublic long getNumActions()
int64 numActions = 4;getNumActions in interface BlockMetaOrBuilderpublic String getProducerAddress()
string producerAddress = 5;getProducerAddress in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getProducerAddressBytes()
string producerAddress = 5;getProducerAddressBytes in interface BlockMetaOrBuilderpublic String getTransferAmount()
string transferAmount = 6;getTransferAmount in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getTransferAmountBytes()
string transferAmount = 6;getTransferAmountBytes in interface BlockMetaOrBuilderpublic String getTxRoot()
string txRoot = 7;getTxRoot in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getTxRootBytes()
string txRoot = 7;getTxRootBytes in interface BlockMetaOrBuilderpublic String getReceiptRoot()
string receiptRoot = 8;getReceiptRoot in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getReceiptRootBytes()
string receiptRoot = 8;getReceiptRootBytes in interface BlockMetaOrBuilderpublic String getDeltaStateDigest()
string deltaStateDigest = 9;getDeltaStateDigest in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getDeltaStateDigestBytes()
string deltaStateDigest = 9;getDeltaStateDigestBytes in interface BlockMetaOrBuilderpublic String getLogsBloom()
string logsBloom = 10;getLogsBloom in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getLogsBloomBytes()
string logsBloom = 10;getLogsBloomBytes in interface BlockMetaOrBuilderpublic String getPreviousBlockHash()
string previousBlockHash = 11;getPreviousBlockHash in interface BlockMetaOrBuilderpublic com.google.protobuf.ByteString getPreviousBlockHashBytes()
string previousBlockHash = 11;getPreviousBlockHashBytes in interface BlockMetaOrBuilderpublic long getGasLimit()
uint64 gasLimit = 12;getGasLimit in interface BlockMetaOrBuilderpublic long getGasUsed()
uint64 gasUsed = 13;getGasUsed in interface BlockMetaOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BlockMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BlockMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static BlockMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BlockMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BlockMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BlockMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BlockMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BlockMeta.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BlockMeta.Builder newBuilder()
public static BlockMeta.Builder newBuilder(BlockMeta prototype)
public BlockMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BlockMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BlockMeta getDefaultInstance()
public static com.google.protobuf.Parser<BlockMeta> parser()
public com.google.protobuf.Parser<BlockMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BlockMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 IoTeX Group. All rights reserved.