Package org.bdware.bdledger.api.grpc.pb
Class CommonProto.Block.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
org.bdware.bdledger.api.grpc.pb.CommonProto.Block.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CommonProto.BlockOrBuilder
- Enclosing class:
CommonProto.Block
public static final class CommonProto.Block.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
implements CommonProto.BlockOrBuilder
Protobuf type
bdware.bdledger.api.Block-
Method Summary
Modifier and TypeMethodDescriptionaddAllParentHashes(Iterable<? extends com.google.protobuf.ByteString> values) 父区块的哈希addAllTransactionHashes(Iterable<? extends com.google.protobuf.ByteString> values) 20字节的事务哈希的数组,或为空addAllTransactions(Iterable<? extends CommonProto.Transaction> values) 事务对象的数组,或为空addAllWitnesses(Iterable<? extends com.google.protobuf.ByteString> values) 见证者账户地址addAllWitnessSignatures(Iterable<? extends com.google.protobuf.ByteString> values) 见证者签名addParentHashes(com.google.protobuf.ByteString value) 父区块的哈希addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTransactionHashes(com.google.protobuf.ByteString value) 20字节的事务哈希的数组,或为空addTransactions(int index, CommonProto.Transaction value) 事务对象的数组,或为空addTransactions(int index, CommonProto.Transaction.Builder builderForValue) 事务对象的数组,或为空事务对象的数组,或为空addTransactions(CommonProto.Transaction.Builder builderForValue) 事务对象的数组,或为空事务对象的数组,或为空addTransactionsBuilder(int index) 事务对象的数组,或为空addWitnesses(com.google.protobuf.ByteString value) 见证者账户地址addWitnessSignatures(com.google.protobuf.ByteString value) 见证者签名build()clear()产块者账户地址产块者签名clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 区块的哈希,当区块处于待确认状态时为`null`这个区块之前产块者产生的区块数量clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 父区块的哈希区块大小的字节数区块产生时的 UNIX 时间戳,单位为秒区块包含的事务数量20字节的事务哈希的数组,或为空事务对象的数组,或为空区块的事务默克尔树根见证者账户地址见证者签名clone()com.google.protobuf.ByteString产块者账户地址com.google.protobuf.ByteString产块者签名static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringgetHash()区块的哈希,当区块处于待确认状态时为`null`longgetNonce()这个区块之前产块者产生的区块数量com.google.protobuf.ByteStringgetParentHashes(int index) 父区块的哈希int父区块的哈希List<com.google.protobuf.ByteString>父区块的哈希longgetSize()区块大小的字节数long区块产生时的 UNIX 时间戳,单位为秒int区块包含的事务数量com.google.protobuf.ByteStringgetTransactionHashes(int index) 20字节的事务哈希的数组,或为空int20字节的事务哈希的数组,或为空List<com.google.protobuf.ByteString>20字节的事务哈希的数组,或为空getTransactions(int index) 事务对象的数组,或为空getTransactionsBuilder(int index) 事务对象的数组,或为空事务对象的数组,或为空int事务对象的数组,或为空事务对象的数组,或为空getTransactionsOrBuilder(int index) 事务对象的数组,或为空List<? extends CommonProto.TransactionOrBuilder>事务对象的数组,或为空com.google.protobuf.ByteString区块的事务默克尔树根com.google.protobuf.ByteStringgetWitnesses(int index) 见证者账户地址int见证者账户地址List<com.google.protobuf.ByteString>见证者账户地址com.google.protobuf.ByteStringgetWitnessSignatures(int index) 见证者签名int见证者签名List<com.google.protobuf.ByteString>见证者签名protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CommonProto.Block other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeTransactions(int index) 事务对象的数组,或为空setCreator(com.google.protobuf.ByteString value) 产块者账户地址setCreatorSignature(com.google.protobuf.ByteString value) 产块者签名setHash(com.google.protobuf.ByteString value) 区块的哈希,当区块处于待确认状态时为`null`setNonce(long value) 这个区块之前产块者产生的区块数量setParentHashes(int index, com.google.protobuf.ByteString value) 父区块的哈希setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSize(long value) 区块大小的字节数setTimestamp(long value) 区块产生时的 UNIX 时间戳,单位为秒setTransactionCount(int value) 区块包含的事务数量setTransactionHashes(int index, com.google.protobuf.ByteString value) 20字节的事务哈希的数组,或为空setTransactions(int index, CommonProto.Transaction value) 事务对象的数组,或为空setTransactions(int index, CommonProto.Transaction.Builder builderForValue) 事务对象的数组,或为空setTransactionsRoot(com.google.protobuf.ByteString value) 区块的事务默克尔树根setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWitnesses(int index, com.google.protobuf.ByteString value) 见证者账户地址setWitnessSignatures(int index, com.google.protobuf.ByteString value) 见证者签名Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
setField
public CommonProto.Block.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
setRepeatedField
public CommonProto.Block.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
addRepeatedField
public CommonProto.Block.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonProto.Block.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
mergeFrom
public CommonProto.Block.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonProto.Block.Builder>- Throws:
IOException
-
getHash
public com.google.protobuf.ByteString getHash()区块的哈希,当区块处于待确认状态时为`null`
bytes hash = 1;- Specified by:
getHashin interfaceCommonProto.BlockOrBuilder- Returns:
- The hash.
-
setHash
区块的哈希,当区块处于待确认状态时为`null`
bytes hash = 1;- Parameters:
value- The hash to set.- Returns:
- This builder for chaining.
-
clearHash
区块的哈希,当区块处于待确认状态时为`null`
bytes hash = 1;- Returns:
- This builder for chaining.
-
getCreator
public com.google.protobuf.ByteString getCreator()产块者账户地址
bytes creator = 2;- Specified by:
getCreatorin interfaceCommonProto.BlockOrBuilder- Returns:
- The creator.
-
setCreator
产块者账户地址
bytes creator = 2;- Parameters:
value- The creator to set.- Returns:
- This builder for chaining.
-
clearCreator
产块者账户地址
bytes creator = 2;- Returns:
- This builder for chaining.
-
getNonce
public long getNonce()这个区块之前产块者产生的区块数量
uint64 nonce = 3;- Specified by:
getNoncein interfaceCommonProto.BlockOrBuilder- Returns:
- The nonce.
-
setNonce
这个区块之前产块者产生的区块数量
uint64 nonce = 3;- Parameters:
value- The nonce to set.- Returns:
- This builder for chaining.
-
clearNonce
这个区块之前产块者产生的区块数量
uint64 nonce = 3;- Returns:
- This builder for chaining.
-
getParentHashesList
父区块的哈希
repeated bytes parent_hashes = 4;- Specified by:
getParentHashesListin interfaceCommonProto.BlockOrBuilder- Returns:
- A list containing the parentHashes.
-
getParentHashesCount
public int getParentHashesCount()父区块的哈希
repeated bytes parent_hashes = 4;- Specified by:
getParentHashesCountin interfaceCommonProto.BlockOrBuilder- Returns:
- The count of parentHashes.
-
getParentHashes
public com.google.protobuf.ByteString getParentHashes(int index) 父区块的哈希
repeated bytes parent_hashes = 4;- Specified by:
getParentHashesin interfaceCommonProto.BlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parentHashes at the given index.
-
setParentHashes
父区块的哈希
repeated bytes parent_hashes = 4;- Parameters:
index- The index to set the value at.value- The parentHashes to set.- Returns:
- This builder for chaining.
-
addParentHashes
父区块的哈希
repeated bytes parent_hashes = 4;- Parameters:
value- The parentHashes to add.- Returns:
- This builder for chaining.
-
addAllParentHashes
public CommonProto.Block.Builder addAllParentHashes(Iterable<? extends com.google.protobuf.ByteString> values) 父区块的哈希
repeated bytes parent_hashes = 4;- Parameters:
values- The parentHashes to add.- Returns:
- This builder for chaining.
-
clearParentHashes
父区块的哈希
repeated bytes parent_hashes = 4;- Returns:
- This builder for chaining.
-
getWitnessesList
见证者账户地址
repeated bytes witnesses = 5;- Specified by:
getWitnessesListin interfaceCommonProto.BlockOrBuilder- Returns:
- A list containing the witnesses.
-
getWitnessesCount
public int getWitnessesCount()见证者账户地址
repeated bytes witnesses = 5;- Specified by:
getWitnessesCountin interfaceCommonProto.BlockOrBuilder- Returns:
- The count of witnesses.
-
getWitnesses
public com.google.protobuf.ByteString getWitnesses(int index) 见证者账户地址
repeated bytes witnesses = 5;- Specified by:
getWitnessesin interfaceCommonProto.BlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The witnesses at the given index.
-
setWitnesses
见证者账户地址
repeated bytes witnesses = 5;- Parameters:
index- The index to set the value at.value- The witnesses to set.- Returns:
- This builder for chaining.
-
addWitnesses
见证者账户地址
repeated bytes witnesses = 5;- Parameters:
value- The witnesses to add.- Returns:
- This builder for chaining.
-
addAllWitnesses
public CommonProto.Block.Builder addAllWitnesses(Iterable<? extends com.google.protobuf.ByteString> values) 见证者账户地址
repeated bytes witnesses = 5;- Parameters:
values- The witnesses to add.- Returns:
- This builder for chaining.
-
clearWitnesses
见证者账户地址
repeated bytes witnesses = 5;- Returns:
- This builder for chaining.
-
getTimestamp
public long getTimestamp()区块产生时的 UNIX 时间戳,单位为秒
int64 timestamp = 6;- Specified by:
getTimestampin interfaceCommonProto.BlockOrBuilder- Returns:
- The timestamp.
-
setTimestamp
区块产生时的 UNIX 时间戳,单位为秒
int64 timestamp = 6;- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
区块产生时的 UNIX 时间戳,单位为秒
int64 timestamp = 6;- Returns:
- This builder for chaining.
-
getSize
public long getSize()区块大小的字节数
uint64 size = 7;- Specified by:
getSizein interfaceCommonProto.BlockOrBuilder- Returns:
- The size.
-
setSize
区块大小的字节数
uint64 size = 7;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
区块大小的字节数
uint64 size = 7;- Returns:
- This builder for chaining.
-
getTransactionCount
public int getTransactionCount()区块包含的事务数量
uint32 transaction_count = 8;- Specified by:
getTransactionCountin interfaceCommonProto.BlockOrBuilder- Returns:
- The transactionCount.
-
setTransactionCount
区块包含的事务数量
uint32 transaction_count = 8;- Parameters:
value- The transactionCount to set.- Returns:
- This builder for chaining.
-
clearTransactionCount
区块包含的事务数量
uint32 transaction_count = 8;- Returns:
- This builder for chaining.
-
getTransactionsRoot
public com.google.protobuf.ByteString getTransactionsRoot()区块的事务默克尔树根
bytes transactions_root = 9;- Specified by:
getTransactionsRootin interfaceCommonProto.BlockOrBuilder- Returns:
- The transactionsRoot.
-
setTransactionsRoot
区块的事务默克尔树根
bytes transactions_root = 9;- Parameters:
value- The transactionsRoot to set.- Returns:
- This builder for chaining.
-
clearTransactionsRoot
区块的事务默克尔树根
bytes transactions_root = 9;- Returns:
- This builder for chaining.
-
getTransactionsList
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10;- Specified by:
getTransactionsListin interfaceCommonProto.BlockOrBuilder
-
getTransactionsCount
public int getTransactionsCount()事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10;- Specified by:
getTransactionsCountin interfaceCommonProto.BlockOrBuilder
-
getTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10;- Specified by:
getTransactionsin interfaceCommonProto.BlockOrBuilder
-
setTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
setTransactions
public CommonProto.Block.Builder setTransactions(int index, CommonProto.Transaction.Builder builderForValue) 事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addTransactions
public CommonProto.Block.Builder addTransactions(int index, CommonProto.Transaction.Builder builderForValue) 事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addAllTransactions
public CommonProto.Block.Builder addAllTransactions(Iterable<? extends CommonProto.Transaction> values) 事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
clearTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
removeTransactions
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
getTransactionsBuilder
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
getTransactionsOrBuilder
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10;- Specified by:
getTransactionsOrBuilderin interfaceCommonProto.BlockOrBuilder
-
getTransactionsOrBuilderList
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10;- Specified by:
getTransactionsOrBuilderListin interfaceCommonProto.BlockOrBuilder
-
addTransactionsBuilder
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
addTransactionsBuilder
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
getTransactionsBuilderList
事务对象的数组,或为空
repeated .bdware.bdledger.api.Transaction transactions = 10; -
getTransactionHashesList
20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Specified by:
getTransactionHashesListin interfaceCommonProto.BlockOrBuilder- Returns:
- A list containing the transactionHashes.
-
getTransactionHashesCount
public int getTransactionHashesCount()20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Specified by:
getTransactionHashesCountin interfaceCommonProto.BlockOrBuilder- Returns:
- The count of transactionHashes.
-
getTransactionHashes
public com.google.protobuf.ByteString getTransactionHashes(int index) 20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Specified by:
getTransactionHashesin interfaceCommonProto.BlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The transactionHashes at the given index.
-
setTransactionHashes
public CommonProto.Block.Builder setTransactionHashes(int index, com.google.protobuf.ByteString value) 20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Parameters:
index- The index to set the value at.value- The transactionHashes to set.- Returns:
- This builder for chaining.
-
addTransactionHashes
20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Parameters:
value- The transactionHashes to add.- Returns:
- This builder for chaining.
-
addAllTransactionHashes
public CommonProto.Block.Builder addAllTransactionHashes(Iterable<? extends com.google.protobuf.ByteString> values) 20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Parameters:
values- The transactionHashes to add.- Returns:
- This builder for chaining.
-
clearTransactionHashes
20字节的事务哈希的数组,或为空
repeated bytes transaction_hashes = 11;- Returns:
- This builder for chaining.
-
getCreatorSignature
public com.google.protobuf.ByteString getCreatorSignature()产块者签名
bytes creator_signature = 12;- Specified by:
getCreatorSignaturein interfaceCommonProto.BlockOrBuilder- Returns:
- The creatorSignature.
-
setCreatorSignature
产块者签名
bytes creator_signature = 12;- Parameters:
value- The creatorSignature to set.- Returns:
- This builder for chaining.
-
clearCreatorSignature
产块者签名
bytes creator_signature = 12;- Returns:
- This builder for chaining.
-
getWitnessSignaturesList
见证者签名
repeated bytes witness_signatures = 13;- Specified by:
getWitnessSignaturesListin interfaceCommonProto.BlockOrBuilder- Returns:
- A list containing the witnessSignatures.
-
getWitnessSignaturesCount
public int getWitnessSignaturesCount()见证者签名
repeated bytes witness_signatures = 13;- Specified by:
getWitnessSignaturesCountin interfaceCommonProto.BlockOrBuilder- Returns:
- The count of witnessSignatures.
-
getWitnessSignatures
public com.google.protobuf.ByteString getWitnessSignatures(int index) 见证者签名
repeated bytes witness_signatures = 13;- Specified by:
getWitnessSignaturesin interfaceCommonProto.BlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The witnessSignatures at the given index.
-
setWitnessSignatures
public CommonProto.Block.Builder setWitnessSignatures(int index, com.google.protobuf.ByteString value) 见证者签名
repeated bytes witness_signatures = 13;- Parameters:
index- The index to set the value at.value- The witnessSignatures to set.- Returns:
- This builder for chaining.
-
addWitnessSignatures
见证者签名
repeated bytes witness_signatures = 13;- Parameters:
value- The witnessSignatures to add.- Returns:
- This builder for chaining.
-
addAllWitnessSignatures
public CommonProto.Block.Builder addAllWitnessSignatures(Iterable<? extends com.google.protobuf.ByteString> values) 见证者签名
repeated bytes witness_signatures = 13;- Parameters:
values- The witnessSignatures to add.- Returns:
- This builder for chaining.
-
clearWitnessSignatures
见证者签名
repeated bytes witness_signatures = 13;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonProto.Block.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-
mergeUnknownFields
public final CommonProto.Block.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>
-