public static final class ByzCoinProto.DataHeader.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder> implements ByzCoinProto.DataHeaderOrBuilder
DataHeader is the data passed to the SkipchainProtobuf type
byzcoin.DataHeader| Modifier and Type | Method and Description |
|---|---|
ByzCoinProto.DataHeader.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.DataHeader |
build() |
ByzCoinProto.DataHeader |
buildPartial() |
ByzCoinProto.DataHeader.Builder |
clear() |
ByzCoinProto.DataHeader.Builder |
clearClienttransactionhash()
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
ByzCoinProto.DataHeader.Builder |
clearCollectionroot()
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
ByzCoinProto.DataHeader.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ByzCoinProto.DataHeader.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ByzCoinProto.DataHeader.Builder |
clearStatechangeshash()
StateChangesHash is the sha256 of all the StateChanges generated by the
accepted transactions.
|
ByzCoinProto.DataHeader.Builder |
clearTimestamp()
Timestamp is a Unix timestamp in nanoseconds.
|
ByzCoinProto.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.
|
ByzCoinProto.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 generated by the
accepted transactions.
|
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 generated by the
accepted transactions.
|
boolean |
hasTimestamp()
Timestamp is a Unix timestamp in nanoseconds.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ByzCoinProto.DataHeader.Builder |
mergeFrom(ByzCoinProto.DataHeader other) |
ByzCoinProto.DataHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ByzCoinProto.DataHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
ByzCoinProto.DataHeader.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByzCoinProto.DataHeader.Builder |
setClienttransactionhash(com.google.protobuf.ByteString value)
ClientTransactionHash is the sha256 hash of all the transactions in the body
|
ByzCoinProto.DataHeader.Builder |
setCollectionroot(com.google.protobuf.ByteString value)
CollectionRoot is the root of the merkle tree of the colleciton after
applying the valid transactions.
|
ByzCoinProto.DataHeader.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.DataHeader.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ByzCoinProto.DataHeader.Builder |
setStatechangeshash(com.google.protobuf.ByteString value)
StateChangesHash is the sha256 of all the StateChanges generated by the
accepted transactions.
|
ByzCoinProto.DataHeader.Builder |
setTimestamp(long value)
Timestamp is a Unix timestamp in nanoseconds.
|
ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.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<ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.DataHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ByzCoinProto.DataHeader build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.DataHeader buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.DataHeader.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.DataHeader.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.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<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.DataHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.DataHeader.Builder mergeFrom(ByzCoinProto.DataHeader other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder>public ByzCoinProto.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<ByzCoinProto.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 ByzCoinProto.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 ByzCoinProto.DataHeaderOrBuilderpublic ByzCoinProto.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 ByzCoinProto.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 ByzCoinProto.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 ByzCoinProto.DataHeaderOrBuilderpublic ByzCoinProto.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 ByzCoinProto.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 generated by the accepted transactions.
required bytes statechangeshash = 3;hasStatechangeshash in interface ByzCoinProto.DataHeaderOrBuilderpublic com.google.protobuf.ByteString getStatechangeshash()
StateChangesHash is the sha256 of all the StateChanges generated by the accepted transactions.
required bytes statechangeshash = 3;getStatechangeshash in interface ByzCoinProto.DataHeaderOrBuilderpublic ByzCoinProto.DataHeader.Builder setStatechangeshash(com.google.protobuf.ByteString value)
StateChangesHash is the sha256 of all the StateChanges generated by the accepted transactions.
required bytes statechangeshash = 3;public ByzCoinProto.DataHeader.Builder clearStatechangeshash()
StateChangesHash is the sha256 of all the StateChanges generated by the accepted transactions.
required bytes statechangeshash = 3;public boolean hasTimestamp()
Timestamp is a Unix timestamp in nanoseconds.
required sint64 timestamp = 4;hasTimestamp in interface ByzCoinProto.DataHeaderOrBuilderpublic long getTimestamp()
Timestamp is a Unix timestamp in nanoseconds.
required sint64 timestamp = 4;getTimestamp in interface ByzCoinProto.DataHeaderOrBuilderpublic ByzCoinProto.DataHeader.Builder setTimestamp(long value)
Timestamp is a Unix timestamp in nanoseconds.
required sint64 timestamp = 4;public ByzCoinProto.DataHeader.Builder clearTimestamp()
Timestamp is a Unix timestamp in nanoseconds.
required sint64 timestamp = 4;public final ByzCoinProto.DataHeader.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder>public final ByzCoinProto.DataHeader.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.DataHeader.Builder>Copyright © 2018. All rights reserved.