public static final class OmniLedgerProto.DataBody.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder> implements OmniLedgerProto.DataBodyOrBuilder
DataBody is stored in the body of the skipblock but is not hashed. This reduces the proof needed for a key/value pair.Protobuf type
omniledger.DataBody| Modifier and Type | Method and Description |
|---|---|
OmniLedgerProto.DataBody.Builder |
addAllTransactions(Iterable<? extends OmniLedgerProto.ClientTransaction> values)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.DataBody.Builder |
addTransactions(int index,
OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
addTransactions(int index,
OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
addTransactions(OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
addTransactions(OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.ClientTransaction.Builder |
addTransactionsBuilder()
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.ClientTransaction.Builder |
addTransactionsBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody |
build() |
OmniLedgerProto.DataBody |
buildPartial() |
OmniLedgerProto.DataBody.Builder |
clear() |
OmniLedgerProto.DataBody.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OmniLedgerProto.DataBody.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OmniLedgerProto.DataBody.Builder |
clearTransactions()
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
clone() |
OmniLedgerProto.DataBody |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OmniLedgerProto.ClientTransaction |
getTransactions(int index)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.ClientTransaction.Builder |
getTransactionsBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1; |
List<OmniLedgerProto.ClientTransaction.Builder> |
getTransactionsBuilderList()
repeated .omniledger.ClientTransaction transactions = 1; |
int |
getTransactionsCount()
repeated .omniledger.ClientTransaction transactions = 1; |
List<OmniLedgerProto.ClientTransaction> |
getTransactionsList()
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.ClientTransactionOrBuilder |
getTransactionsOrBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1; |
List<? extends OmniLedgerProto.ClientTransactionOrBuilder> |
getTransactionsOrBuilderList()
repeated .omniledger.ClientTransaction transactions = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OmniLedgerProto.DataBody.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OmniLedgerProto.DataBody.Builder |
mergeFrom(com.google.protobuf.Message other) |
OmniLedgerProto.DataBody.Builder |
mergeFrom(OmniLedgerProto.DataBody other) |
OmniLedgerProto.DataBody.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OmniLedgerProto.DataBody.Builder |
removeTransactions(int index)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.DataBody.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OmniLedgerProto.DataBody.Builder |
setTransactions(int index,
OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.Builder |
setTransactions(int index,
OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1; |
OmniLedgerProto.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody.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.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OmniLedgerProto.DataBody build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.DataBody buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder>public OmniLedgerProto.DataBody.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder>public OmniLedgerProto.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody.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.DataBody.Builder>public OmniLedgerProto.DataBody.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OmniLedgerProto.DataBody.Builder>public OmniLedgerProto.DataBody.Builder mergeFrom(OmniLedgerProto.DataBody other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder>public OmniLedgerProto.DataBody.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.DataBody.Builder>IOExceptionpublic List<OmniLedgerProto.ClientTransaction> getTransactionsList()
repeated .omniledger.ClientTransaction transactions = 1;getTransactionsList in interface OmniLedgerProto.DataBodyOrBuilderpublic int getTransactionsCount()
repeated .omniledger.ClientTransaction transactions = 1;getTransactionsCount in interface OmniLedgerProto.DataBodyOrBuilderpublic OmniLedgerProto.ClientTransaction getTransactions(int index)
repeated .omniledger.ClientTransaction transactions = 1;getTransactions in interface OmniLedgerProto.DataBodyOrBuilderpublic OmniLedgerProto.DataBody.Builder setTransactions(int index, OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder setTransactions(int index, OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder addTransactions(OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder addTransactions(int index, OmniLedgerProto.ClientTransaction value)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder addTransactions(OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder addTransactions(int index, OmniLedgerProto.ClientTransaction.Builder builderForValue)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder addAllTransactions(Iterable<? extends OmniLedgerProto.ClientTransaction> values)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder clearTransactions()
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.DataBody.Builder removeTransactions(int index)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.ClientTransaction.Builder getTransactionsBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.ClientTransactionOrBuilder getTransactionsOrBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1;getTransactionsOrBuilder in interface OmniLedgerProto.DataBodyOrBuilderpublic List<? extends OmniLedgerProto.ClientTransactionOrBuilder> getTransactionsOrBuilderList()
repeated .omniledger.ClientTransaction transactions = 1;getTransactionsOrBuilderList in interface OmniLedgerProto.DataBodyOrBuilderpublic OmniLedgerProto.ClientTransaction.Builder addTransactionsBuilder()
repeated .omniledger.ClientTransaction transactions = 1;public OmniLedgerProto.ClientTransaction.Builder addTransactionsBuilder(int index)
repeated .omniledger.ClientTransaction transactions = 1;public List<OmniLedgerProto.ClientTransaction.Builder> getTransactionsBuilderList()
repeated .omniledger.ClientTransaction transactions = 1;public final OmniLedgerProto.DataBody.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder>public final OmniLedgerProto.DataBody.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.DataBody.Builder>Copyright © 2018. All rights reserved.