All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.org.onflow.protobuf.entities.BlockOuterClass Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: flow/entities/block.proto

package org.onflow.protobuf.entities;

public final class BlockOuterClass {
  private BlockOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code flow.entities.BlockStatus}
   */
  public enum BlockStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * BLOCK_UNKNOWN = 0;
     */
    BLOCK_UNKNOWN(0),
    /**
     * BLOCK_FINALIZED = 1;
     */
    BLOCK_FINALIZED(1),
    /**
     * BLOCK_SEALED = 2;
     */
    BLOCK_SEALED(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * BLOCK_UNKNOWN = 0;
     */
    public static final int BLOCK_UNKNOWN_VALUE = 0;
    /**
     * BLOCK_FINALIZED = 1;
     */
    public static final int BLOCK_FINALIZED_VALUE = 1;
    /**
     * BLOCK_SEALED = 2;
     */
    public static final int BLOCK_SEALED_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static BlockStatus valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static BlockStatus forNumber(int value) {
      switch (value) {
        case 0: return BLOCK_UNKNOWN;
        case 1: return BLOCK_FINALIZED;
        case 2: return BLOCK_SEALED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        BlockStatus> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public BlockStatus findValueByNumber(int number) {
              return BlockStatus.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return org.onflow.protobuf.entities.BlockOuterClass.getDescriptor().getEnumTypes().get(0);
    }

    private static final BlockStatus[] VALUES = values();

    public static BlockStatus valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private BlockStatus(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:flow.entities.BlockStatus)
  }

  public interface BlockOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.entities.Block)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes id = 1;
     * @return The id.
     */
    com.google.protobuf.ByteString getId();

    /**
     * bytes parent_id = 2;
     * @return The parentId.
     */
    com.google.protobuf.ByteString getParentId();

    /**
     * uint64 height = 3;
     * @return The height.
     */
    long getHeight();

    /**
     * .google.protobuf.Timestamp timestamp = 4;
     * @return Whether the timestamp field is set.
     */
    boolean hasTimestamp();
    /**
     * .google.protobuf.Timestamp timestamp = 4;
     * @return The timestamp.
     */
    com.google.protobuf.Timestamp getTimestamp();
    /**
     * .google.protobuf.Timestamp timestamp = 4;
     */
    com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();

    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    java.util.List 
        getCollectionGuaranteesList();
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee getCollectionGuarantees(int index);
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    int getCollectionGuaranteesCount();
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    java.util.List 
        getCollectionGuaranteesOrBuilderList();
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder getCollectionGuaranteesOrBuilder(
        int index);

    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    java.util.List 
        getBlockSealsList();
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal getBlockSeals(int index);
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    int getBlockSealsCount();
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    java.util.List 
        getBlockSealsOrBuilderList();
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder getBlockSealsOrBuilder(
        int index);

    /**
     * repeated bytes signatures = 7;
     * @return A list containing the signatures.
     */
    java.util.List getSignaturesList();
    /**
     * repeated bytes signatures = 7;
     * @return The count of signatures.
     */
    int getSignaturesCount();
    /**
     * repeated bytes signatures = 7;
     * @param index The index of the element to return.
     * @return The signatures at the given index.
     */
    com.google.protobuf.ByteString getSignatures(int index);

    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    java.util.List 
        getExecutionReceiptMetaListList();
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta getExecutionReceiptMetaList(int index);
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    int getExecutionReceiptMetaListCount();
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    java.util.List 
        getExecutionReceiptMetaListOrBuilderList();
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder getExecutionReceiptMetaListOrBuilder(
        int index);

    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    java.util.List 
        getExecutionResultListList();
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResultList(int index);
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    int getExecutionResultListCount();
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    java.util.List 
        getExecutionResultListOrBuilderList();
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultListOrBuilder(
        int index);

    /**
     * .flow.entities.BlockHeader block_header = 10;
     * @return Whether the blockHeader field is set.
     */
    boolean hasBlockHeader();
    /**
     * .flow.entities.BlockHeader block_header = 10;
     * @return The blockHeader.
     */
    org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlockHeader();
    /**
     * .flow.entities.BlockHeader block_header = 10;
     */
    org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockHeaderOrBuilder();

    /**
     * bytes protocol_state_id = 11;
     * @return The protocolStateId.
     */
    com.google.protobuf.ByteString getProtocolStateId();
  }
  /**
   * Protobuf type {@code flow.entities.Block}
   */
  public static final class Block extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.entities.Block)
      BlockOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Block.newBuilder() to construct.
    private Block(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Block() {
      id_ = com.google.protobuf.ByteString.EMPTY;
      parentId_ = com.google.protobuf.ByteString.EMPTY;
      collectionGuarantees_ = java.util.Collections.emptyList();
      blockSeals_ = java.util.Collections.emptyList();
      signatures_ = java.util.Collections.emptyList();
      executionReceiptMetaList_ = java.util.Collections.emptyList();
      executionResultList_ = java.util.Collections.emptyList();
      protocolStateId_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Block();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Block(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {

              id_ = input.readBytes();
              break;
            }
            case 18: {

              parentId_ = input.readBytes();
              break;
            }
            case 24: {

              height_ = input.readUInt64();
              break;
            }
            case 34: {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (timestamp_ != null) {
                subBuilder = timestamp_.toBuilder();
              }
              timestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(timestamp_);
                timestamp_ = subBuilder.buildPartial();
              }

              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                collectionGuarantees_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              collectionGuarantees_.add(
                  input.readMessage(org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.parser(), extensionRegistry));
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                blockSeals_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              blockSeals_.add(
                  input.readMessage(org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.parser(), extensionRegistry));
              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                signatures_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              signatures_.add(input.readBytes());
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                executionReceiptMetaList_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              executionReceiptMetaList_.add(
                  input.readMessage(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.parser(), extensionRegistry));
              break;
            }
            case 74: {
              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
                executionResultList_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000010;
              }
              executionResultList_.add(
                  input.readMessage(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.parser(), extensionRegistry));
              break;
            }
            case 82: {
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder subBuilder = null;
              if (blockHeader_ != null) {
                subBuilder = blockHeader_.toBuilder();
              }
              blockHeader_ = input.readMessage(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(blockHeader_);
                blockHeader_ = subBuilder.buildPartial();
              }

              break;
            }
            case 90: {

              protocolStateId_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          collectionGuarantees_ = java.util.Collections.unmodifiableList(collectionGuarantees_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          blockSeals_ = java.util.Collections.unmodifiableList(blockSeals_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          signatures_ = java.util.Collections.unmodifiableList(signatures_); // C
        }
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          executionReceiptMetaList_ = java.util.Collections.unmodifiableList(executionReceiptMetaList_);
        }
        if (((mutable_bitField0_ & 0x00000010) != 0)) {
          executionResultList_ = java.util.Collections.unmodifiableList(executionResultList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.entities.BlockOuterClass.internal_static_flow_entities_Block_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.entities.BlockOuterClass.internal_static_flow_entities_Block_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.entities.BlockOuterClass.Block.class, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString id_;
    /**
     * bytes id = 1;
     * @return The id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getId() {
      return id_;
    }

    public static final int PARENT_ID_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString parentId_;
    /**
     * bytes parent_id = 2;
     * @return The parentId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getParentId() {
      return parentId_;
    }

    public static final int HEIGHT_FIELD_NUMBER = 3;
    private long height_;
    /**
     * uint64 height = 3;
     * @return The height.
     */
    @java.lang.Override
    public long getHeight() {
      return height_;
    }

    public static final int TIMESTAMP_FIELD_NUMBER = 4;
    private com.google.protobuf.Timestamp timestamp_;
    /**
     * .google.protobuf.Timestamp timestamp = 4;
     * @return Whether the timestamp field is set.
     */
    @java.lang.Override
    public boolean hasTimestamp() {
      return timestamp_ != null;
    }
    /**
     * .google.protobuf.Timestamp timestamp = 4;
     * @return The timestamp.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getTimestamp() {
      return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
    }
    /**
     * .google.protobuf.Timestamp timestamp = 4;
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
      return getTimestamp();
    }

    public static final int COLLECTION_GUARANTEES_FIELD_NUMBER = 5;
    private java.util.List collectionGuarantees_;
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    @java.lang.Override
    public java.util.List getCollectionGuaranteesList() {
      return collectionGuarantees_;
    }
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    @java.lang.Override
    public java.util.List 
        getCollectionGuaranteesOrBuilderList() {
      return collectionGuarantees_;
    }
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    @java.lang.Override
    public int getCollectionGuaranteesCount() {
      return collectionGuarantees_.size();
    }
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee getCollectionGuarantees(int index) {
      return collectionGuarantees_.get(index);
    }
    /**
     * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder getCollectionGuaranteesOrBuilder(
        int index) {
      return collectionGuarantees_.get(index);
    }

    public static final int BLOCK_SEALS_FIELD_NUMBER = 6;
    private java.util.List blockSeals_;
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    @java.lang.Override
    public java.util.List getBlockSealsList() {
      return blockSeals_;
    }
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    @java.lang.Override
    public java.util.List 
        getBlockSealsOrBuilderList() {
      return blockSeals_;
    }
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    @java.lang.Override
    public int getBlockSealsCount() {
      return blockSeals_.size();
    }
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal getBlockSeals(int index) {
      return blockSeals_.get(index);
    }
    /**
     * repeated .flow.entities.BlockSeal block_seals = 6;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder getBlockSealsOrBuilder(
        int index) {
      return blockSeals_.get(index);
    }

    public static final int SIGNATURES_FIELD_NUMBER = 7;
    private java.util.List signatures_;
    /**
     * repeated bytes signatures = 7;
     * @return A list containing the signatures.
     */
    @java.lang.Override
    public java.util.List
        getSignaturesList() {
      return signatures_;
    }
    /**
     * repeated bytes signatures = 7;
     * @return The count of signatures.
     */
    public int getSignaturesCount() {
      return signatures_.size();
    }
    /**
     * repeated bytes signatures = 7;
     * @param index The index of the element to return.
     * @return The signatures at the given index.
     */
    public com.google.protobuf.ByteString getSignatures(int index) {
      return signatures_.get(index);
    }

    public static final int EXECUTION_RECEIPT_METALIST_FIELD_NUMBER = 8;
    private java.util.List executionReceiptMetaList_;
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    @java.lang.Override
    public java.util.List getExecutionReceiptMetaListList() {
      return executionReceiptMetaList_;
    }
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    @java.lang.Override
    public java.util.List 
        getExecutionReceiptMetaListOrBuilderList() {
      return executionReceiptMetaList_;
    }
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    @java.lang.Override
    public int getExecutionReceiptMetaListCount() {
      return executionReceiptMetaList_.size();
    }
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta getExecutionReceiptMetaList(int index) {
      return executionReceiptMetaList_.get(index);
    }
    /**
     * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder getExecutionReceiptMetaListOrBuilder(
        int index) {
      return executionReceiptMetaList_.get(index);
    }

    public static final int EXECUTION_RESULT_LIST_FIELD_NUMBER = 9;
    private java.util.List executionResultList_;
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    @java.lang.Override
    public java.util.List getExecutionResultListList() {
      return executionResultList_;
    }
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    @java.lang.Override
    public java.util.List 
        getExecutionResultListOrBuilderList() {
      return executionResultList_;
    }
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    @java.lang.Override
    public int getExecutionResultListCount() {
      return executionResultList_.size();
    }
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResultList(int index) {
      return executionResultList_.get(index);
    }
    /**
     * repeated .flow.entities.ExecutionResult execution_result_list = 9;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultListOrBuilder(
        int index) {
      return executionResultList_.get(index);
    }

    public static final int BLOCK_HEADER_FIELD_NUMBER = 10;
    private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader blockHeader_;
    /**
     * .flow.entities.BlockHeader block_header = 10;
     * @return Whether the blockHeader field is set.
     */
    @java.lang.Override
    public boolean hasBlockHeader() {
      return blockHeader_ != null;
    }
    /**
     * .flow.entities.BlockHeader block_header = 10;
     * @return The blockHeader.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlockHeader() {
      return blockHeader_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : blockHeader_;
    }
    /**
     * .flow.entities.BlockHeader block_header = 10;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockHeaderOrBuilder() {
      return getBlockHeader();
    }

    public static final int PROTOCOL_STATE_ID_FIELD_NUMBER = 11;
    private com.google.protobuf.ByteString protocolStateId_;
    /**
     * bytes protocol_state_id = 11;
     * @return The protocolStateId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getProtocolStateId() {
      return protocolStateId_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!id_.isEmpty()) {
        output.writeBytes(1, id_);
      }
      if (!parentId_.isEmpty()) {
        output.writeBytes(2, parentId_);
      }
      if (height_ != 0L) {
        output.writeUInt64(3, height_);
      }
      if (timestamp_ != null) {
        output.writeMessage(4, getTimestamp());
      }
      for (int i = 0; i < collectionGuarantees_.size(); i++) {
        output.writeMessage(5, collectionGuarantees_.get(i));
      }
      for (int i = 0; i < blockSeals_.size(); i++) {
        output.writeMessage(6, blockSeals_.get(i));
      }
      for (int i = 0; i < signatures_.size(); i++) {
        output.writeBytes(7, signatures_.get(i));
      }
      for (int i = 0; i < executionReceiptMetaList_.size(); i++) {
        output.writeMessage(8, executionReceiptMetaList_.get(i));
      }
      for (int i = 0; i < executionResultList_.size(); i++) {
        output.writeMessage(9, executionResultList_.get(i));
      }
      if (blockHeader_ != null) {
        output.writeMessage(10, getBlockHeader());
      }
      if (!protocolStateId_.isEmpty()) {
        output.writeBytes(11, protocolStateId_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!id_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, id_);
      }
      if (!parentId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, parentId_);
      }
      if (height_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, height_);
      }
      if (timestamp_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getTimestamp());
      }
      for (int i = 0; i < collectionGuarantees_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, collectionGuarantees_.get(i));
      }
      for (int i = 0; i < blockSeals_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, blockSeals_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < signatures_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(signatures_.get(i));
        }
        size += dataSize;
        size += 1 * getSignaturesList().size();
      }
      for (int i = 0; i < executionReceiptMetaList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, executionReceiptMetaList_.get(i));
      }
      for (int i = 0; i < executionResultList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, executionResultList_.get(i));
      }
      if (blockHeader_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, getBlockHeader());
      }
      if (!protocolStateId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(11, protocolStateId_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.onflow.protobuf.entities.BlockOuterClass.Block)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.entities.BlockOuterClass.Block other = (org.onflow.protobuf.entities.BlockOuterClass.Block) obj;

      if (!getId()
          .equals(other.getId())) return false;
      if (!getParentId()
          .equals(other.getParentId())) return false;
      if (getHeight()
          != other.getHeight()) return false;
      if (hasTimestamp() != other.hasTimestamp()) return false;
      if (hasTimestamp()) {
        if (!getTimestamp()
            .equals(other.getTimestamp())) return false;
      }
      if (!getCollectionGuaranteesList()
          .equals(other.getCollectionGuaranteesList())) return false;
      if (!getBlockSealsList()
          .equals(other.getBlockSealsList())) return false;
      if (!getSignaturesList()
          .equals(other.getSignaturesList())) return false;
      if (!getExecutionReceiptMetaListList()
          .equals(other.getExecutionReceiptMetaListList())) return false;
      if (!getExecutionResultListList()
          .equals(other.getExecutionResultListList())) return false;
      if (hasBlockHeader() != other.hasBlockHeader()) return false;
      if (hasBlockHeader()) {
        if (!getBlockHeader()
            .equals(other.getBlockHeader())) return false;
      }
      if (!getProtocolStateId()
          .equals(other.getProtocolStateId())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId().hashCode();
      hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getParentId().hashCode();
      hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getHeight());
      if (hasTimestamp()) {
        hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + getTimestamp().hashCode();
      }
      if (getCollectionGuaranteesCount() > 0) {
        hash = (37 * hash) + COLLECTION_GUARANTEES_FIELD_NUMBER;
        hash = (53 * hash) + getCollectionGuaranteesList().hashCode();
      }
      if (getBlockSealsCount() > 0) {
        hash = (37 * hash) + BLOCK_SEALS_FIELD_NUMBER;
        hash = (53 * hash) + getBlockSealsList().hashCode();
      }
      if (getSignaturesCount() > 0) {
        hash = (37 * hash) + SIGNATURES_FIELD_NUMBER;
        hash = (53 * hash) + getSignaturesList().hashCode();
      }
      if (getExecutionReceiptMetaListCount() > 0) {
        hash = (37 * hash) + EXECUTION_RECEIPT_METALIST_FIELD_NUMBER;
        hash = (53 * hash) + getExecutionReceiptMetaListList().hashCode();
      }
      if (getExecutionResultListCount() > 0) {
        hash = (37 * hash) + EXECUTION_RESULT_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getExecutionResultListList().hashCode();
      }
      if (hasBlockHeader()) {
        hash = (37 * hash) + BLOCK_HEADER_FIELD_NUMBER;
        hash = (53 * hash) + getBlockHeader().hashCode();
      }
      hash = (37 * hash) + PROTOCOL_STATE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getProtocolStateId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockOuterClass.Block parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.onflow.protobuf.entities.BlockOuterClass.Block prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code flow.entities.Block}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:flow.entities.Block)
        org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.onflow.protobuf.entities.BlockOuterClass.internal_static_flow_entities_Block_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.entities.BlockOuterClass.internal_static_flow_entities_Block_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.entities.BlockOuterClass.Block.class, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder.class);
      }

      // Construct using org.onflow.protobuf.entities.BlockOuterClass.Block.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getCollectionGuaranteesFieldBuilder();
          getBlockSealsFieldBuilder();
          getExecutionReceiptMetaListFieldBuilder();
          getExecutionResultListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        id_ = com.google.protobuf.ByteString.EMPTY;

        parentId_ = com.google.protobuf.ByteString.EMPTY;

        height_ = 0L;

        if (timestampBuilder_ == null) {
          timestamp_ = null;
        } else {
          timestamp_ = null;
          timestampBuilder_ = null;
        }
        if (collectionGuaranteesBuilder_ == null) {
          collectionGuarantees_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          collectionGuaranteesBuilder_.clear();
        }
        if (blockSealsBuilder_ == null) {
          blockSeals_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          blockSealsBuilder_.clear();
        }
        signatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        if (executionReceiptMetaListBuilder_ == null) {
          executionReceiptMetaList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          executionReceiptMetaListBuilder_.clear();
        }
        if (executionResultListBuilder_ == null) {
          executionResultList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
        } else {
          executionResultListBuilder_.clear();
        }
        if (blockHeaderBuilder_ == null) {
          blockHeader_ = null;
        } else {
          blockHeader_ = null;
          blockHeaderBuilder_ = null;
        }
        protocolStateId_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.entities.BlockOuterClass.internal_static_flow_entities_Block_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.entities.BlockOuterClass.Block getDefaultInstanceForType() {
        return org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance();
      }

      @java.lang.Override
      public org.onflow.protobuf.entities.BlockOuterClass.Block build() {
        org.onflow.protobuf.entities.BlockOuterClass.Block result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.onflow.protobuf.entities.BlockOuterClass.Block buildPartial() {
        org.onflow.protobuf.entities.BlockOuterClass.Block result = new org.onflow.protobuf.entities.BlockOuterClass.Block(this);
        int from_bitField0_ = bitField0_;
        result.id_ = id_;
        result.parentId_ = parentId_;
        result.height_ = height_;
        if (timestampBuilder_ == null) {
          result.timestamp_ = timestamp_;
        } else {
          result.timestamp_ = timestampBuilder_.build();
        }
        if (collectionGuaranteesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            collectionGuarantees_ = java.util.Collections.unmodifiableList(collectionGuarantees_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.collectionGuarantees_ = collectionGuarantees_;
        } else {
          result.collectionGuarantees_ = collectionGuaranteesBuilder_.build();
        }
        if (blockSealsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            blockSeals_ = java.util.Collections.unmodifiableList(blockSeals_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.blockSeals_ = blockSeals_;
        } else {
          result.blockSeals_ = blockSealsBuilder_.build();
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          signatures_ = java.util.Collections.unmodifiableList(signatures_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.signatures_ = signatures_;
        if (executionReceiptMetaListBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            executionReceiptMetaList_ = java.util.Collections.unmodifiableList(executionReceiptMetaList_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.executionReceiptMetaList_ = executionReceiptMetaList_;
        } else {
          result.executionReceiptMetaList_ = executionReceiptMetaListBuilder_.build();
        }
        if (executionResultListBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0)) {
            executionResultList_ = java.util.Collections.unmodifiableList(executionResultList_);
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.executionResultList_ = executionResultList_;
        } else {
          result.executionResultList_ = executionResultListBuilder_.build();
        }
        if (blockHeaderBuilder_ == null) {
          result.blockHeader_ = blockHeader_;
        } else {
          result.blockHeader_ = blockHeaderBuilder_.build();
        }
        result.protocolStateId_ = protocolStateId_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.onflow.protobuf.entities.BlockOuterClass.Block) {
          return mergeFrom((org.onflow.protobuf.entities.BlockOuterClass.Block)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.entities.BlockOuterClass.Block other) {
        if (other == org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        if (other.getParentId() != com.google.protobuf.ByteString.EMPTY) {
          setParentId(other.getParentId());
        }
        if (other.getHeight() != 0L) {
          setHeight(other.getHeight());
        }
        if (other.hasTimestamp()) {
          mergeTimestamp(other.getTimestamp());
        }
        if (collectionGuaranteesBuilder_ == null) {
          if (!other.collectionGuarantees_.isEmpty()) {
            if (collectionGuarantees_.isEmpty()) {
              collectionGuarantees_ = other.collectionGuarantees_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureCollectionGuaranteesIsMutable();
              collectionGuarantees_.addAll(other.collectionGuarantees_);
            }
            onChanged();
          }
        } else {
          if (!other.collectionGuarantees_.isEmpty()) {
            if (collectionGuaranteesBuilder_.isEmpty()) {
              collectionGuaranteesBuilder_.dispose();
              collectionGuaranteesBuilder_ = null;
              collectionGuarantees_ = other.collectionGuarantees_;
              bitField0_ = (bitField0_ & ~0x00000001);
              collectionGuaranteesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCollectionGuaranteesFieldBuilder() : null;
            } else {
              collectionGuaranteesBuilder_.addAllMessages(other.collectionGuarantees_);
            }
          }
        }
        if (blockSealsBuilder_ == null) {
          if (!other.blockSeals_.isEmpty()) {
            if (blockSeals_.isEmpty()) {
              blockSeals_ = other.blockSeals_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureBlockSealsIsMutable();
              blockSeals_.addAll(other.blockSeals_);
            }
            onChanged();
          }
        } else {
          if (!other.blockSeals_.isEmpty()) {
            if (blockSealsBuilder_.isEmpty()) {
              blockSealsBuilder_.dispose();
              blockSealsBuilder_ = null;
              blockSeals_ = other.blockSeals_;
              bitField0_ = (bitField0_ & ~0x00000002);
              blockSealsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getBlockSealsFieldBuilder() : null;
            } else {
              blockSealsBuilder_.addAllMessages(other.blockSeals_);
            }
          }
        }
        if (!other.signatures_.isEmpty()) {
          if (signatures_.isEmpty()) {
            signatures_ = other.signatures_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureSignaturesIsMutable();
            signatures_.addAll(other.signatures_);
          }
          onChanged();
        }
        if (executionReceiptMetaListBuilder_ == null) {
          if (!other.executionReceiptMetaList_.isEmpty()) {
            if (executionReceiptMetaList_.isEmpty()) {
              executionReceiptMetaList_ = other.executionReceiptMetaList_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureExecutionReceiptMetaListIsMutable();
              executionReceiptMetaList_.addAll(other.executionReceiptMetaList_);
            }
            onChanged();
          }
        } else {
          if (!other.executionReceiptMetaList_.isEmpty()) {
            if (executionReceiptMetaListBuilder_.isEmpty()) {
              executionReceiptMetaListBuilder_.dispose();
              executionReceiptMetaListBuilder_ = null;
              executionReceiptMetaList_ = other.executionReceiptMetaList_;
              bitField0_ = (bitField0_ & ~0x00000008);
              executionReceiptMetaListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getExecutionReceiptMetaListFieldBuilder() : null;
            } else {
              executionReceiptMetaListBuilder_.addAllMessages(other.executionReceiptMetaList_);
            }
          }
        }
        if (executionResultListBuilder_ == null) {
          if (!other.executionResultList_.isEmpty()) {
            if (executionResultList_.isEmpty()) {
              executionResultList_ = other.executionResultList_;
              bitField0_ = (bitField0_ & ~0x00000010);
            } else {
              ensureExecutionResultListIsMutable();
              executionResultList_.addAll(other.executionResultList_);
            }
            onChanged();
          }
        } else {
          if (!other.executionResultList_.isEmpty()) {
            if (executionResultListBuilder_.isEmpty()) {
              executionResultListBuilder_.dispose();
              executionResultListBuilder_ = null;
              executionResultList_ = other.executionResultList_;
              bitField0_ = (bitField0_ & ~0x00000010);
              executionResultListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getExecutionResultListFieldBuilder() : null;
            } else {
              executionResultListBuilder_.addAllMessages(other.executionResultList_);
            }
          }
        }
        if (other.hasBlockHeader()) {
          mergeBlockHeader(other.getBlockHeader());
        }
        if (other.getProtocolStateId() != com.google.protobuf.ByteString.EMPTY) {
          setProtocolStateId(other.getProtocolStateId());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.onflow.protobuf.entities.BlockOuterClass.Block parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.entities.BlockOuterClass.Block) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes id = 1;
       * @return The id.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getId() {
        return id_;
      }
      /**
       * bytes id = 1;
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes id = 1;
       * @return This builder for chaining.
       */
      public Builder clearId() {
        
        id_ = getDefaultInstance().getId();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString parentId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes parent_id = 2;
       * @return The parentId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getParentId() {
        return parentId_;
      }
      /**
       * bytes parent_id = 2;
       * @param value The parentId to set.
       * @return This builder for chaining.
       */
      public Builder setParentId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        parentId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes parent_id = 2;
       * @return This builder for chaining.
       */
      public Builder clearParentId() {
        
        parentId_ = getDefaultInstance().getParentId();
        onChanged();
        return this;
      }

      private long height_ ;
      /**
       * uint64 height = 3;
       * @return The height.
       */
      @java.lang.Override
      public long getHeight() {
        return height_;
      }
      /**
       * uint64 height = 3;
       * @param value The height to set.
       * @return This builder for chaining.
       */
      public Builder setHeight(long value) {
        
        height_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 height = 3;
       * @return This builder for chaining.
       */
      public Builder clearHeight() {
        
        height_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.Timestamp timestamp_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampBuilder_;
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       * @return Whether the timestamp field is set.
       */
      public boolean hasTimestamp() {
        return timestampBuilder_ != null || timestamp_ != null;
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       * @return The timestamp.
       */
      public com.google.protobuf.Timestamp getTimestamp() {
        if (timestampBuilder_ == null) {
          return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
        } else {
          return timestampBuilder_.getMessage();
        }
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public Builder setTimestamp(com.google.protobuf.Timestamp value) {
        if (timestampBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          timestamp_ = value;
          onChanged();
        } else {
          timestampBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public Builder setTimestamp(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        if (timestampBuilder_ == null) {
          timestamp_ = builderForValue.build();
          onChanged();
        } else {
          timestampBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public Builder mergeTimestamp(com.google.protobuf.Timestamp value) {
        if (timestampBuilder_ == null) {
          if (timestamp_ != null) {
            timestamp_ =
              com.google.protobuf.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
          } else {
            timestamp_ = value;
          }
          onChanged();
        } else {
          timestampBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public Builder clearTimestamp() {
        if (timestampBuilder_ == null) {
          timestamp_ = null;
          onChanged();
        } else {
          timestamp_ = null;
          timestampBuilder_ = null;
        }

        return this;
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public com.google.protobuf.Timestamp.Builder getTimestampBuilder() {
        
        onChanged();
        return getTimestampFieldBuilder().getBuilder();
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
        if (timestampBuilder_ != null) {
          return timestampBuilder_.getMessageOrBuilder();
        } else {
          return timestamp_ == null ?
              com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_;
        }
      }
      /**
       * .google.protobuf.Timestamp timestamp = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
          getTimestampFieldBuilder() {
        if (timestampBuilder_ == null) {
          timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                  getTimestamp(),
                  getParentForChildren(),
                  isClean());
          timestamp_ = null;
        }
        return timestampBuilder_;
      }

      private java.util.List collectionGuarantees_ =
        java.util.Collections.emptyList();
      private void ensureCollectionGuaranteesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          collectionGuarantees_ = new java.util.ArrayList(collectionGuarantees_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder> collectionGuaranteesBuilder_;

      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public java.util.List getCollectionGuaranteesList() {
        if (collectionGuaranteesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(collectionGuarantees_);
        } else {
          return collectionGuaranteesBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public int getCollectionGuaranteesCount() {
        if (collectionGuaranteesBuilder_ == null) {
          return collectionGuarantees_.size();
        } else {
          return collectionGuaranteesBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee getCollectionGuarantees(int index) {
        if (collectionGuaranteesBuilder_ == null) {
          return collectionGuarantees_.get(index);
        } else {
          return collectionGuaranteesBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder setCollectionGuarantees(
          int index, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee value) {
        if (collectionGuaranteesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.set(index, value);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder setCollectionGuarantees(
          int index, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder builderForValue) {
        if (collectionGuaranteesBuilder_ == null) {
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.set(index, builderForValue.build());
          onChanged();
        } else {
          collectionGuaranteesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder addCollectionGuarantees(org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee value) {
        if (collectionGuaranteesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.add(value);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder addCollectionGuarantees(
          int index, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee value) {
        if (collectionGuaranteesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.add(index, value);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder addCollectionGuarantees(
          org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder builderForValue) {
        if (collectionGuaranteesBuilder_ == null) {
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.add(builderForValue.build());
          onChanged();
        } else {
          collectionGuaranteesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder addCollectionGuarantees(
          int index, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder builderForValue) {
        if (collectionGuaranteesBuilder_ == null) {
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.add(index, builderForValue.build());
          onChanged();
        } else {
          collectionGuaranteesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder addAllCollectionGuarantees(
          java.lang.Iterable values) {
        if (collectionGuaranteesBuilder_ == null) {
          ensureCollectionGuaranteesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, collectionGuarantees_);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder clearCollectionGuarantees() {
        if (collectionGuaranteesBuilder_ == null) {
          collectionGuarantees_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public Builder removeCollectionGuarantees(int index) {
        if (collectionGuaranteesBuilder_ == null) {
          ensureCollectionGuaranteesIsMutable();
          collectionGuarantees_.remove(index);
          onChanged();
        } else {
          collectionGuaranteesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder getCollectionGuaranteesBuilder(
          int index) {
        return getCollectionGuaranteesFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder getCollectionGuaranteesOrBuilder(
          int index) {
        if (collectionGuaranteesBuilder_ == null) {
          return collectionGuarantees_.get(index);  } else {
          return collectionGuaranteesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public java.util.List 
           getCollectionGuaranteesOrBuilderList() {
        if (collectionGuaranteesBuilder_ != null) {
          return collectionGuaranteesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(collectionGuarantees_);
        }
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder addCollectionGuaranteesBuilder() {
        return getCollectionGuaranteesFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder addCollectionGuaranteesBuilder(
          int index) {
        return getCollectionGuaranteesFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.CollectionGuarantee collection_guarantees = 5;
       */
      public java.util.List 
           getCollectionGuaranteesBuilderList() {
        return getCollectionGuaranteesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder> 
          getCollectionGuaranteesFieldBuilder() {
        if (collectionGuaranteesBuilder_ == null) {
          collectionGuaranteesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuarantee.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionGuaranteeOrBuilder>(
                  collectionGuarantees_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          collectionGuarantees_ = null;
        }
        return collectionGuaranteesBuilder_;
      }

      private java.util.List blockSeals_ =
        java.util.Collections.emptyList();
      private void ensureBlockSealsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          blockSeals_ = new java.util.ArrayList(blockSeals_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder> blockSealsBuilder_;

      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public java.util.List getBlockSealsList() {
        if (blockSealsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(blockSeals_);
        } else {
          return blockSealsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public int getBlockSealsCount() {
        if (blockSealsBuilder_ == null) {
          return blockSeals_.size();
        } else {
          return blockSealsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal getBlockSeals(int index) {
        if (blockSealsBuilder_ == null) {
          return blockSeals_.get(index);
        } else {
          return blockSealsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder setBlockSeals(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal value) {
        if (blockSealsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBlockSealsIsMutable();
          blockSeals_.set(index, value);
          onChanged();
        } else {
          blockSealsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder setBlockSeals(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder builderForValue) {
        if (blockSealsBuilder_ == null) {
          ensureBlockSealsIsMutable();
          blockSeals_.set(index, builderForValue.build());
          onChanged();
        } else {
          blockSealsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder addBlockSeals(org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal value) {
        if (blockSealsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBlockSealsIsMutable();
          blockSeals_.add(value);
          onChanged();
        } else {
          blockSealsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder addBlockSeals(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal value) {
        if (blockSealsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBlockSealsIsMutable();
          blockSeals_.add(index, value);
          onChanged();
        } else {
          blockSealsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder addBlockSeals(
          org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder builderForValue) {
        if (blockSealsBuilder_ == null) {
          ensureBlockSealsIsMutable();
          blockSeals_.add(builderForValue.build());
          onChanged();
        } else {
          blockSealsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder addBlockSeals(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder builderForValue) {
        if (blockSealsBuilder_ == null) {
          ensureBlockSealsIsMutable();
          blockSeals_.add(index, builderForValue.build());
          onChanged();
        } else {
          blockSealsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder addAllBlockSeals(
          java.lang.Iterable values) {
        if (blockSealsBuilder_ == null) {
          ensureBlockSealsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, blockSeals_);
          onChanged();
        } else {
          blockSealsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder clearBlockSeals() {
        if (blockSealsBuilder_ == null) {
          blockSeals_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          blockSealsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public Builder removeBlockSeals(int index) {
        if (blockSealsBuilder_ == null) {
          ensureBlockSealsIsMutable();
          blockSeals_.remove(index);
          onChanged();
        } else {
          blockSealsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder getBlockSealsBuilder(
          int index) {
        return getBlockSealsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder getBlockSealsOrBuilder(
          int index) {
        if (blockSealsBuilder_ == null) {
          return blockSeals_.get(index);  } else {
          return blockSealsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public java.util.List 
           getBlockSealsOrBuilderList() {
        if (blockSealsBuilder_ != null) {
          return blockSealsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(blockSeals_);
        }
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder addBlockSealsBuilder() {
        return getBlockSealsFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder addBlockSealsBuilder(
          int index) {
        return getBlockSealsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.BlockSeal block_seals = 6;
       */
      public java.util.List 
           getBlockSealsBuilderList() {
        return getBlockSealsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder> 
          getBlockSealsFieldBuilder() {
        if (blockSealsBuilder_ == null) {
          blockSealsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder>(
                  blockSeals_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          blockSeals_ = null;
        }
        return blockSealsBuilder_;
      }

      private java.util.List signatures_ = java.util.Collections.emptyList();
      private void ensureSignaturesIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          signatures_ = new java.util.ArrayList(signatures_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * repeated bytes signatures = 7;
       * @return A list containing the signatures.
       */
      public java.util.List
          getSignaturesList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(signatures_) : signatures_;
      }
      /**
       * repeated bytes signatures = 7;
       * @return The count of signatures.
       */
      public int getSignaturesCount() {
        return signatures_.size();
      }
      /**
       * repeated bytes signatures = 7;
       * @param index The index of the element to return.
       * @return The signatures at the given index.
       */
      public com.google.protobuf.ByteString getSignatures(int index) {
        return signatures_.get(index);
      }
      /**
       * repeated bytes signatures = 7;
       * @param index The index to set the value at.
       * @param value The signatures to set.
       * @return This builder for chaining.
       */
      public Builder setSignatures(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSignaturesIsMutable();
        signatures_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signatures = 7;
       * @param value The signatures to add.
       * @return This builder for chaining.
       */
      public Builder addSignatures(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSignaturesIsMutable();
        signatures_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signatures = 7;
       * @param values The signatures to add.
       * @return This builder for chaining.
       */
      public Builder addAllSignatures(
          java.lang.Iterable values) {
        ensureSignaturesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, signatures_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signatures = 7;
       * @return This builder for chaining.
       */
      public Builder clearSignatures() {
        signatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private java.util.List executionReceiptMetaList_ =
        java.util.Collections.emptyList();
      private void ensureExecutionReceiptMetaListIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          executionReceiptMetaList_ = new java.util.ArrayList(executionReceiptMetaList_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder> executionReceiptMetaListBuilder_;

      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public java.util.List getExecutionReceiptMetaListList() {
        if (executionReceiptMetaListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(executionReceiptMetaList_);
        } else {
          return executionReceiptMetaListBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public int getExecutionReceiptMetaListCount() {
        if (executionReceiptMetaListBuilder_ == null) {
          return executionReceiptMetaList_.size();
        } else {
          return executionReceiptMetaListBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta getExecutionReceiptMetaList(int index) {
        if (executionReceiptMetaListBuilder_ == null) {
          return executionReceiptMetaList_.get(index);
        } else {
          return executionReceiptMetaListBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder setExecutionReceiptMetaList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta value) {
        if (executionReceiptMetaListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.set(index, value);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder setExecutionReceiptMetaList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder builderForValue) {
        if (executionReceiptMetaListBuilder_ == null) {
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.set(index, builderForValue.build());
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder addExecutionReceiptMetaList(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta value) {
        if (executionReceiptMetaListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.add(value);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder addExecutionReceiptMetaList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta value) {
        if (executionReceiptMetaListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.add(index, value);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder addExecutionReceiptMetaList(
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder builderForValue) {
        if (executionReceiptMetaListBuilder_ == null) {
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.add(builderForValue.build());
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder addExecutionReceiptMetaList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder builderForValue) {
        if (executionReceiptMetaListBuilder_ == null) {
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.add(index, builderForValue.build());
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder addAllExecutionReceiptMetaList(
          java.lang.Iterable values) {
        if (executionReceiptMetaListBuilder_ == null) {
          ensureExecutionReceiptMetaListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, executionReceiptMetaList_);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder clearExecutionReceiptMetaList() {
        if (executionReceiptMetaListBuilder_ == null) {
          executionReceiptMetaList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public Builder removeExecutionReceiptMetaList(int index) {
        if (executionReceiptMetaListBuilder_ == null) {
          ensureExecutionReceiptMetaListIsMutable();
          executionReceiptMetaList_.remove(index);
          onChanged();
        } else {
          executionReceiptMetaListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder getExecutionReceiptMetaListBuilder(
          int index) {
        return getExecutionReceiptMetaListFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder getExecutionReceiptMetaListOrBuilder(
          int index) {
        if (executionReceiptMetaListBuilder_ == null) {
          return executionReceiptMetaList_.get(index);  } else {
          return executionReceiptMetaListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public java.util.List 
           getExecutionReceiptMetaListOrBuilderList() {
        if (executionReceiptMetaListBuilder_ != null) {
          return executionReceiptMetaListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(executionReceiptMetaList_);
        }
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder addExecutionReceiptMetaListBuilder() {
        return getExecutionReceiptMetaListFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder addExecutionReceiptMetaListBuilder(
          int index) {
        return getExecutionReceiptMetaListFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.ExecutionReceiptMeta execution_receipt_metaList = 8;
       */
      public java.util.List 
           getExecutionReceiptMetaListBuilderList() {
        return getExecutionReceiptMetaListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder> 
          getExecutionReceiptMetaListFieldBuilder() {
        if (executionReceiptMetaListBuilder_ == null) {
          executionReceiptMetaListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMeta.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionReceiptMetaOrBuilder>(
                  executionReceiptMetaList_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          executionReceiptMetaList_ = null;
        }
        return executionReceiptMetaListBuilder_;
      }

      private java.util.List executionResultList_ =
        java.util.Collections.emptyList();
      private void ensureExecutionResultListIsMutable() {
        if (!((bitField0_ & 0x00000010) != 0)) {
          executionResultList_ = new java.util.ArrayList(executionResultList_);
          bitField0_ |= 0x00000010;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> executionResultListBuilder_;

      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public java.util.List getExecutionResultListList() {
        if (executionResultListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(executionResultList_);
        } else {
          return executionResultListBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public int getExecutionResultListCount() {
        if (executionResultListBuilder_ == null) {
          return executionResultList_.size();
        } else {
          return executionResultListBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResultList(int index) {
        if (executionResultListBuilder_ == null) {
          return executionResultList_.get(index);
        } else {
          return executionResultListBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder setExecutionResultList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionResultListIsMutable();
          executionResultList_.set(index, value);
          onChanged();
        } else {
          executionResultListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder setExecutionResultList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder builderForValue) {
        if (executionResultListBuilder_ == null) {
          ensureExecutionResultListIsMutable();
          executionResultList_.set(index, builderForValue.build());
          onChanged();
        } else {
          executionResultListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder addExecutionResultList(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionResultListIsMutable();
          executionResultList_.add(value);
          onChanged();
        } else {
          executionResultListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder addExecutionResultList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExecutionResultListIsMutable();
          executionResultList_.add(index, value);
          onChanged();
        } else {
          executionResultListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder addExecutionResultList(
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder builderForValue) {
        if (executionResultListBuilder_ == null) {
          ensureExecutionResultListIsMutable();
          executionResultList_.add(builderForValue.build());
          onChanged();
        } else {
          executionResultListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder addExecutionResultList(
          int index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder builderForValue) {
        if (executionResultListBuilder_ == null) {
          ensureExecutionResultListIsMutable();
          executionResultList_.add(index, builderForValue.build());
          onChanged();
        } else {
          executionResultListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder addAllExecutionResultList(
          java.lang.Iterable values) {
        if (executionResultListBuilder_ == null) {
          ensureExecutionResultListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, executionResultList_);
          onChanged();
        } else {
          executionResultListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder clearExecutionResultList() {
        if (executionResultListBuilder_ == null) {
          executionResultList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
          onChanged();
        } else {
          executionResultListBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public Builder removeExecutionResultList(int index) {
        if (executionResultListBuilder_ == null) {
          ensureExecutionResultListIsMutable();
          executionResultList_.remove(index);
          onChanged();
        } else {
          executionResultListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder getExecutionResultListBuilder(
          int index) {
        return getExecutionResultListFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultListOrBuilder(
          int index) {
        if (executionResultListBuilder_ == null) {
          return executionResultList_.get(index);  } else {
          return executionResultListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public java.util.List 
           getExecutionResultListOrBuilderList() {
        if (executionResultListBuilder_ != null) {
          return executionResultListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(executionResultList_);
        }
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder addExecutionResultListBuilder() {
        return getExecutionResultListFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder addExecutionResultListBuilder(
          int index) {
        return getExecutionResultListFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.ExecutionResult execution_result_list = 9;
       */
      public java.util.List 
           getExecutionResultListBuilderList() {
        return getExecutionResultListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> 
          getExecutionResultListFieldBuilder() {
        if (executionResultListBuilder_ == null) {
          executionResultListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder>(
                  executionResultList_,
                  ((bitField0_ & 0x00000010) != 0),
                  getParentForChildren(),
                  isClean());
          executionResultList_ = null;
        }
        return executionResultListBuilder_;
      }

      private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader blockHeader_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> blockHeaderBuilder_;
      /**
       * .flow.entities.BlockHeader block_header = 10;
       * @return Whether the blockHeader field is set.
       */
      public boolean hasBlockHeader() {
        return blockHeaderBuilder_ != null || blockHeader_ != null;
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       * @return The blockHeader.
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlockHeader() {
        if (blockHeaderBuilder_ == null) {
          return blockHeader_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : blockHeader_;
        } else {
          return blockHeaderBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public Builder setBlockHeader(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
        if (blockHeaderBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          blockHeader_ = value;
          onChanged();
        } else {
          blockHeaderBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public Builder setBlockHeader(
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder builderForValue) {
        if (blockHeaderBuilder_ == null) {
          blockHeader_ = builderForValue.build();
          onChanged();
        } else {
          blockHeaderBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public Builder mergeBlockHeader(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
        if (blockHeaderBuilder_ == null) {
          if (blockHeader_ != null) {
            blockHeader_ =
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.newBuilder(blockHeader_).mergeFrom(value).buildPartial();
          } else {
            blockHeader_ = value;
          }
          onChanged();
        } else {
          blockHeaderBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public Builder clearBlockHeader() {
        if (blockHeaderBuilder_ == null) {
          blockHeader_ = null;
          onChanged();
        } else {
          blockHeader_ = null;
          blockHeaderBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder getBlockHeaderBuilder() {
        
        onChanged();
        return getBlockHeaderFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockHeaderOrBuilder() {
        if (blockHeaderBuilder_ != null) {
          return blockHeaderBuilder_.getMessageOrBuilder();
        } else {
          return blockHeader_ == null ?
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : blockHeader_;
        }
      }
      /**
       * .flow.entities.BlockHeader block_header = 10;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> 
          getBlockHeaderFieldBuilder() {
        if (blockHeaderBuilder_ == null) {
          blockHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder>(
                  getBlockHeader(),
                  getParentForChildren(),
                  isClean());
          blockHeader_ = null;
        }
        return blockHeaderBuilder_;
      }

      private com.google.protobuf.ByteString protocolStateId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes protocol_state_id = 11;
       * @return The protocolStateId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getProtocolStateId() {
        return protocolStateId_;
      }
      /**
       * bytes protocol_state_id = 11;
       * @param value The protocolStateId to set.
       * @return This builder for chaining.
       */
      public Builder setProtocolStateId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        protocolStateId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes protocol_state_id = 11;
       * @return This builder for chaining.
       */
      public Builder clearProtocolStateId() {
        
        protocolStateId_ = getDefaultInstance().getProtocolStateId();
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:flow.entities.Block)
    }

    // @@protoc_insertion_point(class_scope:flow.entities.Block)
    private static final org.onflow.protobuf.entities.BlockOuterClass.Block DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockOuterClass.Block();
    }

    public static org.onflow.protobuf.entities.BlockOuterClass.Block getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Block parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Block(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.onflow.protobuf.entities.BlockOuterClass.Block getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_flow_entities_Block_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_flow_entities_Block_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\031flow/entities/block.proto\022\rflow.entiti" +
      "es\032\037google/protobuf/timestamp.proto\032\036flo" +
      "w/entities/collection.proto\032\036flow/entiti" +
      "es/block_seal.proto\032$flow/entities/execu" +
      "tion_result.proto\032 flow/entities/block_h" +
      "eader.proto\"\300\003\n\005Block\022\n\n\002id\030\001 \001(\014\022\021\n\tpar" +
      "ent_id\030\002 \001(\014\022\016\n\006height\030\003 \001(\004\022-\n\ttimestam" +
      "p\030\004 \001(\0132\032.google.protobuf.Timestamp\022A\n\025c" +
      "ollection_guarantees\030\005 \003(\0132\".flow.entiti" +
      "es.CollectionGuarantee\022-\n\013block_seals\030\006 " +
      "\003(\0132\030.flow.entities.BlockSeal\022\022\n\nsignatu" +
      "res\030\007 \003(\014\022G\n\032execution_receipt_metaList\030" +
      "\010 \003(\0132#.flow.entities.ExecutionReceiptMe" +
      "ta\022=\n\025execution_result_list\030\t \003(\0132\036.flow" +
      ".entities.ExecutionResult\0220\n\014block_heade" +
      "r\030\n \001(\0132\032.flow.entities.BlockHeader\022\031\n\021p" +
      "rotocol_state_id\030\013 \001(\014*G\n\013BlockStatus\022\021\n" +
      "\rBLOCK_UNKNOWN\020\000\022\023\n\017BLOCK_FINALIZED\020\001\022\020\n" +
      "\014BLOCK_SEALED\020\002BP\n\034org.onflow.protobuf.e" +
      "ntitiesZ0github.com/onflow/flow/protobuf" +
      "/go/flow/entitiesb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.TimestampProto.getDescriptor(),
          org.onflow.protobuf.entities.CollectionOuterClass.getDescriptor(),
          org.onflow.protobuf.entities.BlockSealOuterClass.getDescriptor(),
          org.onflow.protobuf.entities.ExecutionResultOuterClass.getDescriptor(),
          org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor(),
        });
    internal_static_flow_entities_Block_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_flow_entities_Block_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_flow_entities_Block_descriptor,
        new java.lang.String[] { "Id", "ParentId", "Height", "Timestamp", "CollectionGuarantees", "BlockSeals", "Signatures", "ExecutionReceiptMetaList", "ExecutionResultList", "BlockHeader", "ProtocolStateId", });
    com.google.protobuf.TimestampProto.getDescriptor();
    org.onflow.protobuf.entities.CollectionOuterClass.getDescriptor();
    org.onflow.protobuf.entities.BlockSealOuterClass.getDescriptor();
    org.onflow.protobuf.entities.ExecutionResultOuterClass.getDescriptor();
    org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy