public static final class Chain.Block.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder> implements Chain.BlockOrBuilder
blockProtobuf type
protocol.Block| Modifier and Type | Method and Description |
|---|---|
Chain.Block.Builder |
addAllTransactions(java.lang.Iterable<? extends Chain.Transaction> values)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Chain.Block.Builder |
addTransactions(Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
addTransactions(Chain.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
addTransactions(int index,
Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
addTransactions(int index,
Chain.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Chain.Transaction.Builder |
addTransactionsBuilder()
repeated .protocol.Transaction transactions = 1; |
Chain.Transaction.Builder |
addTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
Chain.Block |
build() |
Chain.Block |
buildPartial() |
Chain.Block.Builder |
clear() |
Chain.Block.Builder |
clearBlockHeader()
.protocol.BlockHeader block_header = 2; |
Chain.Block.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Chain.Block.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Chain.Block.Builder |
clearTransactions()
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
clone() |
Chain.BlockHeader |
getBlockHeader()
.protocol.BlockHeader block_header = 2; |
Chain.BlockHeader.Builder |
getBlockHeaderBuilder()
.protocol.BlockHeader block_header = 2; |
Chain.BlockHeaderOrBuilder |
getBlockHeaderOrBuilder()
.protocol.BlockHeader block_header = 2; |
Chain.Block |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Chain.Transaction |
getTransactions(int index)
repeated .protocol.Transaction transactions = 1; |
Chain.Transaction.Builder |
getTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
java.util.List<Chain.Transaction.Builder> |
getTransactionsBuilderList()
repeated .protocol.Transaction transactions = 1; |
int |
getTransactionsCount()
repeated .protocol.Transaction transactions = 1; |
java.util.List<Chain.Transaction> |
getTransactionsList()
repeated .protocol.Transaction transactions = 1; |
Chain.TransactionOrBuilder |
getTransactionsOrBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
java.util.List<? extends Chain.TransactionOrBuilder> |
getTransactionsOrBuilderList()
repeated .protocol.Transaction transactions = 1; |
boolean |
hasBlockHeader()
.protocol.BlockHeader block_header = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Chain.Block.Builder |
mergeBlockHeader(Chain.BlockHeader value)
.protocol.BlockHeader block_header = 2; |
Chain.Block.Builder |
mergeFrom(Chain.Block other) |
Chain.Block.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Chain.Block.Builder |
mergeFrom(com.google.protobuf.Message other) |
Chain.Block.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Chain.Block.Builder |
removeTransactions(int index)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
setBlockHeader(Chain.BlockHeader.Builder builderForValue)
.protocol.BlockHeader block_header = 2; |
Chain.Block.Builder |
setBlockHeader(Chain.BlockHeader value)
.protocol.BlockHeader block_header = 2; |
Chain.Block.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Chain.Block.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Chain.Block.Builder |
setTransactions(int index,
Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
setTransactions(int index,
Chain.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Chain.Block.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<Chain.Block.Builder>public Chain.Block.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.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<Chain.Block.Builder>public Chain.Block getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Chain.Block build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Chain.Block buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Chain.Block.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chain.Block.Builder>public Chain.Block.Builder mergeFrom(Chain.Block other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public Chain.Block.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chain.Block.Builder>java.io.IOExceptionpublic java.util.List<Chain.Transaction> getTransactionsList()
repeated .protocol.Transaction transactions = 1;getTransactionsList in interface Chain.BlockOrBuilderpublic int getTransactionsCount()
repeated .protocol.Transaction transactions = 1;getTransactionsCount in interface Chain.BlockOrBuilderpublic Chain.Transaction getTransactions(int index)
repeated .protocol.Transaction transactions = 1;getTransactions in interface Chain.BlockOrBuilderpublic Chain.Block.Builder setTransactions(int index, Chain.Transaction value)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder setTransactions(int index, Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder addTransactions(Chain.Transaction value)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder addTransactions(int index, Chain.Transaction value)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder addTransactions(Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder addTransactions(int index, Chain.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder addAllTransactions(java.lang.Iterable<? extends Chain.Transaction> values)
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder clearTransactions()
repeated .protocol.Transaction transactions = 1;public Chain.Block.Builder removeTransactions(int index)
repeated .protocol.Transaction transactions = 1;public Chain.Transaction.Builder getTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1;public Chain.TransactionOrBuilder getTransactionsOrBuilder(int index)
repeated .protocol.Transaction transactions = 1;getTransactionsOrBuilder in interface Chain.BlockOrBuilderpublic java.util.List<? extends Chain.TransactionOrBuilder> getTransactionsOrBuilderList()
repeated .protocol.Transaction transactions = 1;getTransactionsOrBuilderList in interface Chain.BlockOrBuilderpublic Chain.Transaction.Builder addTransactionsBuilder()
repeated .protocol.Transaction transactions = 1;public Chain.Transaction.Builder addTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1;public java.util.List<Chain.Transaction.Builder> getTransactionsBuilderList()
repeated .protocol.Transaction transactions = 1;public boolean hasBlockHeader()
.protocol.BlockHeader block_header = 2;hasBlockHeader in interface Chain.BlockOrBuilderpublic Chain.BlockHeader getBlockHeader()
.protocol.BlockHeader block_header = 2;getBlockHeader in interface Chain.BlockOrBuilderpublic Chain.Block.Builder setBlockHeader(Chain.BlockHeader value)
.protocol.BlockHeader block_header = 2;public Chain.Block.Builder setBlockHeader(Chain.BlockHeader.Builder builderForValue)
.protocol.BlockHeader block_header = 2;public Chain.Block.Builder mergeBlockHeader(Chain.BlockHeader value)
.protocol.BlockHeader block_header = 2;public Chain.Block.Builder clearBlockHeader()
.protocol.BlockHeader block_header = 2;public Chain.BlockHeader.Builder getBlockHeaderBuilder()
.protocol.BlockHeader block_header = 2;public Chain.BlockHeaderOrBuilder getBlockHeaderOrBuilder()
.protocol.BlockHeader block_header = 2;getBlockHeaderOrBuilder in interface Chain.BlockOrBuilderpublic final Chain.Block.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>public final Chain.Block.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Chain.Block.Builder>