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

main.org.onflow.protobuf.entities.BlockSealOuterClass 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_seal.proto

package org.onflow.protobuf.entities;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface BlockSealOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.entities.BlockSeal)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes block_id = 1;
     * @return The blockId.
     */
    com.google.protobuf.ByteString getBlockId();

    /**
     * bytes execution_receipt_id = 2;
     * @return The executionReceiptId.
     */
    com.google.protobuf.ByteString getExecutionReceiptId();

    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @return A list containing the executionReceiptSignatures.
     */
    java.util.List getExecutionReceiptSignaturesList();
    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @return The count of executionReceiptSignatures.
     */
    int getExecutionReceiptSignaturesCount();
    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @param index The index of the element to return.
     * @return The executionReceiptSignatures at the given index.
     */
    com.google.protobuf.ByteString getExecutionReceiptSignatures(int index);

    /**
     * repeated bytes result_approval_signatures = 4;
     * @return A list containing the resultApprovalSignatures.
     */
    java.util.List getResultApprovalSignaturesList();
    /**
     * repeated bytes result_approval_signatures = 4;
     * @return The count of resultApprovalSignatures.
     */
    int getResultApprovalSignaturesCount();
    /**
     * repeated bytes result_approval_signatures = 4;
     * @param index The index of the element to return.
     * @return The resultApprovalSignatures at the given index.
     */
    com.google.protobuf.ByteString getResultApprovalSignatures(int index);

    /**
     * bytes final_state = 5;
     * @return The finalState.
     */
    com.google.protobuf.ByteString getFinalState();

    /**
     * bytes result_id = 6;
     * @return The resultId.
     */
    com.google.protobuf.ByteString getResultId();

    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    java.util.List 
        getAggregatedApprovalSigsList();
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature getAggregatedApprovalSigs(int index);
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    int getAggregatedApprovalSigsCount();
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    java.util.List 
        getAggregatedApprovalSigsOrBuilderList();
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder getAggregatedApprovalSigsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code flow.entities.BlockSeal}
   */
  public static final class BlockSeal extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.entities.BlockSeal)
      BlockSealOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BlockSeal.newBuilder() to construct.
    private BlockSeal(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BlockSeal() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      executionReceiptId_ = com.google.protobuf.ByteString.EMPTY;
      executionReceiptSignatures_ = java.util.Collections.emptyList();
      resultApprovalSignatures_ = java.util.Collections.emptyList();
      finalState_ = com.google.protobuf.ByteString.EMPTY;
      resultId_ = com.google.protobuf.ByteString.EMPTY;
      aggregatedApprovalSigs_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BlockSeal(
        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: {

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

              executionReceiptId_ = input.readBytes();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                executionReceiptSignatures_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              executionReceiptSignatures_.add(input.readBytes());
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                resultApprovalSignatures_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              resultApprovalSignatures_.add(input.readBytes());
              break;
            }
            case 42: {

              finalState_ = input.readBytes();
              break;
            }
            case 50: {

              resultId_ = input.readBytes();
              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                aggregatedApprovalSigs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              aggregatedApprovalSigs_.add(
                  input.readMessage(org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.parser(), extensionRegistry));
              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)) {
          executionReceiptSignatures_ = java.util.Collections.unmodifiableList(executionReceiptSignatures_); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          resultApprovalSignatures_ = java.util.Collections.unmodifiableList(resultApprovalSignatures_); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          aggregatedApprovalSigs_ = java.util.Collections.unmodifiableList(aggregatedApprovalSigs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.entities.BlockSealOuterClass.internal_static_flow_entities_BlockSeal_descriptor;
    }

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

    public static final int BLOCK_ID_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString blockId_;
    /**
     * bytes block_id = 1;
     * @return The blockId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getBlockId() {
      return blockId_;
    }

    public static final int EXECUTION_RECEIPT_ID_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString executionReceiptId_;
    /**
     * bytes execution_receipt_id = 2;
     * @return The executionReceiptId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getExecutionReceiptId() {
      return executionReceiptId_;
    }

    public static final int EXECUTION_RECEIPT_SIGNATURES_FIELD_NUMBER = 3;
    private java.util.List executionReceiptSignatures_;
    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @return A list containing the executionReceiptSignatures.
     */
    @java.lang.Override
    public java.util.List
        getExecutionReceiptSignaturesList() {
      return executionReceiptSignatures_;
    }
    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @return The count of executionReceiptSignatures.
     */
    public int getExecutionReceiptSignaturesCount() {
      return executionReceiptSignatures_.size();
    }
    /**
     * repeated bytes execution_receipt_signatures = 3;
     * @param index The index of the element to return.
     * @return The executionReceiptSignatures at the given index.
     */
    public com.google.protobuf.ByteString getExecutionReceiptSignatures(int index) {
      return executionReceiptSignatures_.get(index);
    }

    public static final int RESULT_APPROVAL_SIGNATURES_FIELD_NUMBER = 4;
    private java.util.List resultApprovalSignatures_;
    /**
     * repeated bytes result_approval_signatures = 4;
     * @return A list containing the resultApprovalSignatures.
     */
    @java.lang.Override
    public java.util.List
        getResultApprovalSignaturesList() {
      return resultApprovalSignatures_;
    }
    /**
     * repeated bytes result_approval_signatures = 4;
     * @return The count of resultApprovalSignatures.
     */
    public int getResultApprovalSignaturesCount() {
      return resultApprovalSignatures_.size();
    }
    /**
     * repeated bytes result_approval_signatures = 4;
     * @param index The index of the element to return.
     * @return The resultApprovalSignatures at the given index.
     */
    public com.google.protobuf.ByteString getResultApprovalSignatures(int index) {
      return resultApprovalSignatures_.get(index);
    }

    public static final int FINAL_STATE_FIELD_NUMBER = 5;
    private com.google.protobuf.ByteString finalState_;
    /**
     * bytes final_state = 5;
     * @return The finalState.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getFinalState() {
      return finalState_;
    }

    public static final int RESULT_ID_FIELD_NUMBER = 6;
    private com.google.protobuf.ByteString resultId_;
    /**
     * bytes result_id = 6;
     * @return The resultId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getResultId() {
      return resultId_;
    }

    public static final int AGGREGATED_APPROVAL_SIGS_FIELD_NUMBER = 7;
    private java.util.List aggregatedApprovalSigs_;
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    @java.lang.Override
    public java.util.List getAggregatedApprovalSigsList() {
      return aggregatedApprovalSigs_;
    }
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    @java.lang.Override
    public java.util.List 
        getAggregatedApprovalSigsOrBuilderList() {
      return aggregatedApprovalSigs_;
    }
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    @java.lang.Override
    public int getAggregatedApprovalSigsCount() {
      return aggregatedApprovalSigs_.size();
    }
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature getAggregatedApprovalSigs(int index) {
      return aggregatedApprovalSigs_.get(index);
    }
    /**
     * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder getAggregatedApprovalSigsOrBuilder(
        int index) {
      return aggregatedApprovalSigs_.get(index);
    }

    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 (!blockId_.isEmpty()) {
        output.writeBytes(1, blockId_);
      }
      if (!executionReceiptId_.isEmpty()) {
        output.writeBytes(2, executionReceiptId_);
      }
      for (int i = 0; i < executionReceiptSignatures_.size(); i++) {
        output.writeBytes(3, executionReceiptSignatures_.get(i));
      }
      for (int i = 0; i < resultApprovalSignatures_.size(); i++) {
        output.writeBytes(4, resultApprovalSignatures_.get(i));
      }
      if (!finalState_.isEmpty()) {
        output.writeBytes(5, finalState_);
      }
      if (!resultId_.isEmpty()) {
        output.writeBytes(6, resultId_);
      }
      for (int i = 0; i < aggregatedApprovalSigs_.size(); i++) {
        output.writeMessage(7, aggregatedApprovalSigs_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!blockId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, blockId_);
      }
      if (!executionReceiptId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, executionReceiptId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < executionReceiptSignatures_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(executionReceiptSignatures_.get(i));
        }
        size += dataSize;
        size += 1 * getExecutionReceiptSignaturesList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < resultApprovalSignatures_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(resultApprovalSignatures_.get(i));
        }
        size += dataSize;
        size += 1 * getResultApprovalSignaturesList().size();
      }
      if (!finalState_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(5, finalState_);
      }
      if (!resultId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(6, resultId_);
      }
      for (int i = 0; i < aggregatedApprovalSigs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, aggregatedApprovalSigs_.get(i));
      }
      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.BlockSealOuterClass.BlockSeal)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal other = (org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (!getExecutionReceiptId()
          .equals(other.getExecutionReceiptId())) return false;
      if (!getExecutionReceiptSignaturesList()
          .equals(other.getExecutionReceiptSignaturesList())) return false;
      if (!getResultApprovalSignaturesList()
          .equals(other.getResultApprovalSignaturesList())) return false;
      if (!getFinalState()
          .equals(other.getFinalState())) return false;
      if (!getResultId()
          .equals(other.getResultId())) return false;
      if (!getAggregatedApprovalSigsList()
          .equals(other.getAggregatedApprovalSigsList())) 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) + BLOCK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getBlockId().hashCode();
      hash = (37 * hash) + EXECUTION_RECEIPT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getExecutionReceiptId().hashCode();
      if (getExecutionReceiptSignaturesCount() > 0) {
        hash = (37 * hash) + EXECUTION_RECEIPT_SIGNATURES_FIELD_NUMBER;
        hash = (53 * hash) + getExecutionReceiptSignaturesList().hashCode();
      }
      if (getResultApprovalSignaturesCount() > 0) {
        hash = (37 * hash) + RESULT_APPROVAL_SIGNATURES_FIELD_NUMBER;
        hash = (53 * hash) + getResultApprovalSignaturesList().hashCode();
      }
      hash = (37 * hash) + FINAL_STATE_FIELD_NUMBER;
      hash = (53 * hash) + getFinalState().hashCode();
      hash = (37 * hash) + RESULT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getResultId().hashCode();
      if (getAggregatedApprovalSigsCount() > 0) {
        hash = (37 * hash) + AGGREGATED_APPROVAL_SIGS_FIELD_NUMBER;
        hash = (53 * hash) + getAggregatedApprovalSigsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal 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.BlockSealOuterClass.BlockSeal parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal 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.BlockSealOuterClass.BlockSeal parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal 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.BlockSealOuterClass.BlockSeal parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal 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.BlockSealOuterClass.BlockSeal parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal 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.BlockSealOuterClass.BlockSeal 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.BlockSeal}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:flow.entities.BlockSeal)
        org.onflow.protobuf.entities.BlockSealOuterClass.BlockSealOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.onflow.protobuf.entities.BlockSealOuterClass.internal_static_flow_entities_BlockSeal_descriptor;
      }

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

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

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

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

        executionReceiptSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        resultApprovalSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        finalState_ = com.google.protobuf.ByteString.EMPTY;

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

        if (aggregatedApprovalSigsBuilder_ == null) {
          aggregatedApprovalSigs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          aggregatedApprovalSigsBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal buildPartial() {
        org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal result = new org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal(this);
        int from_bitField0_ = bitField0_;
        result.blockId_ = blockId_;
        result.executionReceiptId_ = executionReceiptId_;
        if (((bitField0_ & 0x00000001) != 0)) {
          executionReceiptSignatures_ = java.util.Collections.unmodifiableList(executionReceiptSignatures_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.executionReceiptSignatures_ = executionReceiptSignatures_;
        if (((bitField0_ & 0x00000002) != 0)) {
          resultApprovalSignatures_ = java.util.Collections.unmodifiableList(resultApprovalSignatures_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.resultApprovalSignatures_ = resultApprovalSignatures_;
        result.finalState_ = finalState_;
        result.resultId_ = resultId_;
        if (aggregatedApprovalSigsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            aggregatedApprovalSigs_ = java.util.Collections.unmodifiableList(aggregatedApprovalSigs_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.aggregatedApprovalSigs_ = aggregatedApprovalSigs_;
        } else {
          result.aggregatedApprovalSigs_ = aggregatedApprovalSigsBuilder_.build();
        }
        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.BlockSealOuterClass.BlockSeal) {
          return mergeFrom((org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal other) {
        if (other == org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.getExecutionReceiptId() != com.google.protobuf.ByteString.EMPTY) {
          setExecutionReceiptId(other.getExecutionReceiptId());
        }
        if (!other.executionReceiptSignatures_.isEmpty()) {
          if (executionReceiptSignatures_.isEmpty()) {
            executionReceiptSignatures_ = other.executionReceiptSignatures_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureExecutionReceiptSignaturesIsMutable();
            executionReceiptSignatures_.addAll(other.executionReceiptSignatures_);
          }
          onChanged();
        }
        if (!other.resultApprovalSignatures_.isEmpty()) {
          if (resultApprovalSignatures_.isEmpty()) {
            resultApprovalSignatures_ = other.resultApprovalSignatures_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureResultApprovalSignaturesIsMutable();
            resultApprovalSignatures_.addAll(other.resultApprovalSignatures_);
          }
          onChanged();
        }
        if (other.getFinalState() != com.google.protobuf.ByteString.EMPTY) {
          setFinalState(other.getFinalState());
        }
        if (other.getResultId() != com.google.protobuf.ByteString.EMPTY) {
          setResultId(other.getResultId());
        }
        if (aggregatedApprovalSigsBuilder_ == null) {
          if (!other.aggregatedApprovalSigs_.isEmpty()) {
            if (aggregatedApprovalSigs_.isEmpty()) {
              aggregatedApprovalSigs_ = other.aggregatedApprovalSigs_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureAggregatedApprovalSigsIsMutable();
              aggregatedApprovalSigs_.addAll(other.aggregatedApprovalSigs_);
            }
            onChanged();
          }
        } else {
          if (!other.aggregatedApprovalSigs_.isEmpty()) {
            if (aggregatedApprovalSigsBuilder_.isEmpty()) {
              aggregatedApprovalSigsBuilder_.dispose();
              aggregatedApprovalSigsBuilder_ = null;
              aggregatedApprovalSigs_ = other.aggregatedApprovalSigs_;
              bitField0_ = (bitField0_ & ~0x00000004);
              aggregatedApprovalSigsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getAggregatedApprovalSigsFieldBuilder() : null;
            } else {
              aggregatedApprovalSigsBuilder_.addAllMessages(other.aggregatedApprovalSigs_);
            }
          }
        }
        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.BlockSealOuterClass.BlockSeal parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes block_id = 1;
       * @return The blockId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getBlockId() {
        return blockId_;
      }
      /**
       * bytes block_id = 1;
       * @param value The blockId to set.
       * @return This builder for chaining.
       */
      public Builder setBlockId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        blockId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes block_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearBlockId() {
        
        blockId_ = getDefaultInstance().getBlockId();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString executionReceiptId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes execution_receipt_id = 2;
       * @return The executionReceiptId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getExecutionReceiptId() {
        return executionReceiptId_;
      }
      /**
       * bytes execution_receipt_id = 2;
       * @param value The executionReceiptId to set.
       * @return This builder for chaining.
       */
      public Builder setExecutionReceiptId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        executionReceiptId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes execution_receipt_id = 2;
       * @return This builder for chaining.
       */
      public Builder clearExecutionReceiptId() {
        
        executionReceiptId_ = getDefaultInstance().getExecutionReceiptId();
        onChanged();
        return this;
      }

      private java.util.List executionReceiptSignatures_ = java.util.Collections.emptyList();
      private void ensureExecutionReceiptSignaturesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          executionReceiptSignatures_ = new java.util.ArrayList(executionReceiptSignatures_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @return A list containing the executionReceiptSignatures.
       */
      public java.util.List
          getExecutionReceiptSignaturesList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(executionReceiptSignatures_) : executionReceiptSignatures_;
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @return The count of executionReceiptSignatures.
       */
      public int getExecutionReceiptSignaturesCount() {
        return executionReceiptSignatures_.size();
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @param index The index of the element to return.
       * @return The executionReceiptSignatures at the given index.
       */
      public com.google.protobuf.ByteString getExecutionReceiptSignatures(int index) {
        return executionReceiptSignatures_.get(index);
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @param index The index to set the value at.
       * @param value The executionReceiptSignatures to set.
       * @return This builder for chaining.
       */
      public Builder setExecutionReceiptSignatures(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureExecutionReceiptSignaturesIsMutable();
        executionReceiptSignatures_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @param value The executionReceiptSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addExecutionReceiptSignatures(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureExecutionReceiptSignaturesIsMutable();
        executionReceiptSignatures_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @param values The executionReceiptSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addAllExecutionReceiptSignatures(
          java.lang.Iterable values) {
        ensureExecutionReceiptSignaturesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, executionReceiptSignatures_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes execution_receipt_signatures = 3;
       * @return This builder for chaining.
       */
      public Builder clearExecutionReceiptSignatures() {
        executionReceiptSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private java.util.List resultApprovalSignatures_ = java.util.Collections.emptyList();
      private void ensureResultApprovalSignaturesIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          resultApprovalSignatures_ = new java.util.ArrayList(resultApprovalSignatures_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @return A list containing the resultApprovalSignatures.
       */
      public java.util.List
          getResultApprovalSignaturesList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(resultApprovalSignatures_) : resultApprovalSignatures_;
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @return The count of resultApprovalSignatures.
       */
      public int getResultApprovalSignaturesCount() {
        return resultApprovalSignatures_.size();
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @param index The index of the element to return.
       * @return The resultApprovalSignatures at the given index.
       */
      public com.google.protobuf.ByteString getResultApprovalSignatures(int index) {
        return resultApprovalSignatures_.get(index);
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @param index The index to set the value at.
       * @param value The resultApprovalSignatures to set.
       * @return This builder for chaining.
       */
      public Builder setResultApprovalSignatures(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureResultApprovalSignaturesIsMutable();
        resultApprovalSignatures_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @param value The resultApprovalSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addResultApprovalSignatures(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureResultApprovalSignaturesIsMutable();
        resultApprovalSignatures_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @param values The resultApprovalSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addAllResultApprovalSignatures(
          java.lang.Iterable values) {
        ensureResultApprovalSignaturesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, resultApprovalSignatures_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes result_approval_signatures = 4;
       * @return This builder for chaining.
       */
      public Builder clearResultApprovalSignatures() {
        resultApprovalSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString finalState_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes final_state = 5;
       * @return The finalState.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getFinalState() {
        return finalState_;
      }
      /**
       * bytes final_state = 5;
       * @param value The finalState to set.
       * @return This builder for chaining.
       */
      public Builder setFinalState(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        finalState_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes final_state = 5;
       * @return This builder for chaining.
       */
      public Builder clearFinalState() {
        
        finalState_ = getDefaultInstance().getFinalState();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString resultId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes result_id = 6;
       * @return The resultId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getResultId() {
        return resultId_;
      }
      /**
       * bytes result_id = 6;
       * @param value The resultId to set.
       * @return This builder for chaining.
       */
      public Builder setResultId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        resultId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes result_id = 6;
       * @return This builder for chaining.
       */
      public Builder clearResultId() {
        
        resultId_ = getDefaultInstance().getResultId();
        onChanged();
        return this;
      }

      private java.util.List aggregatedApprovalSigs_ =
        java.util.Collections.emptyList();
      private void ensureAggregatedApprovalSigsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          aggregatedApprovalSigs_ = new java.util.ArrayList(aggregatedApprovalSigs_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder> aggregatedApprovalSigsBuilder_;

      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public java.util.List getAggregatedApprovalSigsList() {
        if (aggregatedApprovalSigsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(aggregatedApprovalSigs_);
        } else {
          return aggregatedApprovalSigsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public int getAggregatedApprovalSigsCount() {
        if (aggregatedApprovalSigsBuilder_ == null) {
          return aggregatedApprovalSigs_.size();
        } else {
          return aggregatedApprovalSigsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature getAggregatedApprovalSigs(int index) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          return aggregatedApprovalSigs_.get(index);
        } else {
          return aggregatedApprovalSigsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder setAggregatedApprovalSigs(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature value) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.set(index, value);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder setAggregatedApprovalSigs(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder builderForValue) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.set(index, builderForValue.build());
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder addAggregatedApprovalSigs(org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature value) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.add(value);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder addAggregatedApprovalSigs(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature value) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.add(index, value);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder addAggregatedApprovalSigs(
          org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder builderForValue) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.add(builderForValue.build());
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder addAggregatedApprovalSigs(
          int index, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder builderForValue) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.add(index, builderForValue.build());
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder addAllAggregatedApprovalSigs(
          java.lang.Iterable values) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          ensureAggregatedApprovalSigsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, aggregatedApprovalSigs_);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder clearAggregatedApprovalSigs() {
        if (aggregatedApprovalSigsBuilder_ == null) {
          aggregatedApprovalSigs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public Builder removeAggregatedApprovalSigs(int index) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          ensureAggregatedApprovalSigsIsMutable();
          aggregatedApprovalSigs_.remove(index);
          onChanged();
        } else {
          aggregatedApprovalSigsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder getAggregatedApprovalSigsBuilder(
          int index) {
        return getAggregatedApprovalSigsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder getAggregatedApprovalSigsOrBuilder(
          int index) {
        if (aggregatedApprovalSigsBuilder_ == null) {
          return aggregatedApprovalSigs_.get(index);  } else {
          return aggregatedApprovalSigsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public java.util.List 
           getAggregatedApprovalSigsOrBuilderList() {
        if (aggregatedApprovalSigsBuilder_ != null) {
          return aggregatedApprovalSigsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(aggregatedApprovalSigs_);
        }
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder addAggregatedApprovalSigsBuilder() {
        return getAggregatedApprovalSigsFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder addAggregatedApprovalSigsBuilder(
          int index) {
        return getAggregatedApprovalSigsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.AggregatedSignature aggregated_approval_sigs = 7;
       */
      public java.util.List 
           getAggregatedApprovalSigsBuilderList() {
        return getAggregatedApprovalSigsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder> 
          getAggregatedApprovalSigsFieldBuilder() {
        if (aggregatedApprovalSigsBuilder_ == null) {
          aggregatedApprovalSigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.Builder, org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder>(
                  aggregatedApprovalSigs_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          aggregatedApprovalSigs_ = null;
        }
        return aggregatedApprovalSigsBuilder_;
      }
      @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.BlockSeal)
    }

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

    public static org.onflow.protobuf.entities.BlockSealOuterClass.BlockSeal getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public BlockSeal parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new BlockSeal(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.BlockSealOuterClass.BlockSeal getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * repeated bytes verifier_signatures = 1;
     * @return A list containing the verifierSignatures.
     */
    java.util.List getVerifierSignaturesList();
    /**
     * repeated bytes verifier_signatures = 1;
     * @return The count of verifierSignatures.
     */
    int getVerifierSignaturesCount();
    /**
     * repeated bytes verifier_signatures = 1;
     * @param index The index of the element to return.
     * @return The verifierSignatures at the given index.
     */
    com.google.protobuf.ByteString getVerifierSignatures(int index);

    /**
     * repeated bytes signer_ids = 2;
     * @return A list containing the signerIds.
     */
    java.util.List getSignerIdsList();
    /**
     * repeated bytes signer_ids = 2;
     * @return The count of signerIds.
     */
    int getSignerIdsCount();
    /**
     * repeated bytes signer_ids = 2;
     * @param index The index of the element to return.
     * @return The signerIds at the given index.
     */
    com.google.protobuf.ByteString getSignerIds(int index);
  }
  /**
   * Protobuf type {@code flow.entities.AggregatedSignature}
   */
  public static final class AggregatedSignature extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.entities.AggregatedSignature)
      AggregatedSignatureOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AggregatedSignature.newBuilder() to construct.
    private AggregatedSignature(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private AggregatedSignature() {
      verifierSignatures_ = java.util.Collections.emptyList();
      signerIds_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AggregatedSignature(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                verifierSignatures_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              verifierSignatures_.add(input.readBytes());
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                signerIds_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              signerIds_.add(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)) {
          verifierSignatures_ = java.util.Collections.unmodifiableList(verifierSignatures_); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          signerIds_ = java.util.Collections.unmodifiableList(signerIds_); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.entities.BlockSealOuterClass.internal_static_flow_entities_AggregatedSignature_descriptor;
    }

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

    public static final int VERIFIER_SIGNATURES_FIELD_NUMBER = 1;
    private java.util.List verifierSignatures_;
    /**
     * repeated bytes verifier_signatures = 1;
     * @return A list containing the verifierSignatures.
     */
    @java.lang.Override
    public java.util.List
        getVerifierSignaturesList() {
      return verifierSignatures_;
    }
    /**
     * repeated bytes verifier_signatures = 1;
     * @return The count of verifierSignatures.
     */
    public int getVerifierSignaturesCount() {
      return verifierSignatures_.size();
    }
    /**
     * repeated bytes verifier_signatures = 1;
     * @param index The index of the element to return.
     * @return The verifierSignatures at the given index.
     */
    public com.google.protobuf.ByteString getVerifierSignatures(int index) {
      return verifierSignatures_.get(index);
    }

    public static final int SIGNER_IDS_FIELD_NUMBER = 2;
    private java.util.List signerIds_;
    /**
     * repeated bytes signer_ids = 2;
     * @return A list containing the signerIds.
     */
    @java.lang.Override
    public java.util.List
        getSignerIdsList() {
      return signerIds_;
    }
    /**
     * repeated bytes signer_ids = 2;
     * @return The count of signerIds.
     */
    public int getSignerIdsCount() {
      return signerIds_.size();
    }
    /**
     * repeated bytes signer_ids = 2;
     * @param index The index of the element to return.
     * @return The signerIds at the given index.
     */
    public com.google.protobuf.ByteString getSignerIds(int index) {
      return signerIds_.get(index);
    }

    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 {
      for (int i = 0; i < verifierSignatures_.size(); i++) {
        output.writeBytes(1, verifierSignatures_.get(i));
      }
      for (int i = 0; i < signerIds_.size(); i++) {
        output.writeBytes(2, signerIds_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < verifierSignatures_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(verifierSignatures_.get(i));
        }
        size += dataSize;
        size += 1 * getVerifierSignaturesList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < signerIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(signerIds_.get(i));
        }
        size += dataSize;
        size += 1 * getSignerIdsList().size();
      }
      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.BlockSealOuterClass.AggregatedSignature)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature other = (org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature) obj;

      if (!getVerifierSignaturesList()
          .equals(other.getVerifierSignaturesList())) return false;
      if (!getSignerIdsList()
          .equals(other.getSignerIdsList())) 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();
      if (getVerifierSignaturesCount() > 0) {
        hash = (37 * hash) + VERIFIER_SIGNATURES_FIELD_NUMBER;
        hash = (53 * hash) + getVerifierSignaturesList().hashCode();
      }
      if (getSignerIdsCount() > 0) {
        hash = (37 * hash) + SIGNER_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getSignerIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature 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.BlockSealOuterClass.AggregatedSignature parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature 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.BlockSealOuterClass.AggregatedSignature parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature 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.BlockSealOuterClass.AggregatedSignature parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature 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.BlockSealOuterClass.AggregatedSignature parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature 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.BlockSealOuterClass.AggregatedSignature 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.AggregatedSignature}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:flow.entities.AggregatedSignature)
        org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignatureOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.onflow.protobuf.entities.BlockSealOuterClass.internal_static_flow_entities_AggregatedSignature_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        verifierSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        signerIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

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

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

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

      @java.lang.Override
      public org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature buildPartial() {
        org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature result = new org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          verifierSignatures_ = java.util.Collections.unmodifiableList(verifierSignatures_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.verifierSignatures_ = verifierSignatures_;
        if (((bitField0_ & 0x00000002) != 0)) {
          signerIds_ = java.util.Collections.unmodifiableList(signerIds_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.signerIds_ = signerIds_;
        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.BlockSealOuterClass.AggregatedSignature) {
          return mergeFrom((org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature other) {
        if (other == org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature.getDefaultInstance()) return this;
        if (!other.verifierSignatures_.isEmpty()) {
          if (verifierSignatures_.isEmpty()) {
            verifierSignatures_ = other.verifierSignatures_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureVerifierSignaturesIsMutable();
            verifierSignatures_.addAll(other.verifierSignatures_);
          }
          onChanged();
        }
        if (!other.signerIds_.isEmpty()) {
          if (signerIds_.isEmpty()) {
            signerIds_ = other.signerIds_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureSignerIdsIsMutable();
            signerIds_.addAll(other.signerIds_);
          }
          onChanged();
        }
        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.BlockSealOuterClass.AggregatedSignature parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List verifierSignatures_ = java.util.Collections.emptyList();
      private void ensureVerifierSignaturesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          verifierSignatures_ = new java.util.ArrayList(verifierSignatures_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @return A list containing the verifierSignatures.
       */
      public java.util.List
          getVerifierSignaturesList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(verifierSignatures_) : verifierSignatures_;
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @return The count of verifierSignatures.
       */
      public int getVerifierSignaturesCount() {
        return verifierSignatures_.size();
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @param index The index of the element to return.
       * @return The verifierSignatures at the given index.
       */
      public com.google.protobuf.ByteString getVerifierSignatures(int index) {
        return verifierSignatures_.get(index);
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @param index The index to set the value at.
       * @param value The verifierSignatures to set.
       * @return This builder for chaining.
       */
      public Builder setVerifierSignatures(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureVerifierSignaturesIsMutable();
        verifierSignatures_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @param value The verifierSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addVerifierSignatures(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureVerifierSignaturesIsMutable();
        verifierSignatures_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @param values The verifierSignatures to add.
       * @return This builder for chaining.
       */
      public Builder addAllVerifierSignatures(
          java.lang.Iterable values) {
        ensureVerifierSignaturesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, verifierSignatures_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes verifier_signatures = 1;
       * @return This builder for chaining.
       */
      public Builder clearVerifierSignatures() {
        verifierSignatures_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private java.util.List signerIds_ = java.util.Collections.emptyList();
      private void ensureSignerIdsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          signerIds_ = new java.util.ArrayList(signerIds_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated bytes signer_ids = 2;
       * @return A list containing the signerIds.
       */
      public java.util.List
          getSignerIdsList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(signerIds_) : signerIds_;
      }
      /**
       * repeated bytes signer_ids = 2;
       * @return The count of signerIds.
       */
      public int getSignerIdsCount() {
        return signerIds_.size();
      }
      /**
       * repeated bytes signer_ids = 2;
       * @param index The index of the element to return.
       * @return The signerIds at the given index.
       */
      public com.google.protobuf.ByteString getSignerIds(int index) {
        return signerIds_.get(index);
      }
      /**
       * repeated bytes signer_ids = 2;
       * @param index The index to set the value at.
       * @param value The signerIds to set.
       * @return This builder for chaining.
       */
      public Builder setSignerIds(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSignerIdsIsMutable();
        signerIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signer_ids = 2;
       * @param value The signerIds to add.
       * @return This builder for chaining.
       */
      public Builder addSignerIds(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSignerIdsIsMutable();
        signerIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signer_ids = 2;
       * @param values The signerIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllSignerIds(
          java.lang.Iterable values) {
        ensureSignerIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, signerIds_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes signer_ids = 2;
       * @return This builder for chaining.
       */
      public Builder clearSignerIds() {
        signerIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        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.AggregatedSignature)
    }

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

    public static org.onflow.protobuf.entities.BlockSealOuterClass.AggregatedSignature getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public AggregatedSignature parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new AggregatedSignature(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.BlockSealOuterClass.AggregatedSignature getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_flow_entities_BlockSeal_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_flow_entities_BlockSeal_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_flow_entities_AggregatedSignature_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_flow_entities_AggregatedSignature_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\036flow/entities/block_seal.proto\022\rflow.e" +
      "ntities\"\363\001\n\tBlockSeal\022\020\n\010block_id\030\001 \001(\014\022" +
      "\034\n\024execution_receipt_id\030\002 \001(\014\022$\n\034executi" +
      "on_receipt_signatures\030\003 \003(\014\022\"\n\032result_ap" +
      "proval_signatures\030\004 \003(\014\022\023\n\013final_state\030\005" +
      " \001(\014\022\021\n\tresult_id\030\006 \001(\014\022D\n\030aggregated_ap" +
      "proval_sigs\030\007 \003(\0132\".flow.entities.Aggreg" +
      "atedSignature\"F\n\023AggregatedSignature\022\033\n\023" +
      "verifier_signatures\030\001 \003(\014\022\022\n\nsigner_ids\030" +
      "\002 \003(\014BP\n\034org.onflow.protobuf.entitiesZ0g" +
      "ithub.com/onflow/flow/protobuf/go/flow/e" +
      "ntitiesb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_flow_entities_BlockSeal_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_flow_entities_BlockSeal_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_flow_entities_BlockSeal_descriptor,
        new java.lang.String[] { "BlockId", "ExecutionReceiptId", "ExecutionReceiptSignatures", "ResultApprovalSignatures", "FinalState", "ResultId", "AggregatedApprovalSigs", });
    internal_static_flow_entities_AggregatedSignature_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_flow_entities_AggregatedSignature_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_flow_entities_AggregatedSignature_descriptor,
        new java.lang.String[] { "VerifierSignatures", "SignerIds", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy