public static final class OmniLedgerProto.CollectionProof extends com.google.protobuf.GeneratedMessageV3 implements OmniLedgerProto.CollectionProofOrBuilder
CollectionProof can be checked against the hash of the root node and also contains the key and the data.Protobuf type
CollectionProof| Modifier and Type | Class and Description |
|---|---|
static class |
OmniLedgerProto.CollectionProof.Builder
CollectionProof can be checked against the hash of the root
node and also contains the key and the data.
|
static class |
OmniLedgerProto.CollectionProof.Node
Protobuf type
CollectionProof.Node |
static interface |
OmniLedgerProto.CollectionProof.NodeOrBuilder |
static class |
OmniLedgerProto.CollectionProof.Step
Protobuf type
CollectionProof.Step |
static interface |
OmniLedgerProto.CollectionProof.StepOrBuilder |
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 |
KEY_FIELD_NUMBER |
static com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> |
PARSER
Deprecated.
|
static int |
ROOT_FIELD_NUMBER |
static int |
STEPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OmniLedgerProto.CollectionProof |
getDefaultInstance() |
OmniLedgerProto.CollectionProof |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getKey()
required bytes key = 1; |
com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> |
getParserForType() |
OmniLedgerProto.CollectionProof.Node |
getRoot()
required .CollectionProof.Node root = 2; |
OmniLedgerProto.CollectionProof.NodeOrBuilder |
getRootOrBuilder()
required .CollectionProof.Node root = 2; |
int |
getSerializedSize() |
OmniLedgerProto.CollectionProof.Step |
getSteps(int index)
repeated .CollectionProof.Step steps = 3; |
int |
getStepsCount()
repeated .CollectionProof.Step steps = 3; |
List<OmniLedgerProto.CollectionProof.Step> |
getStepsList()
repeated .CollectionProof.Step steps = 3; |
OmniLedgerProto.CollectionProof.StepOrBuilder |
getStepsOrBuilder(int index)
repeated .CollectionProof.Step steps = 3; |
List<? extends OmniLedgerProto.CollectionProof.StepOrBuilder> |
getStepsOrBuilderList()
repeated .CollectionProof.Step steps = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasKey()
required bytes key = 1; |
boolean |
hasRoot()
required .CollectionProof.Node root = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OmniLedgerProto.CollectionProof.Builder |
newBuilder() |
static OmniLedgerProto.CollectionProof.Builder |
newBuilder(OmniLedgerProto.CollectionProof prototype) |
OmniLedgerProto.CollectionProof.Builder |
newBuilderForType() |
protected OmniLedgerProto.CollectionProof.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static OmniLedgerProto.CollectionProof |
parseDelimitedFrom(InputStream input) |
static OmniLedgerProto.CollectionProof |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.CollectionProof |
parseFrom(byte[] data) |
static OmniLedgerProto.CollectionProof |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.CollectionProof |
parseFrom(ByteBuffer data) |
static OmniLedgerProto.CollectionProof |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.CollectionProof |
parseFrom(com.google.protobuf.ByteString data) |
static OmniLedgerProto.CollectionProof |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.CollectionProof |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OmniLedgerProto.CollectionProof |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.CollectionProof |
parseFrom(InputStream input) |
static OmniLedgerProto.CollectionProof |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> |
parser() |
OmniLedgerProto.CollectionProof.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KEY_FIELD_NUMBER
public static final int ROOT_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> PARSER
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 boolean hasKey()
required bytes key = 1;hasKey in interface OmniLedgerProto.CollectionProofOrBuilderpublic com.google.protobuf.ByteString getKey()
required bytes key = 1;getKey in interface OmniLedgerProto.CollectionProofOrBuilderpublic boolean hasRoot()
required .CollectionProof.Node root = 2;hasRoot in interface OmniLedgerProto.CollectionProofOrBuilderpublic OmniLedgerProto.CollectionProof.Node getRoot()
required .CollectionProof.Node root = 2;getRoot in interface OmniLedgerProto.CollectionProofOrBuilderpublic OmniLedgerProto.CollectionProof.NodeOrBuilder getRootOrBuilder()
required .CollectionProof.Node root = 2;getRootOrBuilder in interface OmniLedgerProto.CollectionProofOrBuilderpublic List<OmniLedgerProto.CollectionProof.Step> getStepsList()
repeated .CollectionProof.Step steps = 3;getStepsList in interface OmniLedgerProto.CollectionProofOrBuilderpublic List<? extends OmniLedgerProto.CollectionProof.StepOrBuilder> getStepsOrBuilderList()
repeated .CollectionProof.Step steps = 3;getStepsOrBuilderList in interface OmniLedgerProto.CollectionProofOrBuilderpublic int getStepsCount()
repeated .CollectionProof.Step steps = 3;getStepsCount in interface OmniLedgerProto.CollectionProofOrBuilderpublic OmniLedgerProto.CollectionProof.Step getSteps(int index)
repeated .CollectionProof.Step steps = 3;getSteps in interface OmniLedgerProto.CollectionProofOrBuilderpublic OmniLedgerProto.CollectionProof.StepOrBuilder getStepsOrBuilder(int index)
repeated .CollectionProof.Step steps = 3;getStepsOrBuilder in interface OmniLedgerProto.CollectionProofOrBuilderpublic 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 OmniLedgerProto.CollectionProof parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(InputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OmniLedgerProto.CollectionProof parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.CollectionProof parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.CollectionProof parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OmniLedgerProto.CollectionProof.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OmniLedgerProto.CollectionProof.Builder newBuilder()
public static OmniLedgerProto.CollectionProof.Builder newBuilder(OmniLedgerProto.CollectionProof prototype)
public OmniLedgerProto.CollectionProof.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OmniLedgerProto.CollectionProof.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OmniLedgerProto.CollectionProof getDefaultInstance()
public static com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> parser()
public com.google.protobuf.Parser<OmniLedgerProto.CollectionProof> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OmniLedgerProto.CollectionProof getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.