程序包 org.bdware.bdledger.api.grpc.pb

# 类 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

所有已实现的接口:
  `com.google.protobuf.Message.Builder`, `com.google.protobuf.MessageLite.Builder`, `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`, `Cloneable`, `CommonProto.BlockOrBuilder`

封闭类:
  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`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `CommonProto.Block.Builder`
  `addAllParentHashes​(Iterable<? extends com.google.protobuf.ByteString> values)`
  父区块的哈希
  `CommonProto.Block.Builder`
  `addAllTransactionHashes​(Iterable<? extends com.google.protobuf.ByteString> values)`
  20字节的交易哈希的数组，或为空
  `CommonProto.Block.Builder`
  `addAllTransactions​(Iterable<? extends CommonProto.Transaction> values)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `addAllWitnesses​(Iterable<? extends com.google.protobuf.ByteString> values)`
  见证者账户地址
  `CommonProto.Block.Builder`
  `addParentHashes​(com.google.protobuf.ByteString value)`
  父区块的哈希
  `CommonProto.Block.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `CommonProto.Block.Builder`
  `addTransactionHashes​(com.google.protobuf.ByteString value)`
  20字节的交易哈希的数组，或为空
  `CommonProto.Block.Builder`
  `addTransactions​(int index, CommonProto.Transaction value)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `addTransactions​(int index, CommonProto.Transaction.Builder builderForValue)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `addTransactions​(CommonProto.Transaction value)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `addTransactions​(CommonProto.Transaction.Builder builderForValue)`
  事务对象的数组，或为空
  `CommonProto.Transaction.Builder`
  `addTransactionsBuilder()`
  事务对象的数组，或为空
  `CommonProto.Transaction.Builder`
  `addTransactionsBuilder​(int index)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `addWitnesses​(com.google.protobuf.ByteString value)`
  见证者账户地址
  `CommonProto.Block`
  `build()`
  `CommonProto.Block`
  `buildPartial()`
  `CommonProto.Block.Builder`
  `clear()`
  `CommonProto.Block.Builder`
  `clearCreator()`
  产块者账户地址
  `CommonProto.Block.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `CommonProto.Block.Builder`
  `clearHash()`
  区块的哈希，当区块处于待确认状态时为`null`
  `CommonProto.Block.Builder`
  `clearNonce()`
  这个区块之前产块者产生的区块数量
  `CommonProto.Block.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `CommonProto.Block.Builder`
  `clearParentHashes()`
  父区块的哈希
  `CommonProto.Block.Builder`
  `clearSize()`
  区块大小的字节数
  `CommonProto.Block.Builder`
  `clearTimestamp()`
  区块产生时的 UNIX 时间戳，单位为秒
  `CommonProto.Block.Builder`
  `clearTransactionCount()`
  区块包含的事务数量
  `CommonProto.Block.Builder`
  `clearTransactionHashes()`
  20字节的交易哈希的数组，或为空
  `CommonProto.Block.Builder`
  `clearTransactions()`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `clearTransactionsRoot()`
  区块的事务默克尔树根
  `CommonProto.Block.Builder`
  `clearWitnesses()`
  见证者账户地址
  `CommonProto.Block.Builder`
  `clone()`
  `com.google.protobuf.ByteString`
  `getCreator()`
  产块者账户地址
  `CommonProto.Block`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `com.google.protobuf.ByteString`
  `getHash()`
  区块的哈希，当区块处于待确认状态时为`null`
  `long`
  `getNonce()`
  这个区块之前产块者产生的区块数量
  `com.google.protobuf.ByteString`
  `getParentHashes​(int index)`
  父区块的哈希
  `int`
  `getParentHashesCount()`
  父区块的哈希
  `List<com.google.protobuf.ByteString>`
  `getParentHashesList()`
  父区块的哈希
  `long`
  `getSize()`
  区块大小的字节数
  `long`
  `getTimestamp()`
  区块产生时的 UNIX 时间戳，单位为秒
  `int`
  `getTransactionCount()`
  区块包含的事务数量
  `com.google.protobuf.ByteString`
  `getTransactionHashes​(int index)`
  20字节的交易哈希的数组，或为空
  `int`
  `getTransactionHashesCount()`
  20字节的交易哈希的数组，或为空
  `List<com.google.protobuf.ByteString>`
  `getTransactionHashesList()`
  20字节的交易哈希的数组，或为空
  `CommonProto.Transaction`
  `getTransactions​(int index)`
  事务对象的数组，或为空
  `CommonProto.Transaction.Builder`
  `getTransactionsBuilder​(int index)`
  事务对象的数组，或为空
  `List<CommonProto.Transaction.Builder>`
  `getTransactionsBuilderList()`
  事务对象的数组，或为空
  `int`
  `getTransactionsCount()`
  事务对象的数组，或为空
  `List<CommonProto.Transaction>`
  `getTransactionsList()`
  事务对象的数组，或为空
  `CommonProto.TransactionOrBuilder`
  `getTransactionsOrBuilder​(int index)`
  事务对象的数组，或为空
  `List<? extends CommonProto.TransactionOrBuilder>`
  `getTransactionsOrBuilderList()`
  事务对象的数组，或为空
  `com.google.protobuf.ByteString`
  `getTransactionsRoot()`
  区块的事务默克尔树根
  `com.google.protobuf.ByteString`
  `getWitnesses​(int index)`
  见证者账户地址
  `int`
  `getWitnessesCount()`
  见证者账户地址
  `List<com.google.protobuf.ByteString>`
  `getWitnessesList()`
  见证者账户地址
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `CommonProto.Block.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `CommonProto.Block.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `CommonProto.Block.Builder`
  `mergeFrom​(CommonProto.Block other)`
  `CommonProto.Block.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `CommonProto.Block.Builder`
  `removeTransactions​(int index)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `setCreator​(com.google.protobuf.ByteString value)`
  产块者账户地址
  `CommonProto.Block.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `CommonProto.Block.Builder`
  `setHash​(com.google.protobuf.ByteString value)`
  区块的哈希，当区块处于待确认状态时为`null`
  `CommonProto.Block.Builder`
  `setNonce​(long value)`
  这个区块之前产块者产生的区块数量
  `CommonProto.Block.Builder`
  `setParentHashes​(int index, com.google.protobuf.ByteString value)`
  父区块的哈希
  `CommonProto.Block.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `CommonProto.Block.Builder`
  `setSize​(long value)`
  区块大小的字节数
  `CommonProto.Block.Builder`
  `setTimestamp​(long value)`
  区块产生时的 UNIX 时间戳，单位为秒
  `CommonProto.Block.Builder`
  `setTransactionCount​(int value)`
  区块包含的事务数量
  `CommonProto.Block.Builder`
  `setTransactionHashes​(int index, com.google.protobuf.ByteString value)`
  20字节的交易哈希的数组，或为空
  `CommonProto.Block.Builder`
  `setTransactions​(int index, CommonProto.Transaction value)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `setTransactions​(int index, CommonProto.Transaction.Builder builderForValue)`
  事务对象的数组，或为空
  `CommonProto.Block.Builder`
  `setTransactionsRoot​(com.google.protobuf.ByteString value)`
  区块的事务默克尔树根
  `CommonProto.Block.Builder`
  `setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `CommonProto.Block.Builder`
  `setWitnesses​(int index, com.google.protobuf.ByteString value)`
  见证者账户地址

  ### 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder

  `getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3`

  ### 从类继承的方法 com.google.protobuf.AbstractMessage.Builder

  `findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString`

  ### 从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder

  `addAll, addAll, mergeFrom, newUninitializedMessageException`

  ### 从类继承的方法 java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### 从接口继承的方法 com.google.protobuf.MessageLite.Builder

  `mergeFrom`

  ### 从接口继承的方法 com.google.protobuf.MessageOrBuilder

  `findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

