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

# 类 QueryProto.GetBlocksResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetBlocksResponse.Builder>
org.bdware.bdledger.api.grpc.pb.QueryProto.GetBlocksResponse.Builder

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

封闭类:
  QueryProto.GetBlocksResponse

public static final class QueryProto.GetBlocksResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetBlocksResponse.Builder> implements QueryProto.GetBlocksResponseOrBuilder
Protobuf type `bdware.bdledger.api.GetBlocksResponse`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `QueryProto.GetBlocksResponse.Builder`
  `addAllBlocks​(Iterable<? extends CommonProto.Block> values)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `addBlocks​(int index, CommonProto.Block value)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `addBlocks​(int index, CommonProto.Block.Builder builderForValue)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `addBlocks​(CommonProto.Block value)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `addBlocks​(CommonProto.Block.Builder builderForValue)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `CommonProto.Block.Builder`
  `addBlocksBuilder()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `CommonProto.Block.Builder`
  `addBlocksBuilder​(int index)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `QueryProto.GetBlocksResponse`
  `build()`
  `QueryProto.GetBlocksResponse`
  `buildPartial()`
  `QueryProto.GetBlocksResponse.Builder`
  `clear()`
  `QueryProto.GetBlocksResponse.Builder`
  `clearBlocks()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `clearEndTimestamp()`
  `int64 end_timestamp = 3;`
  `QueryProto.GetBlocksResponse.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `QueryProto.GetBlocksResponse.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `QueryProto.GetBlocksResponse.Builder`
  `clearStartTimestamp()`
  `int64 start_timestamp = 2;`
  `QueryProto.GetBlocksResponse.Builder`
  `clone()`
  `CommonProto.Block`
  `getBlocks​(int index)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `CommonProto.Block.Builder`
  `getBlocksBuilder​(int index)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `List<CommonProto.Block.Builder>`
  `getBlocksBuilderList()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `int`
  `getBlocksCount()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `List<CommonProto.Block>`
  `getBlocksList()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `CommonProto.BlockOrBuilder`
  `getBlocksOrBuilder​(int index)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `List<? extends CommonProto.BlockOrBuilder>`
  `getBlocksOrBuilderList()`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `long`
  `getEndTimestamp()`
  `int64 end_timestamp = 3;`
  `long`
  `getStartTimestamp()`
  `int64 start_timestamp = 2;`
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `QueryProto.GetBlocksResponse.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `QueryProto.GetBlocksResponse.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `QueryProto.GetBlocksResponse.Builder`
  `mergeFrom​(QueryProto.GetBlocksResponse other)`
  `QueryProto.GetBlocksResponse.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `QueryProto.GetBlocksResponse.Builder`
  `removeBlocks​(int index)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `setBlocks​(int index, CommonProto.Block value)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `setBlocks​(int index, CommonProto.Block.Builder builderForValue)`
  `repeated .bdware.bdledger.api.Block blocks = 1;`
  `QueryProto.GetBlocksResponse.Builder`
  `setEndTimestamp​(long value)`
  `int64 end_timestamp = 3;`
  `QueryProto.GetBlocksResponse.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `QueryProto.GetBlocksResponse.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `QueryProto.GetBlocksResponse.Builder`
  `setStartTimestamp​(long value)`
  `int64 start_timestamp = 2;`
  `QueryProto.GetBlocksResponse.Builder`
  `setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`

  ### 从类继承的方法 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<QueryProto.GetBlocksResponse.Builder>`

  - ### clear

    public QueryProto.GetBlocksResponse.Builder clear()
    指定者:
      `clear` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clear` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clear` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetBlocksResponse.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<QueryProto.GetBlocksResponse.Builder>`

  - ### getDefaultInstanceForType

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

  - ### build

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

  - ### buildPartial

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

  - ### clone

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

  - ### setField

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

  - ### clearField

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

  - ### clearOneof

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

  - ### setRepeatedField

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

  - ### addRepeatedField

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

  - ### mergeFrom

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

  - ### mergeFrom

    public QueryProto.GetBlocksResponse.Builder mergeFrom​(QueryProto.GetBlocksResponse other)

  - ### isInitialized

    public final boolean isInitialized()
    指定者:
      `isInitialized` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    覆盖:
      `isInitialized` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<QueryProto.GetBlocksResponse.Builder>`

  - ### mergeFrom

    public QueryProto.GetBlocksResponse.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<QueryProto.GetBlocksResponse.Builder>`
    抛出:
      `IOException`

  - ### getBlocksList

    public List<CommonProto.Block> getBlocksList()
    `repeated .bdware.bdledger.api.Block blocks = 1;`
    指定者:
      `getBlocksList` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`

  - ### getBlocksCount

    public int getBlocksCount()
    `repeated .bdware.bdledger.api.Block blocks = 1;`
    指定者:
      `getBlocksCount` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`

  - ### getBlocks

    public CommonProto.Block getBlocks​(int index)
    `repeated .bdware.bdledger.api.Block blocks = 1;`
    指定者:
      `getBlocks` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`

  - ### setBlocks

    public QueryProto.GetBlocksResponse.Builder setBlocks​(int index, CommonProto.Block value)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### setBlocks

    public QueryProto.GetBlocksResponse.Builder setBlocks​(int index, CommonProto.Block.Builder builderForValue)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addBlocks

    public QueryProto.GetBlocksResponse.Builder addBlocks​(CommonProto.Block value)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addBlocks

    public QueryProto.GetBlocksResponse.Builder addBlocks​(int index, CommonProto.Block value)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addBlocks

    public QueryProto.GetBlocksResponse.Builder addBlocks​(CommonProto.Block.Builder builderForValue)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addBlocks

    public QueryProto.GetBlocksResponse.Builder addBlocks​(int index, CommonProto.Block.Builder builderForValue)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addAllBlocks

    public QueryProto.GetBlocksResponse.Builder addAllBlocks​(Iterable<? extends CommonProto.Block> values)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### clearBlocks

    public QueryProto.GetBlocksResponse.Builder clearBlocks()
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### removeBlocks

    public QueryProto.GetBlocksResponse.Builder removeBlocks​(int index)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### getBlocksBuilder

    public CommonProto.Block.Builder getBlocksBuilder​(int index)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### getBlocksOrBuilder

    public CommonProto.BlockOrBuilder getBlocksOrBuilder​(int index)
    `repeated .bdware.bdledger.api.Block blocks = 1;`
    指定者:
      `getBlocksOrBuilder` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`

  - ### getBlocksOrBuilderList

    public List<? extends CommonProto.BlockOrBuilder> getBlocksOrBuilderList()
    `repeated .bdware.bdledger.api.Block blocks = 1;`
    指定者:
      `getBlocksOrBuilderList` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`

  - ### addBlocksBuilder

    public CommonProto.Block.Builder addBlocksBuilder()
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### addBlocksBuilder

    public CommonProto.Block.Builder addBlocksBuilder​(int index)
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### getBlocksBuilderList

    public List<CommonProto.Block.Builder> getBlocksBuilderList()
    `repeated .bdware.bdledger.api.Block blocks = 1;`

  - ### getStartTimestamp

    public long getStartTimestamp()
    `int64 start_timestamp = 2;`
    指定者:
      `getStartTimestamp` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`
    返回:
      The startTimestamp.

  - ### setStartTimestamp

    public QueryProto.GetBlocksResponse.Builder setStartTimestamp​(long value)
    `int64 start_timestamp = 2;`
    参数:
      `value` - The startTimestamp to set.
    返回:
      This builder for chaining.

  - ### clearStartTimestamp

    public QueryProto.GetBlocksResponse.Builder clearStartTimestamp()
    `int64 start_timestamp = 2;`
    返回:
      This builder for chaining.

  - ### getEndTimestamp

    public long getEndTimestamp()
    `int64 end_timestamp = 3;`
    指定者:
      `getEndTimestamp` 在接口中 `QueryProto.GetBlocksResponseOrBuilder`
    返回:
      The endTimestamp.

  - ### setEndTimestamp

    public QueryProto.GetBlocksResponse.Builder setEndTimestamp​(long value)
    `int64 end_timestamp = 3;`
    参数:
      `value` - The endTimestamp to set.
    返回:
      This builder for chaining.

  - ### clearEndTimestamp

    public QueryProto.GetBlocksResponse.Builder clearEndTimestamp()
    `int64 end_timestamp = 3;`
    返回:
      This builder for chaining.

  - ### setUnknownFields

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

  - ### mergeUnknownFields

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