public static final class Protocol.Block.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder> implements Protocol.BlockOrBuilder
blockProtobuf type
protocol.Block
Modifier and Type | Method and Description |
---|---|
Protocol.Block.Builder |
addAllTransactions(Iterable<? extends Protocol.Transaction> values)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Block.Builder |
addTransactions(int index,
Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
addTransactions(int index,
Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
addTransactions(Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
addTransactions(Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Protocol.Transaction.Builder |
addTransactionsBuilder()
repeated .protocol.Transaction transactions = 1; |
Protocol.Transaction.Builder |
addTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block |
build() |
Protocol.Block |
buildPartial() |
Protocol.Block.Builder |
clear() |
Protocol.Block.Builder |
clearBlockHeader()
.protocol.BlockHeader block_header = 2; |
Protocol.Block.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.Block.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.Block.Builder |
clearTransactions()
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
clone() |
Protocol.BlockHeader |
getBlockHeader()
.protocol.BlockHeader block_header = 2; |
Protocol.BlockHeader.Builder |
getBlockHeaderBuilder()
.protocol.BlockHeader block_header = 2; |
Protocol.BlockHeaderOrBuilder |
getBlockHeaderOrBuilder()
.protocol.BlockHeader block_header = 2; |
Protocol.Block |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protocol.Transaction |
getTransactions(int index)
repeated .protocol.Transaction transactions = 1; |
Protocol.Transaction.Builder |
getTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
List<Protocol.Transaction.Builder> |
getTransactionsBuilderList()
repeated .protocol.Transaction transactions = 1; |
int |
getTransactionsCount()
repeated .protocol.Transaction transactions = 1; |
List<Protocol.Transaction> |
getTransactionsList()
repeated .protocol.Transaction transactions = 1; |
Protocol.TransactionOrBuilder |
getTransactionsOrBuilder(int index)
repeated .protocol.Transaction transactions = 1; |
List<? extends Protocol.TransactionOrBuilder> |
getTransactionsOrBuilderList()
repeated .protocol.Transaction transactions = 1; |
boolean |
hasBlockHeader()
.protocol.BlockHeader block_header = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.Block.Builder |
mergeBlockHeader(Protocol.BlockHeader value)
.protocol.BlockHeader block_header = 2; |
Protocol.Block.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.Block.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.Block.Builder |
mergeFrom(Protocol.Block other) |
Protocol.Block.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.Block.Builder |
removeTransactions(int index)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
setBlockHeader(Protocol.BlockHeader.Builder builderForValue)
.protocol.BlockHeader block_header = 2; |
Protocol.Block.Builder |
setBlockHeader(Protocol.BlockHeader value)
.protocol.BlockHeader block_header = 2; |
Protocol.Block.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.Block.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.Block.Builder |
setTransactions(int index,
Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.Builder |
setTransactions(int index,
Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1; |
Protocol.Block.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.Block build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.Block buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.Block.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder mergeFrom(Protocol.Block other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public Protocol.Block.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.Block.Builder>
IOException
public List<Protocol.Transaction> getTransactionsList()
repeated .protocol.Transaction transactions = 1;
getTransactionsList
in interface Protocol.BlockOrBuilder
public int getTransactionsCount()
repeated .protocol.Transaction transactions = 1;
getTransactionsCount
in interface Protocol.BlockOrBuilder
public Protocol.Transaction getTransactions(int index)
repeated .protocol.Transaction transactions = 1;
getTransactions
in interface Protocol.BlockOrBuilder
public Protocol.Block.Builder setTransactions(int index, Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder setTransactions(int index, Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder addTransactions(Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder addTransactions(int index, Protocol.Transaction value)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder addTransactions(Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder addTransactions(int index, Protocol.Transaction.Builder builderForValue)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder addAllTransactions(Iterable<? extends Protocol.Transaction> values)
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder clearTransactions()
repeated .protocol.Transaction transactions = 1;
public Protocol.Block.Builder removeTransactions(int index)
repeated .protocol.Transaction transactions = 1;
public Protocol.Transaction.Builder getTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1;
public Protocol.TransactionOrBuilder getTransactionsOrBuilder(int index)
repeated .protocol.Transaction transactions = 1;
getTransactionsOrBuilder
in interface Protocol.BlockOrBuilder
public List<? extends Protocol.TransactionOrBuilder> getTransactionsOrBuilderList()
repeated .protocol.Transaction transactions = 1;
getTransactionsOrBuilderList
in interface Protocol.BlockOrBuilder
public Protocol.Transaction.Builder addTransactionsBuilder()
repeated .protocol.Transaction transactions = 1;
public Protocol.Transaction.Builder addTransactionsBuilder(int index)
repeated .protocol.Transaction transactions = 1;
public List<Protocol.Transaction.Builder> getTransactionsBuilderList()
repeated .protocol.Transaction transactions = 1;
public boolean hasBlockHeader()
.protocol.BlockHeader block_header = 2;
hasBlockHeader
in interface Protocol.BlockOrBuilder
public Protocol.BlockHeader getBlockHeader()
.protocol.BlockHeader block_header = 2;
getBlockHeader
in interface Protocol.BlockOrBuilder
public Protocol.Block.Builder setBlockHeader(Protocol.BlockHeader value)
.protocol.BlockHeader block_header = 2;
public Protocol.Block.Builder setBlockHeader(Protocol.BlockHeader.Builder builderForValue)
.protocol.BlockHeader block_header = 2;
public Protocol.Block.Builder mergeBlockHeader(Protocol.BlockHeader value)
.protocol.BlockHeader block_header = 2;
public Protocol.Block.Builder clearBlockHeader()
.protocol.BlockHeader block_header = 2;
public Protocol.BlockHeader.Builder getBlockHeaderBuilder()
.protocol.BlockHeader block_header = 2;
public Protocol.BlockHeaderOrBuilder getBlockHeaderOrBuilder()
.protocol.BlockHeader block_header = 2;
getBlockHeaderOrBuilder
in interface Protocol.BlockOrBuilder
public final Protocol.Block.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
public final Protocol.Block.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Block.Builder>
Copyright © 2020. All rights reserved.