public static final class Client.ParentChainBlockData extends com.google.protobuf.GeneratedMessageV3 implements Client.ParentChainBlockDataOrBuilder
ParentChainBlockData| 限定符和类型 | 类和说明 |
|---|---|
static class |
Client.ParentChainBlockData.Builder
Protobuf type
ParentChainBlockData |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CHAIN_ID_FIELD_NUMBER |
static int |
CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER |
static int |
EXTRA_DATA_FIELD_NUMBER |
static int |
HEIGHT_FIELD_NUMBER |
static int |
INDEXED_MERKLE_PATH_FIELD_NUMBER |
static int |
TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsExtraData(String key)
Extra data map.
|
boolean |
containsIndexedMerklePath(long key)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5; |
boolean |
equals(Object obj) |
int |
getChainId()
The parent chain id.
|
Client.CrossChainExtraData |
getCrossChainExtraData()
The merkle tree root computing from side chain roots.
|
Client.CrossChainExtraDataOrBuilder |
getCrossChainExtraDataOrBuilder()
The merkle tree root computing from side chain roots.
|
static Client.ParentChainBlockData |
getDefaultInstance() |
Client.ParentChainBlockData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,com.google.protobuf.ByteString> |
getExtraData()
已过时。
|
int |
getExtraDataCount()
Extra data map.
|
Map<String,com.google.protobuf.ByteString> |
getExtraDataMap()
Extra data map.
|
com.google.protobuf.ByteString |
getExtraDataOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
Extra data map.
|
com.google.protobuf.ByteString |
getExtraDataOrThrow(String key)
Extra data map.
|
long |
getHeight()
The height of parent chain.
|
Map<Long,Client.MerklePath> |
getIndexedMerklePath()
已过时。
|
int |
getIndexedMerklePathCount()
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5; |
Map<Long,Client.MerklePath> |
getIndexedMerklePathMap()
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5; |
Client.MerklePath |
getIndexedMerklePathOrDefault(long key,
Client.MerklePath defaultValue)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5; |
Client.MerklePath |
getIndexedMerklePathOrThrow(long key)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5; |
com.google.protobuf.Parser<Client.ParentChainBlockData> |
getParserForType() |
int |
getSerializedSize() |
Client.Hash |
getTransactionStatusMerkleTreeRoot()
The merkle tree root computing from transactions status in parent chain block.
|
Client.HashOrBuilder |
getTransactionStatusMerkleTreeRootOrBuilder()
The merkle tree root computing from transactions status in parent chain block.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCrossChainExtraData()
The merkle tree root computing from side chain roots.
|
int |
hashCode() |
boolean |
hasTransactionStatusMerkleTreeRoot()
The merkle tree root computing from transactions status in parent chain block.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Client.ParentChainBlockData.Builder |
newBuilder() |
static Client.ParentChainBlockData.Builder |
newBuilder(Client.ParentChainBlockData prototype) |
Client.ParentChainBlockData.Builder |
newBuilderForType() |
protected Client.ParentChainBlockData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Client.ParentChainBlockData |
parseDelimitedFrom(InputStream input) |
static Client.ParentChainBlockData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Client.ParentChainBlockData |
parseFrom(byte[] data) |
static Client.ParentChainBlockData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Client.ParentChainBlockData |
parseFrom(ByteBuffer data) |
static Client.ParentChainBlockData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Client.ParentChainBlockData |
parseFrom(com.google.protobuf.ByteString data) |
static Client.ParentChainBlockData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Client.ParentChainBlockData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Client.ParentChainBlockData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Client.ParentChainBlockData |
parseFrom(InputStream input) |
static Client.ParentChainBlockData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Client.ParentChainBlockData> |
parser() |
Client.ParentChainBlockData.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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int HEIGHT_FIELD_NUMBER
public static final int CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER
public static final int CHAIN_ID_FIELD_NUMBER
public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER
public static final int INDEXED_MERKLE_PATH_FIELD_NUMBER
public static final int EXTRA_DATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public 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.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public long getHeight()
The height of parent chain.
int64 height = 1;getHeight 在接口中 Client.ParentChainBlockDataOrBuilderpublic boolean hasCrossChainExtraData()
The merkle tree root computing from side chain roots.
.CrossChainExtraData cross_chain_extra_data = 2;hasCrossChainExtraData 在接口中 Client.ParentChainBlockDataOrBuilderpublic Client.CrossChainExtraData getCrossChainExtraData()
The merkle tree root computing from side chain roots.
.CrossChainExtraData cross_chain_extra_data = 2;getCrossChainExtraData 在接口中 Client.ParentChainBlockDataOrBuilderpublic Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder()
The merkle tree root computing from side chain roots.
.CrossChainExtraData cross_chain_extra_data = 2;public int getChainId()
The parent chain id.
int32 chain_id = 3;getChainId 在接口中 Client.ParentChainBlockDataOrBuilderpublic boolean hasTransactionStatusMerkleTreeRoot()
The merkle tree root computing from transactions status in parent chain block.
.Hash transaction_status_merkle_tree_root = 4;hasTransactionStatusMerkleTreeRoot 在接口中 Client.ParentChainBlockDataOrBuilderpublic Client.Hash getTransactionStatusMerkleTreeRoot()
The merkle tree root computing from transactions status in parent chain block.
.Hash transaction_status_merkle_tree_root = 4;getTransactionStatusMerkleTreeRoot 在接口中 Client.ParentChainBlockDataOrBuilderpublic Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder()
The merkle tree root computing from transactions status in parent chain block.
.Hash transaction_status_merkle_tree_root = 4;public int getIndexedMerklePathCount()
Client.ParentChainBlockDataOrBuilderIndexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5;public boolean containsIndexedMerklePath(long key)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5;@Deprecated public Map<Long,Client.MerklePath> getIndexedMerklePath()
getIndexedMerklePathMap() instead.public Map<Long,Client.MerklePath> getIndexedMerklePathMap()
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5;public Client.MerklePath getIndexedMerklePathOrDefault(long key, Client.MerklePath defaultValue)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5;public Client.MerklePath getIndexedMerklePathOrThrow(long key)
Indexed block height from side chain and merkle path for this side chain block
map<int64, .MerklePath> indexed_merkle_path = 5;public int getExtraDataCount()
Client.ParentChainBlockDataOrBuilderExtra data map.
map<string, bytes> extra_data = 6;public boolean containsExtraData(String key)
Extra data map.
map<string, bytes> extra_data = 6;@Deprecated public Map<String,com.google.protobuf.ByteString> getExtraData()
getExtraDataMap() instead.public Map<String,com.google.protobuf.ByteString> getExtraDataMap()
Extra data map.
map<string, bytes> extra_data = 6;public com.google.protobuf.ByteString getExtraDataOrDefault(String key, com.google.protobuf.ByteString defaultValue)
Extra data map.
map<string, bytes> extra_data = 6;public com.google.protobuf.ByteString getExtraDataOrThrow(String key)
Extra data map.
map<string, bytes> extra_data = 6;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Client.ParentChainBlockData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Client.ParentChainBlockData parseFrom(InputStream input) throws IOException
IOExceptionpublic static Client.ParentChainBlockData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Client.ParentChainBlockData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Client.ParentChainBlockData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Client.ParentChainBlockData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Client.ParentChainBlockData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Client.ParentChainBlockData.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Client.ParentChainBlockData.Builder newBuilder()
public static Client.ParentChainBlockData.Builder newBuilder(Client.ParentChainBlockData prototype)
public Client.ParentChainBlockData.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Client.ParentChainBlockData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Client.ParentChainBlockData getDefaultInstance()
public static com.google.protobuf.Parser<Client.ParentChainBlockData> parser()
public com.google.protobuf.Parser<Client.ParentChainBlockData> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Client.ParentChainBlockData getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.