- ## 方法详细资料

  - ### getDescriptor

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

  - ### internalGetFieldAccessorTable

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
    指定者:
      `internalGetFieldAccessorTable` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### clear

    public CommonProto.Block.Builder clear()
    指定者:
      `clear` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clear` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clear` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### getDescriptorForType

    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.MessageOrBuilder`
    覆盖:
      `getDescriptorForType` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### getDefaultInstanceForType

    public CommonProto.Block getDefaultInstanceForType()
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageOrBuilder`

  - ### build

    public CommonProto.Block build()
    指定者:
      `build` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `build` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### buildPartial

    public CommonProto.Block buildPartial()
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### clone

    public CommonProto.Block.Builder clone()
    指定者:
      `clone` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clone` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clone` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### setField

    public CommonProto.Block.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `setField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### clearField

    public CommonProto.Block.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
    指定者:
      `clearField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### clearOneof

    public CommonProto.Block.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
    指定者:
      `clearOneof` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearOneof` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### setRepeatedField

    public CommonProto.Block.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
    指定者:
      `setRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### addRepeatedField

    public CommonProto.Block.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `addRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `addRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### mergeFrom

    public CommonProto.Block.Builder mergeFrom​(com.google.protobuf.Message other)
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<CommonProto.Block.Builder>`

  - ### mergeFrom

    public CommonProto.Block.Builder mergeFrom​(CommonProto.Block other)

  - ### isInitialized

    public final boolean isInitialized()
    指定者:
      `isInitialized` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    覆盖:
      `isInitialized` 在类中 `com.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
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<CommonProto.Block.Builder>`
    抛出:
      `IOException`

  - ### getHash

    public com.google.protobuf.ByteString getHash()

         区块的哈希，当区块处于待确认状态时为`null`

    `bytes hash = 1;`
    指定者:
      `getHash` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The hash.

  - ### setHash

    public CommonProto.Block.Builder setHash​(com.google.protobuf.ByteString value)

         区块的哈希，当区块处于待确认状态时为`null`

    `bytes hash = 1;`
    参数:
      `value` - The hash to set.
    返回:
      This builder for chaining.

  - ### clearHash

    public CommonProto.Block.Builder clearHash()

         区块的哈希，当区块处于待确认状态时为`null`

    `bytes hash = 1;`
    返回:
      This builder for chaining.

  - ### getCreator

    public com.google.protobuf.ByteString getCreator()

         产块者账户地址

    `bytes creator = 2;`
    指定者:
      `getCreator` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The creator.

  - ### setCreator

    public CommonProto.Block.Builder setCreator​(com.google.protobuf.ByteString value)

         产块者账户地址

    `bytes creator = 2;`
    参数:
      `value` - The creator to set.
    返回:
      This builder for chaining.

  - ### clearCreator

    public CommonProto.Block.Builder clearCreator()

         产块者账户地址

    `bytes creator = 2;`
    返回:
      This builder for chaining.

  - ### getNonce

    public long getNonce()

         这个区块之前产块者产生的区块数量

    `uint64 nonce = 3;`
    指定者:
      `getNonce` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The nonce.

  - ### setNonce

    public CommonProto.Block.Builder setNonce​(long value)

         这个区块之前产块者产生的区块数量

    `uint64 nonce = 3;`
    参数:
      `value` - The nonce to set.
    返回:
      This builder for chaining.

  - ### clearNonce

    public CommonProto.Block.Builder clearNonce()

         这个区块之前产块者产生的区块数量

    `uint64 nonce = 3;`
    返回:
      This builder for chaining.

  - ### getParentHashesList

    public List<com.google.protobuf.ByteString> getParentHashesList()

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    指定者:
      `getParentHashesList` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      A list containing the parentHashes.

  - ### getParentHashesCount

    public int getParentHashesCount()

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    指定者:
      `getParentHashesCount` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The count of parentHashes.

  - ### getParentHashes

    public com.google.protobuf.ByteString getParentHashes​(int index)

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    指定者:
      `getParentHashes` 在接口中 `CommonProto.BlockOrBuilder`
    参数:
      `index` - The index of the element to return.
    返回:
      The parentHashes at the given index.

  - ### setParentHashes

    public CommonProto.Block.Builder setParentHashes​(int index, com.google.protobuf.ByteString value)

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    参数:
      `index` - The index to set the value at.
      `value` - The parentHashes to set.
    返回:
      This builder for chaining.

  - ### addParentHashes

    public CommonProto.Block.Builder addParentHashes​(com.google.protobuf.ByteString value)

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    参数:
      `value` - The parentHashes to add.
    返回:
      This builder for chaining.

  - ### addAllParentHashes

    public CommonProto.Block.Builder addAllParentHashes​(Iterable<? extends com.google.protobuf.ByteString> values)

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    参数:
      `values` - The parentHashes to add.
    返回:
      This builder for chaining.

  - ### clearParentHashes

    public CommonProto.Block.Builder clearParentHashes()

         父区块的哈希

    `repeated bytes parent_hashes = 4;`
    返回:
      This builder for chaining.

  - ### getWitnessesList

    public List<com.google.protobuf.ByteString> getWitnessesList()

         见证者账户地址

    `repeated bytes witnesses = 5;`
    指定者:
      `getWitnessesList` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      A list containing the witnesses.

  - ### getWitnessesCount

    public int getWitnessesCount()

         见证者账户地址

    `repeated bytes witnesses = 5;`
    指定者:
      `getWitnessesCount` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The count of witnesses.

  - ### getWitnesses

    public com.google.protobuf.ByteString getWitnesses​(int index)

         见证者账户地址

    `repeated bytes witnesses = 5;`
    指定者:
      `getWitnesses` 在接口中 `CommonProto.BlockOrBuilder`
    参数:
      `index` - The index of the element to return.
    返回:
      The witnesses at the given index.

  - ### setWitnesses

    public CommonProto.Block.Builder setWitnesses​(int index, com.google.protobuf.ByteString value)

         见证者账户地址

    `repeated bytes witnesses = 5;`
    参数:
      `index` - The index to set the value at.
      `value` - The witnesses to set.
    返回:
      This builder for chaining.

  - ### addWitnesses

    public CommonProto.Block.Builder addWitnesses​(com.google.protobuf.ByteString value)

         见证者账户地址

    `repeated bytes witnesses = 5;`
    参数:
      `value` - The witnesses to add.
    返回:
      This builder for chaining.

  - ### addAllWitnesses

    public CommonProto.Block.Builder addAllWitnesses​(Iterable<? extends com.google.protobuf.ByteString> values)

         见证者账户地址

    `repeated bytes witnesses = 5;`
    参数:
      `values` - The witnesses to add.
    返回:
      This builder for chaining.

  - ### clearWitnesses

    public CommonProto.Block.Builder clearWitnesses()

         见证者账户地址

    `repeated bytes witnesses = 5;`
    返回:
      This builder for chaining.

  - ### getTimestamp

    public long getTimestamp()

         区块产生时的 UNIX 时间戳，单位为秒

    `int64 timestamp = 6;`
    指定者:
      `getTimestamp` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The timestamp.

  - ### setTimestamp

    public CommonProto.Block.Builder setTimestamp​(long value)

         区块产生时的 UNIX 时间戳，单位为秒

    `int64 timestamp = 6;`
    参数:
      `value` - The timestamp to set.
    返回:
      This builder for chaining.

  - ### clearTimestamp

    public CommonProto.Block.Builder clearTimestamp()

         区块产生时的 UNIX 时间戳，单位为秒

    `int64 timestamp = 6;`
    返回:
      This builder for chaining.

  - ### getSize

    public long getSize()

         区块大小的字节数

    `uint64 size = 7;`
    指定者:
      `getSize` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The size.

  - ### setSize

    public CommonProto.Block.Builder setSize​(long value)

         区块大小的字节数

    `uint64 size = 7;`
    参数:
      `value` - The size to set.
    返回:
      This builder for chaining.

  - ### clearSize

    public CommonProto.Block.Builder clearSize()

         区块大小的字节数

    `uint64 size = 7;`
    返回:
      This builder for chaining.

  - ### getTransactionCount

    public int getTransactionCount()

         区块包含的事务数量

    `uint32 transaction_count = 8;`
    指定者:
      `getTransactionCount` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The transactionCount.

  - ### setTransactionCount

    public CommonProto.Block.Builder setTransactionCount​(int value)

         区块包含的事务数量

    `uint32 transaction_count = 8;`
    参数:
      `value` - The transactionCount to set.
    返回:
      This builder for chaining.

  - ### clearTransactionCount

    public CommonProto.Block.Builder clearTransactionCount()

         区块包含的事务数量

    `uint32 transaction_count = 8;`
    返回:
      This builder for chaining.

  - ### getTransactionsRoot

    public com.google.protobuf.ByteString getTransactionsRoot()

         区块的事务默克尔树根

    `bytes transactions_root = 9;`
    指定者:
      `getTransactionsRoot` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The transactionsRoot.

  - ### setTransactionsRoot

    public CommonProto.Block.Builder setTransactionsRoot​(com.google.protobuf.ByteString value)

         区块的事务默克尔树根

    `bytes transactions_root = 9;`
    参数:
      `value` - The transactionsRoot to set.
    返回:
      This builder for chaining.

  - ### clearTransactionsRoot

    public CommonProto.Block.Builder clearTransactionsRoot()

         区块的事务默克尔树根

    `bytes transactions_root = 9;`
    返回:
      This builder for chaining.

  - ### getTransactionsList

    public List<CommonProto.Transaction> getTransactionsList()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`
    指定者:
      `getTransactionsList` 在接口中 `CommonProto.BlockOrBuilder`

  - ### getTransactionsCount

    public int getTransactionsCount()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`
    指定者:
      `getTransactionsCount` 在接口中 `CommonProto.BlockOrBuilder`

  - ### getTransactions

    public CommonProto.Transaction getTransactions​(int index)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`
    指定者:
      `getTransactions` 在接口中 `CommonProto.BlockOrBuilder`

  - ### setTransactions

    public CommonProto.Block.Builder setTransactions​(int index, CommonProto.Transaction value)

         事务对象的数组，或为空

    `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

    public CommonProto.Block.Builder addTransactions​(CommonProto.Transaction value)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### addTransactions

    public CommonProto.Block.Builder addTransactions​(int index, CommonProto.Transaction value)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### addTransactions

    public CommonProto.Block.Builder addTransactions​(CommonProto.Transaction.Builder builderForValue)

         事务对象的数组，或为空

    `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

    public CommonProto.Block.Builder clearTransactions()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### removeTransactions

    public CommonProto.Block.Builder removeTransactions​(int index)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### getTransactionsBuilder

    public CommonProto.Transaction.Builder getTransactionsBuilder​(int index)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### getTransactionsOrBuilder

    public CommonProto.TransactionOrBuilder getTransactionsOrBuilder​(int index)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`
    指定者:
      `getTransactionsOrBuilder` 在接口中 `CommonProto.BlockOrBuilder`

  - ### getTransactionsOrBuilderList

    public List<? extends CommonProto.TransactionOrBuilder> getTransactionsOrBuilderList()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`
    指定者:
      `getTransactionsOrBuilderList` 在接口中 `CommonProto.BlockOrBuilder`

  - ### addTransactionsBuilder

    public CommonProto.Transaction.Builder addTransactionsBuilder()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### addTransactionsBuilder

    public CommonProto.Transaction.Builder addTransactionsBuilder​(int index)

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### getTransactionsBuilderList

    public List<CommonProto.Transaction.Builder> getTransactionsBuilderList()

         事务对象的数组，或为空

    `repeated .bdware.bdledger.api.Transaction transactions = 10;`

  - ### getTransactionHashesList

    public List<com.google.protobuf.ByteString> getTransactionHashesList()

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    指定者:
      `getTransactionHashesList` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      A list containing the transactionHashes.

  - ### getTransactionHashesCount

    public int getTransactionHashesCount()

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    指定者:
      `getTransactionHashesCount` 在接口中 `CommonProto.BlockOrBuilder`
    返回:
      The count of transactionHashes.

  - ### getTransactionHashes

    public com.google.protobuf.ByteString getTransactionHashes​(int index)

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    指定者:
      `getTransactionHashes` 在接口中 `CommonProto.BlockOrBuilder`
    参数:
      `index` - The index of the element to return.
    返回:
      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;`
    参数:
      `index` - The index to set the value at.
      `value` - The transactionHashes to set.
    返回:
      This builder for chaining.

  - ### addTransactionHashes

    public CommonProto.Block.Builder addTransactionHashes​(com.google.protobuf.ByteString value)

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    参数:
      `value` - The transactionHashes to add.
    返回:
      This builder for chaining.

  - ### addAllTransactionHashes

    public CommonProto.Block.Builder addAllTransactionHashes​(Iterable<? extends com.google.protobuf.ByteString> values)

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    参数:
      `values` - The transactionHashes to add.
    返回:
      This builder for chaining.

  - ### clearTransactionHashes

    public CommonProto.Block.Builder clearTransactionHashes()

         20字节的交易哈希的数组，或为空

    `repeated bytes transaction_hashes = 11;`
    返回:
      This builder for chaining.

  - ### setUnknownFields

    public final CommonProto.Block.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `setUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`

  - ### mergeUnknownFields

    public final CommonProto.Block.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `mergeUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<CommonProto.Block.Builder>`