public static final class OmniLedgerProto.DataHeader.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder> implements OmniLedgerProto.DataHeaderOrBuilder
DataHeader is the data passed to the SkipchainProtobuf type
omniledger.DataHeader| Modifier and Type | Method and Description |
|---|---|
OmniLedgerProto.DataHeader.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.DataHeader |
build() |
OmniLedgerProto.DataHeader |
buildPartial() |
OmniLedgerProto.DataHeader.Builder |
clear() |
OmniLedgerProto.DataHeader.Builder |
clearClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
OmniLedgerProto.DataHeader.Builder |
clearCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
OmniLedgerProto.DataHeader.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OmniLedgerProto.DataHeader.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OmniLedgerProto.DataHeader.Builder |
clearStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the
clientTransactions.
|
OmniLedgerProto.DataHeader.Builder |
clearTimestamp()
Timestamp is a unix timestamp in nanoseconds.
|
OmniLedgerProto.DataHeader.Builder |
clone() |
com.google.protobuf.ByteString |
getClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
com.google.protobuf.ByteString |
getCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
OmniLedgerProto.DataHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the
clientTransactions.
|
long |
getTimestamp()
Timestamp is a unix timestamp in nanoseconds.
|
boolean |
hasClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
boolean |
hasCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
boolean |
hasStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the
clientTransactions.
|
boolean |
hasTimestamp()
Timestamp is a unix timestamp in nanoseconds.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OmniLedgerProto.DataHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OmniLedgerProto.DataHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
OmniLedgerProto.DataHeader.Builder |
mergeFrom(OmniLedgerProto.DataHeader other) |
OmniLedgerProto.DataHeader.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OmniLedgerProto.DataHeader.Builder |
setClienttransactionhash(com.google.protobuf.ByteString value)
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
OmniLedgerProto.DataHeader.Builder |
setCollectionroot(com.google.protobuf.ByteString value)
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
OmniLedgerProto.DataHeader.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.DataHeader.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OmniLedgerProto.DataHeader.Builder |
setStatechangeshash(com.google.protobuf.ByteString value)
StateChangesHash is the sha256 of all the stateChanges occuring through the
clientTransactions.
|
OmniLedgerProto.DataHeader.Builder |
setTimestamp(long value)
Timestamp is a unix timestamp in nanoseconds.
|
OmniLedgerProto.DataHeader.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OmniLedgerProto.DataHeader build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.DataHeader buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.DataHeader.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder mergeFrom(OmniLedgerProto.DataHeader other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public OmniLedgerProto.DataHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OmniLedgerProto.DataHeader.Builder>IOExceptionpublic boolean hasCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after applying the valid transactions.
required bytes collectionroot = 1;hasCollectionroot in interface OmniLedgerProto.DataHeaderOrBuilderpublic com.google.protobuf.ByteString getCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after applying the valid transactions.
required bytes collectionroot = 1;getCollectionroot in interface OmniLedgerProto.DataHeaderOrBuilderpublic OmniLedgerProto.DataHeader.Builder setCollectionroot(com.google.protobuf.ByteString value)
CollectionRoot is the root of the merkle tree of the colleciton after applying the valid transactions.
required bytes collectionroot = 1;public OmniLedgerProto.DataHeader.Builder clearCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after applying the valid transactions.
required bytes collectionroot = 1;public boolean hasClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
required bytes clienttransactionhash = 2;hasClienttransactionhash in interface OmniLedgerProto.DataHeaderOrBuilderpublic com.google.protobuf.ByteString getClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
required bytes clienttransactionhash = 2;getClienttransactionhash in interface OmniLedgerProto.DataHeaderOrBuilderpublic OmniLedgerProto.DataHeader.Builder setClienttransactionhash(com.google.protobuf.ByteString value)
ClientTransactionHash is the sha256 hash of all the transactions in the body
required bytes clienttransactionhash = 2;public OmniLedgerProto.DataHeader.Builder clearClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
required bytes clienttransactionhash = 2;public boolean hasStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the clientTransactions.
required bytes statechangeshash = 3;hasStatechangeshash in interface OmniLedgerProto.DataHeaderOrBuilderpublic com.google.protobuf.ByteString getStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the clientTransactions.
required bytes statechangeshash = 3;getStatechangeshash in interface OmniLedgerProto.DataHeaderOrBuilderpublic OmniLedgerProto.DataHeader.Builder setStatechangeshash(com.google.protobuf.ByteString value)
StateChangesHash is the sha256 of all the stateChanges occuring through the clientTransactions.
required bytes statechangeshash = 3;public OmniLedgerProto.DataHeader.Builder clearStatechangeshash()
StateChangesHash is the sha256 of all the stateChanges occuring through the clientTransactions.
required bytes statechangeshash = 3;public boolean hasTimestamp()
Timestamp is a unix timestamp in nanoseconds.
required sint64 timestamp = 4;hasTimestamp in interface OmniLedgerProto.DataHeaderOrBuilderpublic long getTimestamp()
Timestamp is a unix timestamp in nanoseconds.
required sint64 timestamp = 4;getTimestamp in interface OmniLedgerProto.DataHeaderOrBuilderpublic OmniLedgerProto.DataHeader.Builder setTimestamp(long value)
Timestamp is a unix timestamp in nanoseconds.
required sint64 timestamp = 4;public OmniLedgerProto.DataHeader.Builder clearTimestamp()
Timestamp is a unix timestamp in nanoseconds.
required sint64 timestamp = 4;public final OmniLedgerProto.DataHeader.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>public final OmniLedgerProto.DataHeader.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataHeader.Builder>Copyright © 2018. All rights reserved.