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

main.org.onflow.protobuf.access.Access 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/access/access.proto

package org.onflow.protobuf.access;

public final class Access {
  private Access() {}
  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 PingRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.PingRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code flow.access.PingRequest}
   */
  public static final class PingRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.PingRequest)
      PingRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PingRequest.newBuilder() to construct.
    private PingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PingRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PingRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_PingRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_PingRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.PingRequest.class, org.onflow.protobuf.access.Access.PingRequest.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      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.access.Access.PingRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.PingRequest other = (org.onflow.protobuf.access.Access.PingRequest) obj;

      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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_PingRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.PingRequest.class, org.onflow.protobuf.access.Access.PingRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.PingRequest.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();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_PingRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.PingRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.PingRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.PingRequest buildPartial() {
        org.onflow.protobuf.access.Access.PingRequest result = new org.onflow.protobuf.access.Access.PingRequest(this);
        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.access.Access.PingRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.PingRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.PingRequest other) {
        if (other == org.onflow.protobuf.access.Access.PingRequest.getDefaultInstance()) return this;
        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.access.Access.PingRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.PingRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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.access.PingRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.PingRequest)
    private static final org.onflow.protobuf.access.Access.PingRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.PingRequest();
    }

    public static org.onflow.protobuf.access.Access.PingRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface PingResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.PingResponse)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code flow.access.PingResponse}
   */
  public static final class PingResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.PingResponse)
      PingResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PingResponse.newBuilder() to construct.
    private PingResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PingResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PingResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_PingResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_PingResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.PingResponse.class, org.onflow.protobuf.access.Access.PingResponse.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      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.access.Access.PingResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.PingResponse other = (org.onflow.protobuf.access.Access.PingResponse) obj;

      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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_PingResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.PingResponse.class, org.onflow.protobuf.access.Access.PingResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.PingResponse.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();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_PingResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.PingResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.PingResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.PingResponse buildPartial() {
        org.onflow.protobuf.access.Access.PingResponse result = new org.onflow.protobuf.access.Access.PingResponse(this);
        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.access.Access.PingResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.PingResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.PingResponse other) {
        if (other == org.onflow.protobuf.access.Access.PingResponse.getDefaultInstance()) return this;
        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.access.Access.PingResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.PingResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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.access.PingResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.PingResponse)
    private static final org.onflow.protobuf.access.Access.PingResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.PingResponse();
    }

    public static org.onflow.protobuf.access.Access.PingResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetNodeVersionInfoRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetNodeVersionInfoRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code flow.access.GetNodeVersionInfoRequest}
   */
  public static final class GetNodeVersionInfoRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetNodeVersionInfoRequest)
      GetNodeVersionInfoRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetNodeVersionInfoRequest.newBuilder() to construct.
    private GetNodeVersionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetNodeVersionInfoRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetNodeVersionInfoRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.class, org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      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.access.Access.GetNodeVersionInfoRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest other = (org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest) obj;

      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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.class, org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.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();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest result = new org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest(this);
        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.access.Access.GetNodeVersionInfoRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest.getDefaultInstance()) return this;
        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.access.Access.GetNodeVersionInfoRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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.access.GetNodeVersionInfoRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetNodeVersionInfoRequest)
    private static final org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest();
    }

    public static org.onflow.protobuf.access.Access.GetNodeVersionInfoRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetNodeVersionInfoResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetNodeVersionInfoResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.NodeVersionInfo info = 1;
     * @return Whether the info field is set.
     */
    boolean hasInfo();
    /**
     * .flow.entities.NodeVersionInfo info = 1;
     * @return The info.
     */
    org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo getInfo();
    /**
     * .flow.entities.NodeVersionInfo info = 1;
     */
    org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder getInfoOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.GetNodeVersionInfoResponse}
   */
  public static final class GetNodeVersionInfoResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetNodeVersionInfoResponse)
      GetNodeVersionInfoResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetNodeVersionInfoResponse.newBuilder() to construct.
    private GetNodeVersionInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetNodeVersionInfoResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetNodeVersionInfoResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder subBuilder = null;
              if (info_ != null) {
                subBuilder = info_.toBuilder();
              }
              info_ = input.readMessage(org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(info_);
                info_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.class, org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.Builder.class);
    }

    public static final int INFO_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo info_;
    /**
     * .flow.entities.NodeVersionInfo info = 1;
     * @return Whether the info field is set.
     */
    @java.lang.Override
    public boolean hasInfo() {
      return info_ != null;
    }
    /**
     * .flow.entities.NodeVersionInfo info = 1;
     * @return The info.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo getInfo() {
      return info_ == null ? org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.getDefaultInstance() : info_;
    }
    /**
     * .flow.entities.NodeVersionInfo info = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder getInfoOrBuilder() {
      return getInfo();
    }

    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 (info_ != null) {
        output.writeMessage(1, getInfo());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (info_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getInfo());
      }
      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.access.Access.GetNodeVersionInfoResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse other = (org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse) obj;

      if (hasInfo() != other.hasInfo()) return false;
      if (hasInfo()) {
        if (!getInfo()
            .equals(other.getInfo())) 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 (hasInfo()) {
        hash = (37 * hash) + INFO_FIELD_NUMBER;
        hash = (53 * hash) + getInfo().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.class, org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.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();
        if (infoBuilder_ == null) {
          info_ = null;
        } else {
          info_ = null;
          infoBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNodeVersionInfoResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse buildPartial() {
        org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse result = new org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse(this);
        if (infoBuilder_ == null) {
          result.info_ = info_;
        } else {
          result.info_ = infoBuilder_.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.access.Access.GetNodeVersionInfoResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse other) {
        if (other == org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse.getDefaultInstance()) return this;
        if (other.hasInfo()) {
          mergeInfo(other.getInfo());
        }
        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.access.Access.GetNodeVersionInfoResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo info_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder> infoBuilder_;
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       * @return Whether the info field is set.
       */
      public boolean hasInfo() {
        return infoBuilder_ != null || info_ != null;
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       * @return The info.
       */
      public org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo getInfo() {
        if (infoBuilder_ == null) {
          return info_ == null ? org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.getDefaultInstance() : info_;
        } else {
          return infoBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public Builder setInfo(org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo value) {
        if (infoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          info_ = value;
          onChanged();
        } else {
          infoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public Builder setInfo(
          org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder builderForValue) {
        if (infoBuilder_ == null) {
          info_ = builderForValue.build();
          onChanged();
        } else {
          infoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public Builder mergeInfo(org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo value) {
        if (infoBuilder_ == null) {
          if (info_ != null) {
            info_ =
              org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.newBuilder(info_).mergeFrom(value).buildPartial();
          } else {
            info_ = value;
          }
          onChanged();
        } else {
          infoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public Builder clearInfo() {
        if (infoBuilder_ == null) {
          info_ = null;
          onChanged();
        } else {
          info_ = null;
          infoBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder getInfoBuilder() {
        
        onChanged();
        return getInfoFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      public org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder getInfoOrBuilder() {
        if (infoBuilder_ != null) {
          return infoBuilder_.getMessageOrBuilder();
        } else {
          return info_ == null ?
              org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.getDefaultInstance() : info_;
        }
      }
      /**
       * .flow.entities.NodeVersionInfo info = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder> 
          getInfoFieldBuilder() {
        if (infoBuilder_ == null) {
          infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfo.Builder, org.onflow.protobuf.entities.NodeVersionInfoOuterClass.NodeVersionInfoOrBuilder>(
                  getInfo(),
                  getParentForChildren(),
                  isClean());
          info_ = null;
        }
        return infoBuilder_;
      }
      @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.access.GetNodeVersionInfoResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetNodeVersionInfoResponse)
    private static final org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse();
    }

    public static org.onflow.protobuf.access.Access.GetNodeVersionInfoResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetLatestBlockHeaderRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetLatestBlockHeaderRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool is_sealed = 1;
     * @return The isSealed.
     */
    boolean getIsSealed();
  }
  /**
   * Protobuf type {@code flow.access.GetLatestBlockHeaderRequest}
   */
  public static final class GetLatestBlockHeaderRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetLatestBlockHeaderRequest)
      GetLatestBlockHeaderRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetLatestBlockHeaderRequest.newBuilder() to construct.
    private GetLatestBlockHeaderRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetLatestBlockHeaderRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetLatestBlockHeaderRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              isSealed_ = input.readBool();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockHeaderRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockHeaderRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.class, org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.Builder.class);
    }

    public static final int IS_SEALED_FIELD_NUMBER = 1;
    private boolean isSealed_;
    /**
     * bool is_sealed = 1;
     * @return The isSealed.
     */
    @java.lang.Override
    public boolean getIsSealed() {
      return isSealed_;
    }

    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 (isSealed_ != false) {
        output.writeBool(1, isSealed_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isSealed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, isSealed_);
      }
      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.access.Access.GetLatestBlockHeaderRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest other = (org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest) obj;

      if (getIsSealed()
          != other.getIsSealed()) 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) + IS_SEALED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsSealed());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockHeaderRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.class, org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.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();
        isSealed_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockHeaderRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest result = new org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest(this);
        result.isSealed_ = isSealed_;
        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.access.Access.GetLatestBlockHeaderRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest.getDefaultInstance()) return this;
        if (other.getIsSealed() != false) {
          setIsSealed(other.getIsSealed());
        }
        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.access.Access.GetLatestBlockHeaderRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean isSealed_ ;
      /**
       * bool is_sealed = 1;
       * @return The isSealed.
       */
      @java.lang.Override
      public boolean getIsSealed() {
        return isSealed_;
      }
      /**
       * bool is_sealed = 1;
       * @param value The isSealed to set.
       * @return This builder for chaining.
       */
      public Builder setIsSealed(boolean value) {
        
        isSealed_ = value;
        onChanged();
        return this;
      }
      /**
       * bool is_sealed = 1;
       * @return This builder for chaining.
       */
      public Builder clearIsSealed() {
        
        isSealed_ = false;
        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.access.GetLatestBlockHeaderRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetLatestBlockHeaderRequest)
    private static final org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest();
    }

    public static org.onflow.protobuf.access.Access.GetLatestBlockHeaderRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetBlockHeaderByIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetBlockHeaderByIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes id = 1;
     * @return The id.
     */
    com.google.protobuf.ByteString getId();
  }
  /**
   * Protobuf type {@code flow.access.GetBlockHeaderByIDRequest}
   */
  public static final class GetBlockHeaderByIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetBlockHeaderByIDRequest)
      GetBlockHeaderByIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetBlockHeaderByIDRequest.newBuilder() to construct.
    private GetBlockHeaderByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetBlockHeaderByIDRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetBlockHeaderByIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.class, org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetBlockHeaderByIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest other = (org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest) obj;

      if (!getId()
          .equals(other.getId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.class, org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest result = new org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest(this);
        result.id_ = id_;
        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.access.Access.GetBlockHeaderByIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        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.access.Access.GetBlockHeaderByIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetBlockHeaderByIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetBlockHeaderByIDRequest)
    private static final org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetBlockHeaderByIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetBlockHeaderByHeightRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetBlockHeaderByHeightRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * uint64 height = 1;
     * @return The height.
     */
    long getHeight();
  }
  /**
   * Protobuf type {@code flow.access.GetBlockHeaderByHeightRequest}
   */
  public static final class GetBlockHeaderByHeightRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetBlockHeaderByHeightRequest)
      GetBlockHeaderByHeightRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetBlockHeaderByHeightRequest.newBuilder() to construct.
    private GetBlockHeaderByHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetBlockHeaderByHeightRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetBlockHeaderByHeightRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              height_ = input.readUInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByHeightRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByHeightRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.class, org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.Builder.class);
    }

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

    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 (height_ != 0L) {
        output.writeUInt64(1, height_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (height_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, height_);
      }
      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.access.Access.GetBlockHeaderByHeightRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest other = (org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest) obj;

      if (getHeight()
          != other.getHeight()) 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) + HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getHeight());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByHeightRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.class, org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.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();
        height_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockHeaderByHeightRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest result = new org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest(this);
        result.height_ = height_;
        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.access.Access.GetBlockHeaderByHeightRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest.getDefaultInstance()) return this;
        if (other.getHeight() != 0L) {
          setHeight(other.getHeight());
        }
        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.access.Access.GetBlockHeaderByHeightRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long height_ ;
      /**
       * uint64 height = 1;
       * @return The height.
       */
      @java.lang.Override
      public long getHeight() {
        return height_;
      }
      /**
       * uint64 height = 1;
       * @param value The height to set.
       * @return This builder for chaining.
       */
      public Builder setHeight(long value) {
        
        height_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 height = 1;
       * @return This builder for chaining.
       */
      public Builder clearHeight() {
        
        height_ = 0L;
        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.access.GetBlockHeaderByHeightRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetBlockHeaderByHeightRequest)
    private static final org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest();
    }

    public static org.onflow.protobuf.access.Access.GetBlockHeaderByHeightRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface BlockHeaderResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.BlockHeaderResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.BlockHeader block = 1;
     * @return Whether the block field is set.
     */
    boolean hasBlock();
    /**
     * .flow.entities.BlockHeader block = 1;
     * @return The block.
     */
    org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock();
    /**
     * .flow.entities.BlockHeader block = 1;
     */
    org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder();

    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The enum numeric value on the wire for blockStatus.
     */
    int getBlockStatusValue();
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The blockStatus.
     */
    org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus();

    /**
     * .flow.entities.Metadata metadata = 3;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 3;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.BlockHeaderResponse}
   */
  public static final class BlockHeaderResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.BlockHeaderResponse)
      BlockHeaderResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BlockHeaderResponse.newBuilder() to construct.
    private BlockHeaderResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BlockHeaderResponse() {
      blockStatus_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BlockHeaderResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder subBuilder = null;
              if (block_ != null) {
                subBuilder = block_.toBuilder();
              }
              block_ = input.readMessage(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(block_);
                block_ = subBuilder.buildPartial();
              }

              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              blockStatus_ = rawValue;
              break;
            }
            case 26: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockHeaderResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockHeaderResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.BlockHeaderResponse.class, org.onflow.protobuf.access.Access.BlockHeaderResponse.Builder.class);
    }

    public static final int BLOCK_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader block_;
    /**
     * .flow.entities.BlockHeader block = 1;
     * @return Whether the block field is set.
     */
    @java.lang.Override
    public boolean hasBlock() {
      return block_ != null;
    }
    /**
     * .flow.entities.BlockHeader block = 1;
     * @return The block.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock() {
      return block_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
    }
    /**
     * .flow.entities.BlockHeader block = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder() {
      return getBlock();
    }

    public static final int BLOCK_STATUS_FIELD_NUMBER = 2;
    private int blockStatus_;
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The enum numeric value on the wire for blockStatus.
     */
    @java.lang.Override public int getBlockStatusValue() {
      return blockStatus_;
    }
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The blockStatus.
     */
    @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_);
      return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result;
    }

    public static final int METADATA_FIELD_NUMBER = 3;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 3;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (block_ != null) {
        output.writeMessage(1, getBlock());
      }
      if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) {
        output.writeEnum(2, blockStatus_);
      }
      if (metadata_ != null) {
        output.writeMessage(3, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (block_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getBlock());
      }
      if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, blockStatus_);
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getMetadata());
      }
      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.access.Access.BlockHeaderResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.BlockHeaderResponse other = (org.onflow.protobuf.access.Access.BlockHeaderResponse) obj;

      if (hasBlock() != other.hasBlock()) return false;
      if (hasBlock()) {
        if (!getBlock()
            .equals(other.getBlock())) return false;
      }
      if (blockStatus_ != other.blockStatus_) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasBlock()) {
        hash = (37 * hash) + BLOCK_FIELD_NUMBER;
        hash = (53 * hash) + getBlock().hashCode();
      }
      hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER;
      hash = (53 * hash) + blockStatus_;
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockHeaderResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.BlockHeaderResponse.class, org.onflow.protobuf.access.Access.BlockHeaderResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.BlockHeaderResponse.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();
        if (blockBuilder_ == null) {
          block_ = null;
        } else {
          block_ = null;
          blockBuilder_ = null;
        }
        blockStatus_ = 0;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockHeaderResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.BlockHeaderResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.BlockHeaderResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.BlockHeaderResponse buildPartial() {
        org.onflow.protobuf.access.Access.BlockHeaderResponse result = new org.onflow.protobuf.access.Access.BlockHeaderResponse(this);
        if (blockBuilder_ == null) {
          result.block_ = block_;
        } else {
          result.block_ = blockBuilder_.build();
        }
        result.blockStatus_ = blockStatus_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.BlockHeaderResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.BlockHeaderResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.BlockHeaderResponse other) {
        if (other == org.onflow.protobuf.access.Access.BlockHeaderResponse.getDefaultInstance()) return this;
        if (other.hasBlock()) {
          mergeBlock(other.getBlock());
        }
        if (other.blockStatus_ != 0) {
          setBlockStatusValue(other.getBlockStatusValue());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.BlockHeaderResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.BlockHeaderResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader block_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> blockBuilder_;
      /**
       * .flow.entities.BlockHeader block = 1;
       * @return Whether the block field is set.
       */
      public boolean hasBlock() {
        return blockBuilder_ != null || block_ != null;
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       * @return The block.
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock() {
        if (blockBuilder_ == null) {
          return block_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
        } else {
          return blockBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public Builder setBlock(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
        if (blockBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          block_ = value;
          onChanged();
        } else {
          blockBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public Builder setBlock(
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder builderForValue) {
        if (blockBuilder_ == null) {
          block_ = builderForValue.build();
          onChanged();
        } else {
          blockBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public Builder mergeBlock(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
        if (blockBuilder_ == null) {
          if (block_ != null) {
            block_ =
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.newBuilder(block_).mergeFrom(value).buildPartial();
          } else {
            block_ = value;
          }
          onChanged();
        } else {
          blockBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public Builder clearBlock() {
        if (blockBuilder_ == null) {
          block_ = null;
          onChanged();
        } else {
          block_ = null;
          blockBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder getBlockBuilder() {
        
        onChanged();
        return getBlockFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder() {
        if (blockBuilder_ != null) {
          return blockBuilder_.getMessageOrBuilder();
        } else {
          return block_ == null ?
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
        }
      }
      /**
       * .flow.entities.BlockHeader block = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> 
          getBlockFieldBuilder() {
        if (blockBuilder_ == null) {
          blockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder>(
                  getBlock(),
                  getParentForChildren(),
                  isClean());
          block_ = null;
        }
        return blockBuilder_;
      }

      private int blockStatus_ = 0;
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return The enum numeric value on the wire for blockStatus.
       */
      @java.lang.Override public int getBlockStatusValue() {
        return blockStatus_;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @param value The enum numeric value on the wire for blockStatus to set.
       * @return This builder for chaining.
       */
      public Builder setBlockStatusValue(int value) {
        
        blockStatus_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return The blockStatus.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_);
        return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @param value The blockStatus to set.
       * @return This builder for chaining.
       */
      public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        blockStatus_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return This builder for chaining.
       */
      public Builder clearBlockStatus() {
        
        blockStatus_ = 0;
        onChanged();
        return this;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 3;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.BlockHeaderResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.BlockHeaderResponse)
    private static final org.onflow.protobuf.access.Access.BlockHeaderResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.BlockHeaderResponse();
    }

    public static org.onflow.protobuf.access.Access.BlockHeaderResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetLatestBlockRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetLatestBlockRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool is_sealed = 1;
     * @return The isSealed.
     */
    boolean getIsSealed();

    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    boolean getFullBlockResponse();
  }
  /**
   * Protobuf type {@code flow.access.GetLatestBlockRequest}
   */
  public static final class GetLatestBlockRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetLatestBlockRequest)
      GetLatestBlockRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetLatestBlockRequest.newBuilder() to construct.
    private GetLatestBlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetLatestBlockRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetLatestBlockRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              isSealed_ = input.readBool();
              break;
            }
            case 16: {

              fullBlockResponse_ = input.readBool();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetLatestBlockRequest.class, org.onflow.protobuf.access.Access.GetLatestBlockRequest.Builder.class);
    }

    public static final int IS_SEALED_FIELD_NUMBER = 1;
    private boolean isSealed_;
    /**
     * bool is_sealed = 1;
     * @return The isSealed.
     */
    @java.lang.Override
    public boolean getIsSealed() {
      return isSealed_;
    }

    public static final int FULL_BLOCK_RESPONSE_FIELD_NUMBER = 2;
    private boolean fullBlockResponse_;
    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    @java.lang.Override
    public boolean getFullBlockResponse() {
      return fullBlockResponse_;
    }

    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 (isSealed_ != false) {
        output.writeBool(1, isSealed_);
      }
      if (fullBlockResponse_ != false) {
        output.writeBool(2, fullBlockResponse_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isSealed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, isSealed_);
      }
      if (fullBlockResponse_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, fullBlockResponse_);
      }
      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.access.Access.GetLatestBlockRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetLatestBlockRequest other = (org.onflow.protobuf.access.Access.GetLatestBlockRequest) obj;

      if (getIsSealed()
          != other.getIsSealed()) return false;
      if (getFullBlockResponse()
          != other.getFullBlockResponse()) 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) + IS_SEALED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsSealed());
      hash = (37 * hash) + FULL_BLOCK_RESPONSE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getFullBlockResponse());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetLatestBlockRequest.class, org.onflow.protobuf.access.Access.GetLatestBlockRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetLatestBlockRequest.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();
        isSealed_ = false;

        fullBlockResponse_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestBlockRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestBlockRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetLatestBlockRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestBlockRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetLatestBlockRequest result = new org.onflow.protobuf.access.Access.GetLatestBlockRequest(this);
        result.isSealed_ = isSealed_;
        result.fullBlockResponse_ = fullBlockResponse_;
        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.access.Access.GetLatestBlockRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetLatestBlockRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetLatestBlockRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetLatestBlockRequest.getDefaultInstance()) return this;
        if (other.getIsSealed() != false) {
          setIsSealed(other.getIsSealed());
        }
        if (other.getFullBlockResponse() != false) {
          setFullBlockResponse(other.getFullBlockResponse());
        }
        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.access.Access.GetLatestBlockRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetLatestBlockRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean isSealed_ ;
      /**
       * bool is_sealed = 1;
       * @return The isSealed.
       */
      @java.lang.Override
      public boolean getIsSealed() {
        return isSealed_;
      }
      /**
       * bool is_sealed = 1;
       * @param value The isSealed to set.
       * @return This builder for chaining.
       */
      public Builder setIsSealed(boolean value) {
        
        isSealed_ = value;
        onChanged();
        return this;
      }
      /**
       * bool is_sealed = 1;
       * @return This builder for chaining.
       */
      public Builder clearIsSealed() {
        
        isSealed_ = false;
        onChanged();
        return this;
      }

      private boolean fullBlockResponse_ ;
      /**
       * bool full_block_response = 2;
       * @return The fullBlockResponse.
       */
      @java.lang.Override
      public boolean getFullBlockResponse() {
        return fullBlockResponse_;
      }
      /**
       * bool full_block_response = 2;
       * @param value The fullBlockResponse to set.
       * @return This builder for chaining.
       */
      public Builder setFullBlockResponse(boolean value) {
        
        fullBlockResponse_ = value;
        onChanged();
        return this;
      }
      /**
       * bool full_block_response = 2;
       * @return This builder for chaining.
       */
      public Builder clearFullBlockResponse() {
        
        fullBlockResponse_ = false;
        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.access.GetLatestBlockRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetLatestBlockRequest)
    private static final org.onflow.protobuf.access.Access.GetLatestBlockRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetLatestBlockRequest();
    }

    public static org.onflow.protobuf.access.Access.GetLatestBlockRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetBlockByIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetBlockByIDRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    boolean getFullBlockResponse();
  }
  /**
   * Protobuf type {@code flow.access.GetBlockByIDRequest}
   */
  public static final class GetBlockByIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetBlockByIDRequest)
      GetBlockByIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetBlockByIDRequest.newBuilder() to construct.
    private GetBlockByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetBlockByIDRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetBlockByIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 16: {

              fullBlockResponse_ = input.readBool();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetBlockByIDRequest.class, org.onflow.protobuf.access.Access.GetBlockByIDRequest.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 FULL_BLOCK_RESPONSE_FIELD_NUMBER = 2;
    private boolean fullBlockResponse_;
    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    @java.lang.Override
    public boolean getFullBlockResponse() {
      return fullBlockResponse_;
    }

    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 (fullBlockResponse_ != false) {
        output.writeBool(2, fullBlockResponse_);
      }
      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 (fullBlockResponse_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, fullBlockResponse_);
      }
      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.access.Access.GetBlockByIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetBlockByIDRequest other = (org.onflow.protobuf.access.Access.GetBlockByIDRequest) obj;

      if (!getId()
          .equals(other.getId())) return false;
      if (getFullBlockResponse()
          != other.getFullBlockResponse()) 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) + FULL_BLOCK_RESPONSE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getFullBlockResponse());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetBlockByIDRequest.class, org.onflow.protobuf.access.Access.GetBlockByIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetBlockByIDRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        fullBlockResponse_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockByIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetBlockByIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockByIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetBlockByIDRequest result = new org.onflow.protobuf.access.Access.GetBlockByIDRequest(this);
        result.id_ = id_;
        result.fullBlockResponse_ = fullBlockResponse_;
        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.access.Access.GetBlockByIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetBlockByIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetBlockByIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetBlockByIDRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        if (other.getFullBlockResponse() != false) {
          setFullBlockResponse(other.getFullBlockResponse());
        }
        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.access.Access.GetBlockByIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetBlockByIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 boolean fullBlockResponse_ ;
      /**
       * bool full_block_response = 2;
       * @return The fullBlockResponse.
       */
      @java.lang.Override
      public boolean getFullBlockResponse() {
        return fullBlockResponse_;
      }
      /**
       * bool full_block_response = 2;
       * @param value The fullBlockResponse to set.
       * @return This builder for chaining.
       */
      public Builder setFullBlockResponse(boolean value) {
        
        fullBlockResponse_ = value;
        onChanged();
        return this;
      }
      /**
       * bool full_block_response = 2;
       * @return This builder for chaining.
       */
      public Builder clearFullBlockResponse() {
        
        fullBlockResponse_ = false;
        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.access.GetBlockByIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetBlockByIDRequest)
    private static final org.onflow.protobuf.access.Access.GetBlockByIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetBlockByIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetBlockByIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetBlockByHeightRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetBlockByHeightRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    boolean getFullBlockResponse();
  }
  /**
   * Protobuf type {@code flow.access.GetBlockByHeightRequest}
   */
  public static final class GetBlockByHeightRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetBlockByHeightRequest)
      GetBlockByHeightRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetBlockByHeightRequest.newBuilder() to construct.
    private GetBlockByHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetBlockByHeightRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetBlockByHeightRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              height_ = input.readUInt64();
              break;
            }
            case 16: {

              fullBlockResponse_ = input.readBool();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByHeightRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByHeightRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetBlockByHeightRequest.class, org.onflow.protobuf.access.Access.GetBlockByHeightRequest.Builder.class);
    }

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

    public static final int FULL_BLOCK_RESPONSE_FIELD_NUMBER = 2;
    private boolean fullBlockResponse_;
    /**
     * bool full_block_response = 2;
     * @return The fullBlockResponse.
     */
    @java.lang.Override
    public boolean getFullBlockResponse() {
      return fullBlockResponse_;
    }

    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 (height_ != 0L) {
        output.writeUInt64(1, height_);
      }
      if (fullBlockResponse_ != false) {
        output.writeBool(2, fullBlockResponse_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (height_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, height_);
      }
      if (fullBlockResponse_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, fullBlockResponse_);
      }
      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.access.Access.GetBlockByHeightRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetBlockByHeightRequest other = (org.onflow.protobuf.access.Access.GetBlockByHeightRequest) obj;

      if (getHeight()
          != other.getHeight()) return false;
      if (getFullBlockResponse()
          != other.getFullBlockResponse()) 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) + HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getHeight());
      hash = (37 * hash) + FULL_BLOCK_RESPONSE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getFullBlockResponse());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByHeightRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetBlockByHeightRequest.class, org.onflow.protobuf.access.Access.GetBlockByHeightRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetBlockByHeightRequest.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();
        height_ = 0L;

        fullBlockResponse_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetBlockByHeightRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockByHeightRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetBlockByHeightRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetBlockByHeightRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetBlockByHeightRequest result = new org.onflow.protobuf.access.Access.GetBlockByHeightRequest(this);
        result.height_ = height_;
        result.fullBlockResponse_ = fullBlockResponse_;
        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.access.Access.GetBlockByHeightRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetBlockByHeightRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetBlockByHeightRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetBlockByHeightRequest.getDefaultInstance()) return this;
        if (other.getHeight() != 0L) {
          setHeight(other.getHeight());
        }
        if (other.getFullBlockResponse() != false) {
          setFullBlockResponse(other.getFullBlockResponse());
        }
        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.access.Access.GetBlockByHeightRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetBlockByHeightRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private boolean fullBlockResponse_ ;
      /**
       * bool full_block_response = 2;
       * @return The fullBlockResponse.
       */
      @java.lang.Override
      public boolean getFullBlockResponse() {
        return fullBlockResponse_;
      }
      /**
       * bool full_block_response = 2;
       * @param value The fullBlockResponse to set.
       * @return This builder for chaining.
       */
      public Builder setFullBlockResponse(boolean value) {
        
        fullBlockResponse_ = value;
        onChanged();
        return this;
      }
      /**
       * bool full_block_response = 2;
       * @return This builder for chaining.
       */
      public Builder clearFullBlockResponse() {
        
        fullBlockResponse_ = false;
        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.access.GetBlockByHeightRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetBlockByHeightRequest)
    private static final org.onflow.protobuf.access.Access.GetBlockByHeightRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetBlockByHeightRequest();
    }

    public static org.onflow.protobuf.access.Access.GetBlockByHeightRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface BlockResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.BlockResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Block block = 1;
     * @return Whether the block field is set.
     */
    boolean hasBlock();
    /**
     * .flow.entities.Block block = 1;
     * @return The block.
     */
    org.onflow.protobuf.entities.BlockOuterClass.Block getBlock();
    /**
     * .flow.entities.Block block = 1;
     */
    org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder();

    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The enum numeric value on the wire for blockStatus.
     */
    int getBlockStatusValue();
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The blockStatus.
     */
    org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus();

    /**
     * .flow.entities.Metadata metadata = 3;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 3;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.BlockResponse}
   */
  public static final class BlockResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.BlockResponse)
      BlockResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BlockResponse.newBuilder() to construct.
    private BlockResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BlockResponse() {
      blockStatus_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BlockResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.BlockOuterClass.Block.Builder subBuilder = null;
              if (block_ != null) {
                subBuilder = block_.toBuilder();
              }
              block_ = input.readMessage(org.onflow.protobuf.entities.BlockOuterClass.Block.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(block_);
                block_ = subBuilder.buildPartial();
              }

              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              blockStatus_ = rawValue;
              break;
            }
            case 26: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.BlockResponse.class, org.onflow.protobuf.access.Access.BlockResponse.Builder.class);
    }

    public static final int BLOCK_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.BlockOuterClass.Block block_;
    /**
     * .flow.entities.Block block = 1;
     * @return Whether the block field is set.
     */
    @java.lang.Override
    public boolean hasBlock() {
      return block_ != null;
    }
    /**
     * .flow.entities.Block block = 1;
     * @return The block.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockOuterClass.Block getBlock() {
      return block_ == null ? org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_;
    }
    /**
     * .flow.entities.Block block = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder() {
      return getBlock();
    }

    public static final int BLOCK_STATUS_FIELD_NUMBER = 2;
    private int blockStatus_;
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The enum numeric value on the wire for blockStatus.
     */
    @java.lang.Override public int getBlockStatusValue() {
      return blockStatus_;
    }
    /**
     * .flow.entities.BlockStatus block_status = 2;
     * @return The blockStatus.
     */
    @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_);
      return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result;
    }

    public static final int METADATA_FIELD_NUMBER = 3;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 3;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 3;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (block_ != null) {
        output.writeMessage(1, getBlock());
      }
      if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) {
        output.writeEnum(2, blockStatus_);
      }
      if (metadata_ != null) {
        output.writeMessage(3, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (block_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getBlock());
      }
      if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, blockStatus_);
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getMetadata());
      }
      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.access.Access.BlockResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.BlockResponse other = (org.onflow.protobuf.access.Access.BlockResponse) obj;

      if (hasBlock() != other.hasBlock()) return false;
      if (hasBlock()) {
        if (!getBlock()
            .equals(other.getBlock())) return false;
      }
      if (blockStatus_ != other.blockStatus_) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasBlock()) {
        hash = (37 * hash) + BLOCK_FIELD_NUMBER;
        hash = (53 * hash) + getBlock().hashCode();
      }
      hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER;
      hash = (53 * hash) + blockStatus_;
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.BlockResponse.class, org.onflow.protobuf.access.Access.BlockResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.BlockResponse.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();
        if (blockBuilder_ == null) {
          block_ = null;
        } else {
          block_ = null;
          blockBuilder_ = null;
        }
        blockStatus_ = 0;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_BlockResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.BlockResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.BlockResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.BlockResponse buildPartial() {
        org.onflow.protobuf.access.Access.BlockResponse result = new org.onflow.protobuf.access.Access.BlockResponse(this);
        if (blockBuilder_ == null) {
          result.block_ = block_;
        } else {
          result.block_ = blockBuilder_.build();
        }
        result.blockStatus_ = blockStatus_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.BlockResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.BlockResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.BlockResponse other) {
        if (other == org.onflow.protobuf.access.Access.BlockResponse.getDefaultInstance()) return this;
        if (other.hasBlock()) {
          mergeBlock(other.getBlock());
        }
        if (other.blockStatus_ != 0) {
          setBlockStatusValue(other.getBlockStatusValue());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.BlockResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.BlockResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.BlockOuterClass.Block block_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder> blockBuilder_;
      /**
       * .flow.entities.Block block = 1;
       * @return Whether the block field is set.
       */
      public boolean hasBlock() {
        return blockBuilder_ != null || block_ != null;
      }
      /**
       * .flow.entities.Block block = 1;
       * @return The block.
       */
      public org.onflow.protobuf.entities.BlockOuterClass.Block getBlock() {
        if (blockBuilder_ == null) {
          return block_ == null ? org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_;
        } else {
          return blockBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public Builder setBlock(org.onflow.protobuf.entities.BlockOuterClass.Block value) {
        if (blockBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          block_ = value;
          onChanged();
        } else {
          blockBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public Builder setBlock(
          org.onflow.protobuf.entities.BlockOuterClass.Block.Builder builderForValue) {
        if (blockBuilder_ == null) {
          block_ = builderForValue.build();
          onChanged();
        } else {
          blockBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public Builder mergeBlock(org.onflow.protobuf.entities.BlockOuterClass.Block value) {
        if (blockBuilder_ == null) {
          if (block_ != null) {
            block_ =
              org.onflow.protobuf.entities.BlockOuterClass.Block.newBuilder(block_).mergeFrom(value).buildPartial();
          } else {
            block_ = value;
          }
          onChanged();
        } else {
          blockBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public Builder clearBlock() {
        if (blockBuilder_ == null) {
          block_ = null;
          onChanged();
        } else {
          block_ = null;
          blockBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public org.onflow.protobuf.entities.BlockOuterClass.Block.Builder getBlockBuilder() {
        
        onChanged();
        return getBlockFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Block block = 1;
       */
      public org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder() {
        if (blockBuilder_ != null) {
          return blockBuilder_.getMessageOrBuilder();
        } else {
          return block_ == null ?
              org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_;
        }
      }
      /**
       * .flow.entities.Block block = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder> 
          getBlockFieldBuilder() {
        if (blockBuilder_ == null) {
          blockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder>(
                  getBlock(),
                  getParentForChildren(),
                  isClean());
          block_ = null;
        }
        return blockBuilder_;
      }

      private int blockStatus_ = 0;
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return The enum numeric value on the wire for blockStatus.
       */
      @java.lang.Override public int getBlockStatusValue() {
        return blockStatus_;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @param value The enum numeric value on the wire for blockStatus to set.
       * @return This builder for chaining.
       */
      public Builder setBlockStatusValue(int value) {
        
        blockStatus_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return The blockStatus.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_);
        return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @param value The blockStatus to set.
       * @return This builder for chaining.
       */
      public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        blockStatus_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.BlockStatus block_status = 2;
       * @return This builder for chaining.
       */
      public Builder clearBlockStatus() {
        
        blockStatus_ = 0;
        onChanged();
        return this;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 3;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.BlockResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.BlockResponse)
    private static final org.onflow.protobuf.access.Access.BlockResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.BlockResponse();
    }

    public static org.onflow.protobuf.access.Access.BlockResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetCollectionByIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetCollectionByIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes id = 1;
     * @return The id.
     */
    com.google.protobuf.ByteString getId();
  }
  /**
   * Protobuf type {@code flow.access.GetCollectionByIDRequest}
   */
  public static final class GetCollectionByIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetCollectionByIDRequest)
      GetCollectionByIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetCollectionByIDRequest.newBuilder() to construct.
    private GetCollectionByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetCollectionByIDRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetCollectionByIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetCollectionByIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetCollectionByIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetCollectionByIDRequest.class, org.onflow.protobuf.access.Access.GetCollectionByIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetCollectionByIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetCollectionByIDRequest other = (org.onflow.protobuf.access.Access.GetCollectionByIDRequest) obj;

      if (!getId()
          .equals(other.getId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetCollectionByIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetCollectionByIDRequest.class, org.onflow.protobuf.access.Access.GetCollectionByIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetCollectionByIDRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetCollectionByIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetCollectionByIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetCollectionByIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetCollectionByIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetCollectionByIDRequest result = new org.onflow.protobuf.access.Access.GetCollectionByIDRequest(this);
        result.id_ = id_;
        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.access.Access.GetCollectionByIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetCollectionByIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetCollectionByIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetCollectionByIDRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        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.access.Access.GetCollectionByIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetCollectionByIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetCollectionByIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetCollectionByIDRequest)
    private static final org.onflow.protobuf.access.Access.GetCollectionByIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetCollectionByIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetCollectionByIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetFullCollectionByIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetFullCollectionByIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes id = 1;
     * @return The id.
     */
    com.google.protobuf.ByteString getId();
  }
  /**
   * Protobuf type {@code flow.access.GetFullCollectionByIDRequest}
   */
  public static final class GetFullCollectionByIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetFullCollectionByIDRequest)
      GetFullCollectionByIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetFullCollectionByIDRequest.newBuilder() to construct.
    private GetFullCollectionByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetFullCollectionByIDRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetFullCollectionByIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetFullCollectionByIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetFullCollectionByIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.class, org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetFullCollectionByIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest other = (org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest) obj;

      if (!getId()
          .equals(other.getId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetFullCollectionByIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.class, org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetFullCollectionByIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest result = new org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest(this);
        result.id_ = id_;
        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.access.Access.GetFullCollectionByIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        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.access.Access.GetFullCollectionByIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetFullCollectionByIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetFullCollectionByIDRequest)
    private static final org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetFullCollectionByIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface CollectionResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.CollectionResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Collection collection = 1;
     * @return Whether the collection field is set.
     */
    boolean hasCollection();
    /**
     * .flow.entities.Collection collection = 1;
     * @return The collection.
     */
    org.onflow.protobuf.entities.CollectionOuterClass.Collection getCollection();
    /**
     * .flow.entities.Collection collection = 1;
     */
    org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder getCollectionOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.CollectionResponse}
   */
  public static final class CollectionResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.CollectionResponse)
      CollectionResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CollectionResponse.newBuilder() to construct.
    private CollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CollectionResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CollectionResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder subBuilder = null;
              if (collection_ != null) {
                subBuilder = collection_.toBuilder();
              }
              collection_ = input.readMessage(org.onflow.protobuf.entities.CollectionOuterClass.Collection.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(collection_);
                collection_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_CollectionResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_CollectionResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.CollectionResponse.class, org.onflow.protobuf.access.Access.CollectionResponse.Builder.class);
    }

    public static final int COLLECTION_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.CollectionOuterClass.Collection collection_;
    /**
     * .flow.entities.Collection collection = 1;
     * @return Whether the collection field is set.
     */
    @java.lang.Override
    public boolean hasCollection() {
      return collection_ != null;
    }
    /**
     * .flow.entities.Collection collection = 1;
     * @return The collection.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.CollectionOuterClass.Collection getCollection() {
      return collection_ == null ? org.onflow.protobuf.entities.CollectionOuterClass.Collection.getDefaultInstance() : collection_;
    }
    /**
     * .flow.entities.Collection collection = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder getCollectionOrBuilder() {
      return getCollection();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (collection_ != null) {
        output.writeMessage(1, getCollection());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (collection_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getCollection());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.CollectionResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.CollectionResponse other = (org.onflow.protobuf.access.Access.CollectionResponse) obj;

      if (hasCollection() != other.hasCollection()) return false;
      if (hasCollection()) {
        if (!getCollection()
            .equals(other.getCollection())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasCollection()) {
        hash = (37 * hash) + COLLECTION_FIELD_NUMBER;
        hash = (53 * hash) + getCollection().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_CollectionResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.CollectionResponse.class, org.onflow.protobuf.access.Access.CollectionResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.CollectionResponse.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();
        if (collectionBuilder_ == null) {
          collection_ = null;
        } else {
          collection_ = null;
          collectionBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_CollectionResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.CollectionResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.CollectionResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.CollectionResponse buildPartial() {
        org.onflow.protobuf.access.Access.CollectionResponse result = new org.onflow.protobuf.access.Access.CollectionResponse(this);
        if (collectionBuilder_ == null) {
          result.collection_ = collection_;
        } else {
          result.collection_ = collectionBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.CollectionResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.CollectionResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.CollectionResponse other) {
        if (other == org.onflow.protobuf.access.Access.CollectionResponse.getDefaultInstance()) return this;
        if (other.hasCollection()) {
          mergeCollection(other.getCollection());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.CollectionResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.CollectionResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.CollectionOuterClass.Collection collection_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.CollectionOuterClass.Collection, org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder> collectionBuilder_;
      /**
       * .flow.entities.Collection collection = 1;
       * @return Whether the collection field is set.
       */
      public boolean hasCollection() {
        return collectionBuilder_ != null || collection_ != null;
      }
      /**
       * .flow.entities.Collection collection = 1;
       * @return The collection.
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.Collection getCollection() {
        if (collectionBuilder_ == null) {
          return collection_ == null ? org.onflow.protobuf.entities.CollectionOuterClass.Collection.getDefaultInstance() : collection_;
        } else {
          return collectionBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public Builder setCollection(org.onflow.protobuf.entities.CollectionOuterClass.Collection value) {
        if (collectionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          collection_ = value;
          onChanged();
        } else {
          collectionBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public Builder setCollection(
          org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder builderForValue) {
        if (collectionBuilder_ == null) {
          collection_ = builderForValue.build();
          onChanged();
        } else {
          collectionBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public Builder mergeCollection(org.onflow.protobuf.entities.CollectionOuterClass.Collection value) {
        if (collectionBuilder_ == null) {
          if (collection_ != null) {
            collection_ =
              org.onflow.protobuf.entities.CollectionOuterClass.Collection.newBuilder(collection_).mergeFrom(value).buildPartial();
          } else {
            collection_ = value;
          }
          onChanged();
        } else {
          collectionBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public Builder clearCollection() {
        if (collectionBuilder_ == null) {
          collection_ = null;
          onChanged();
        } else {
          collection_ = null;
          collectionBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder getCollectionBuilder() {
        
        onChanged();
        return getCollectionFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      public org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder getCollectionOrBuilder() {
        if (collectionBuilder_ != null) {
          return collectionBuilder_.getMessageOrBuilder();
        } else {
          return collection_ == null ?
              org.onflow.protobuf.entities.CollectionOuterClass.Collection.getDefaultInstance() : collection_;
        }
      }
      /**
       * .flow.entities.Collection collection = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.CollectionOuterClass.Collection, org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder> 
          getCollectionFieldBuilder() {
        if (collectionBuilder_ == null) {
          collectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.CollectionOuterClass.Collection, org.onflow.protobuf.entities.CollectionOuterClass.Collection.Builder, org.onflow.protobuf.entities.CollectionOuterClass.CollectionOrBuilder>(
                  getCollection(),
                  getParentForChildren(),
                  isClean());
          collection_ = null;
        }
        return collectionBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.CollectionResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.CollectionResponse)
    private static final org.onflow.protobuf.access.Access.CollectionResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.CollectionResponse();
    }

    public static org.onflow.protobuf.access.Access.CollectionResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface FullCollectionResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.FullCollectionResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    java.util.List 
        getTransactionsList();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index);
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    int getTransactionsCount();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    java.util.List 
        getTransactionsOrBuilderList();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
        int index);

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.FullCollectionResponse}
   */
  public static final class FullCollectionResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.FullCollectionResponse)
      FullCollectionResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FullCollectionResponse.newBuilder() to construct.
    private FullCollectionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private FullCollectionResponse() {
      transactions_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FullCollectionResponse(
        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)) {
                transactions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              transactions_.add(
                  input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry));
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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)) {
          transactions_ = java.util.Collections.unmodifiableList(transactions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_FullCollectionResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_FullCollectionResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.FullCollectionResponse.class, org.onflow.protobuf.access.Access.FullCollectionResponse.Builder.class);
    }

    public static final int TRANSACTIONS_FIELD_NUMBER = 1;
    private java.util.List transactions_;
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public java.util.List getTransactionsList() {
      return transactions_;
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public java.util.List 
        getTransactionsOrBuilderList() {
      return transactions_;
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public int getTransactionsCount() {
      return transactions_.size();
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index) {
      return transactions_.get(index);
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
        int index) {
      return transactions_.get(index);
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 < transactions_.size(); i++) {
        output.writeMessage(1, transactions_.get(i));
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < transactions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, transactions_.get(i));
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.FullCollectionResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.FullCollectionResponse other = (org.onflow.protobuf.access.Access.FullCollectionResponse) obj;

      if (!getTransactionsList()
          .equals(other.getTransactionsList())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (getTransactionsCount() > 0) {
        hash = (37 * hash) + TRANSACTIONS_FIELD_NUMBER;
        hash = (53 * hash) + getTransactionsList().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_FullCollectionResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.FullCollectionResponse.class, org.onflow.protobuf.access.Access.FullCollectionResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.FullCollectionResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTransactionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (transactionsBuilder_ == null) {
          transactions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          transactionsBuilder_.clear();
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_FullCollectionResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.FullCollectionResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.FullCollectionResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.FullCollectionResponse buildPartial() {
        org.onflow.protobuf.access.Access.FullCollectionResponse result = new org.onflow.protobuf.access.Access.FullCollectionResponse(this);
        int from_bitField0_ = bitField0_;
        if (transactionsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            transactions_ = java.util.Collections.unmodifiableList(transactions_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.transactions_ = transactions_;
        } else {
          result.transactions_ = transactionsBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.FullCollectionResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.FullCollectionResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.FullCollectionResponse other) {
        if (other == org.onflow.protobuf.access.Access.FullCollectionResponse.getDefaultInstance()) return this;
        if (transactionsBuilder_ == null) {
          if (!other.transactions_.isEmpty()) {
            if (transactions_.isEmpty()) {
              transactions_ = other.transactions_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTransactionsIsMutable();
              transactions_.addAll(other.transactions_);
            }
            onChanged();
          }
        } else {
          if (!other.transactions_.isEmpty()) {
            if (transactionsBuilder_.isEmpty()) {
              transactionsBuilder_.dispose();
              transactionsBuilder_ = null;
              transactions_ = other.transactions_;
              bitField0_ = (bitField0_ & ~0x00000001);
              transactionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTransactionsFieldBuilder() : null;
            } else {
              transactionsBuilder_.addAllMessages(other.transactions_);
            }
          }
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.FullCollectionResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.FullCollectionResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionsBuilder_;

      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List getTransactionsList() {
        if (transactionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(transactions_);
        } else {
          return transactionsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public int getTransactionsCount() {
        if (transactionsBuilder_ == null) {
          return transactions_.size();
        } else {
          return transactionsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index) {
        if (transactionsBuilder_ == null) {
          return transactions_.get(index);
        } else {
          return transactionsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder setTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.set(index, value);
          onChanged();
        } else {
          transactionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder setTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.set(index, builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.add(value);
          onChanged();
        } else {
          transactionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.add(index, value);
          onChanged();
        } else {
          transactionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.add(builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.add(index, builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addAllTransactions(
          java.lang.Iterable values) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, transactions_);
          onChanged();
        } else {
          transactionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder clearTransactions() {
        if (transactionsBuilder_ == null) {
          transactions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          transactionsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder removeTransactions(int index) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.remove(index);
          onChanged();
        } else {
          transactionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder getTransactionsBuilder(
          int index) {
        return getTransactionsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
          int index) {
        if (transactionsBuilder_ == null) {
          return transactions_.get(index);  } else {
          return transactionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List 
           getTransactionsOrBuilderList() {
        if (transactionsBuilder_ != null) {
          return transactionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(transactions_);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder addTransactionsBuilder() {
        return getTransactionsFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder addTransactionsBuilder(
          int index) {
        return getTransactionsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List 
           getTransactionsBuilderList() {
        return getTransactionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> 
          getTransactionsFieldBuilder() {
        if (transactionsBuilder_ == null) {
          transactionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder>(
                  transactions_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          transactions_ = null;
        }
        return transactionsBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.FullCollectionResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.FullCollectionResponse)
    private static final org.onflow.protobuf.access.Access.FullCollectionResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.FullCollectionResponse();
    }

    public static org.onflow.protobuf.access.Access.FullCollectionResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface SendTransactionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.SendTransactionRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Transaction transaction = 1;
     * @return Whether the transaction field is set.
     */
    boolean hasTransaction();
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return The transaction.
     */
    org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction();
    /**
     * .flow.entities.Transaction transaction = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.SendTransactionRequest}
   */
  public static final class SendTransactionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.SendTransactionRequest)
      SendTransactionRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SendTransactionRequest.newBuilder() to construct.
    private SendTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SendTransactionRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SendTransactionRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder subBuilder = null;
              if (transaction_ != null) {
                subBuilder = transaction_.toBuilder();
              }
              transaction_ = input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(transaction_);
                transaction_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.SendTransactionRequest.class, org.onflow.protobuf.access.Access.SendTransactionRequest.Builder.class);
    }

    public static final int TRANSACTION_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_;
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return Whether the transaction field is set.
     */
    @java.lang.Override
    public boolean hasTransaction() {
      return transaction_ != null;
    }
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return The transaction.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() {
      return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
    }
    /**
     * .flow.entities.Transaction transaction = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
      return getTransaction();
    }

    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 (transaction_ != null) {
        output.writeMessage(1, getTransaction());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (transaction_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTransaction());
      }
      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.access.Access.SendTransactionRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.SendTransactionRequest other = (org.onflow.protobuf.access.Access.SendTransactionRequest) obj;

      if (hasTransaction() != other.hasTransaction()) return false;
      if (hasTransaction()) {
        if (!getTransaction()
            .equals(other.getTransaction())) 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 (hasTransaction()) {
        hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
        hash = (53 * hash) + getTransaction().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.SendTransactionRequest.class, org.onflow.protobuf.access.Access.SendTransactionRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.SendTransactionRequest.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();
        if (transactionBuilder_ == null) {
          transaction_ = null;
        } else {
          transaction_ = null;
          transactionBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.SendTransactionRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.SendTransactionRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.SendTransactionRequest buildPartial() {
        org.onflow.protobuf.access.Access.SendTransactionRequest result = new org.onflow.protobuf.access.Access.SendTransactionRequest(this);
        if (transactionBuilder_ == null) {
          result.transaction_ = transaction_;
        } else {
          result.transaction_ = transactionBuilder_.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.access.Access.SendTransactionRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.SendTransactionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.SendTransactionRequest other) {
        if (other == org.onflow.protobuf.access.Access.SendTransactionRequest.getDefaultInstance()) return this;
        if (other.hasTransaction()) {
          mergeTransaction(other.getTransaction());
        }
        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.access.Access.SendTransactionRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.SendTransactionRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionBuilder_;
      /**
       * .flow.entities.Transaction transaction = 1;
       * @return Whether the transaction field is set.
       */
      public boolean hasTransaction() {
        return transactionBuilder_ != null || transaction_ != null;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       * @return The transaction.
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() {
        if (transactionBuilder_ == null) {
          return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
        } else {
          return transactionBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder setTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          transaction_ = value;
          onChanged();
        } else {
          transactionBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder setTransaction(
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionBuilder_ == null) {
          transaction_ = builderForValue.build();
          onChanged();
        } else {
          transactionBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder mergeTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionBuilder_ == null) {
          if (transaction_ != null) {
            transaction_ =
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
          } else {
            transaction_ = value;
          }
          onChanged();
        } else {
          transactionBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder clearTransaction() {
        if (transactionBuilder_ == null) {
          transaction_ = null;
          onChanged();
        } else {
          transaction_ = null;
          transactionBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder getTransactionBuilder() {
        
        onChanged();
        return getTransactionFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
        if (transactionBuilder_ != null) {
          return transactionBuilder_.getMessageOrBuilder();
        } else {
          return transaction_ == null ?
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
        }
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> 
          getTransactionFieldBuilder() {
        if (transactionBuilder_ == null) {
          transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder>(
                  getTransaction(),
                  getParentForChildren(),
                  isClean());
          transaction_ = null;
        }
        return transactionBuilder_;
      }
      @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.access.SendTransactionRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.SendTransactionRequest)
    private static final org.onflow.protobuf.access.Access.SendTransactionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SendTransactionRequest();
    }

    public static org.onflow.protobuf.access.Access.SendTransactionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface SendTransactionResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.SendTransactionResponse)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.SendTransactionResponse}
   */
  public static final class SendTransactionResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.SendTransactionResponse)
      SendTransactionResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SendTransactionResponse.newBuilder() to construct.
    private SendTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SendTransactionResponse() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SendTransactionResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.SendTransactionResponse.class, org.onflow.protobuf.access.Access.SendTransactionResponse.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 METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      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 (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.SendTransactionResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.SendTransactionResponse other = (org.onflow.protobuf.access.Access.SendTransactionResponse) obj;

      if (!getId()
          .equals(other.getId())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.SendTransactionResponse.class, org.onflow.protobuf.access.Access.SendTransactionResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.SendTransactionResponse.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_SendTransactionResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.SendTransactionResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.SendTransactionResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.SendTransactionResponse buildPartial() {
        org.onflow.protobuf.access.Access.SendTransactionResponse result = new org.onflow.protobuf.access.Access.SendTransactionResponse(this);
        result.id_ = id_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.SendTransactionResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.SendTransactionResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.SendTransactionResponse other) {
        if (other == org.onflow.protobuf.access.Access.SendTransactionResponse.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.SendTransactionResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.SendTransactionResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.SendTransactionResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.SendTransactionResponse)
    private static final org.onflow.protobuf.access.Access.SendTransactionResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SendTransactionResponse();
    }

    public static org.onflow.protobuf.access.Access.SendTransactionResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetTransactionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetTransactionRequest)
      com.google.protobuf.MessageOrBuilder {

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

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

    /**
     * bytes collection_id = 3;
     * @return The collectionId.
     */
    com.google.protobuf.ByteString getCollectionId();

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetTransactionRequest}
   */
  public static final class GetTransactionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetTransactionRequest)
      GetTransactionRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetTransactionRequest.newBuilder() to construct.
    private GetTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetTransactionRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      collectionId_ = com.google.protobuf.ByteString.EMPTY;
      eventEncodingVersion_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetTransactionRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

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

              collectionId_ = input.readBytes();
              break;
            }
            case 32: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetTransactionRequest.class, org.onflow.protobuf.access.Access.GetTransactionRequest.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 BLOCK_ID_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString blockId_;
    /**
     * bytes block_id = 2;
     * @return The blockId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getBlockId() {
      return blockId_;
    }

    public static final int COLLECTION_ID_FIELD_NUMBER = 3;
    private com.google.protobuf.ByteString collectionId_;
    /**
     * bytes collection_id = 3;
     * @return The collectionId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getCollectionId() {
      return collectionId_;
    }

    public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 4;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (!blockId_.isEmpty()) {
        output.writeBytes(2, blockId_);
      }
      if (!collectionId_.isEmpty()) {
        output.writeBytes(3, collectionId_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(4, eventEncodingVersion_);
      }
      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 (!blockId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, blockId_);
      }
      if (!collectionId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, collectionId_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, eventEncodingVersion_);
      }
      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.access.Access.GetTransactionRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetTransactionRequest other = (org.onflow.protobuf.access.Access.GetTransactionRequest) obj;

      if (!getId()
          .equals(other.getId())) return false;
      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (!getCollectionId()
          .equals(other.getCollectionId())) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + BLOCK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getBlockId().hashCode();
      hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getCollectionId().hashCode();
      hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetTransactionRequest.class, org.onflow.protobuf.access.Access.GetTransactionRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetTransactionRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

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

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

        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetTransactionRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetTransactionRequest result = new org.onflow.protobuf.access.Access.GetTransactionRequest(this);
        result.id_ = id_;
        result.blockId_ = blockId_;
        result.collectionId_ = collectionId_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetTransactionRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetTransactionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetTransactionRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetTransactionRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.getCollectionId() != com.google.protobuf.ByteString.EMPTY) {
          setCollectionId(other.getCollectionId());
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetTransactionRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetTransactionRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 blockId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes block_id = 2;
       * @return The blockId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getBlockId() {
        return blockId_;
      }
      /**
       * bytes block_id = 2;
       * @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 = 2;
       * @return This builder for chaining.
       */
      public Builder clearBlockId() {
        
        blockId_ = getDefaultInstance().getBlockId();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString collectionId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes collection_id = 3;
       * @return The collectionId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getCollectionId() {
        return collectionId_;
      }
      /**
       * bytes collection_id = 3;
       * @param value The collectionId to set.
       * @return This builder for chaining.
       */
      public Builder setCollectionId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        collectionId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes collection_id = 3;
       * @return This builder for chaining.
       */
      public Builder clearCollectionId() {
        
        collectionId_ = getDefaultInstance().getCollectionId();
        onChanged();
        return this;
      }

      private int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetTransactionRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetTransactionRequest)
    private static final org.onflow.protobuf.access.Access.GetTransactionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetTransactionRequest();
    }

    public static org.onflow.protobuf.access.Access.GetTransactionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetSystemTransactionRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetSystemTransactionRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes block_id = 1;
     * @return The blockId.
     */
    com.google.protobuf.ByteString getBlockId();
  }
  /**
   * Protobuf type {@code flow.access.GetSystemTransactionRequest}
   */
  public static final class GetSystemTransactionRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetSystemTransactionRequest)
      GetSystemTransactionRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetSystemTransactionRequest.newBuilder() to construct.
    private GetSystemTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetSystemTransactionRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetSystemTransactionRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetSystemTransactionRequest.class, org.onflow.protobuf.access.Access.GetSystemTransactionRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetSystemTransactionRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetSystemTransactionRequest other = (org.onflow.protobuf.access.Access.GetSystemTransactionRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetSystemTransactionRequest.class, org.onflow.protobuf.access.Access.GetSystemTransactionRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetSystemTransactionRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetSystemTransactionRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetSystemTransactionRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetSystemTransactionRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetSystemTransactionRequest result = new org.onflow.protobuf.access.Access.GetSystemTransactionRequest(this);
        result.blockId_ = blockId_;
        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.access.Access.GetSystemTransactionRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetSystemTransactionRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetSystemTransactionRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetSystemTransactionRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        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.access.Access.GetSystemTransactionRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetSystemTransactionRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetSystemTransactionRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetSystemTransactionRequest)
    private static final org.onflow.protobuf.access.Access.GetSystemTransactionRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetSystemTransactionRequest();
    }

    public static org.onflow.protobuf.access.Access.GetSystemTransactionRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetSystemTransactionResultRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetSystemTransactionResultRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetSystemTransactionResultRequest}
   */
  public static final class GetSystemTransactionResultRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetSystemTransactionResultRequest)
      GetSystemTransactionResultRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetSystemTransactionResultRequest.newBuilder() to construct.
    private GetSystemTransactionResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetSystemTransactionResultRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      eventEncodingVersion_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetSystemTransactionResultRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 16: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionResultRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionResultRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.class, org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.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 EVENT_ENCODING_VERSION_FIELD_NUMBER = 2;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(2, eventEncodingVersion_);
      }
      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 (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, eventEncodingVersion_);
      }
      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.access.Access.GetSystemTransactionResultRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest other = (org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionResultRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.class, org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetSystemTransactionResultRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest result = new org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest(this);
        result.blockId_ = blockId_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetSystemTransactionResultRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetSystemTransactionResultRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetSystemTransactionResultRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetSystemTransactionResultRequest)
    private static final org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest();
    }

    public static org.onflow.protobuf.access.Access.GetSystemTransactionResultRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetTransactionByIndexRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetTransactionByIndexRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * uint32 index = 2;
     * @return The index.
     */
    int getIndex();

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetTransactionByIndexRequest}
   */
  public static final class GetTransactionByIndexRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetTransactionByIndexRequest)
      GetTransactionByIndexRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetTransactionByIndexRequest.newBuilder() to construct.
    private GetTransactionByIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetTransactionByIndexRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      eventEncodingVersion_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetTransactionByIndexRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 16: {

              index_ = input.readUInt32();
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionByIndexRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionByIndexRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.class, org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.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 INDEX_FIELD_NUMBER = 2;
    private int index_;
    /**
     * uint32 index = 2;
     * @return The index.
     */
    @java.lang.Override
    public int getIndex() {
      return index_;
    }

    public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 3;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (index_ != 0) {
        output.writeUInt32(2, index_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(3, eventEncodingVersion_);
      }
      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 (index_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, index_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, eventEncodingVersion_);
      }
      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.access.Access.GetTransactionByIndexRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetTransactionByIndexRequest other = (org.onflow.protobuf.access.Access.GetTransactionByIndexRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (getIndex()
          != other.getIndex()) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + INDEX_FIELD_NUMBER;
      hash = (53 * hash) + getIndex();
      hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionByIndexRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.class, org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        index_ = 0;

        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionByIndexRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionByIndexRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionByIndexRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetTransactionByIndexRequest result = new org.onflow.protobuf.access.Access.GetTransactionByIndexRequest(this);
        result.blockId_ = blockId_;
        result.index_ = index_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetTransactionByIndexRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetTransactionByIndexRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetTransactionByIndexRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetTransactionByIndexRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.getIndex() != 0) {
          setIndex(other.getIndex());
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetTransactionByIndexRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetTransactionByIndexRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 int index_ ;
      /**
       * uint32 index = 2;
       * @return The index.
       */
      @java.lang.Override
      public int getIndex() {
        return index_;
      }
      /**
       * uint32 index = 2;
       * @param value The index to set.
       * @return This builder for chaining.
       */
      public Builder setIndex(int value) {
        
        index_ = value;
        onChanged();
        return this;
      }
      /**
       * uint32 index = 2;
       * @return This builder for chaining.
       */
      public Builder clearIndex() {
        
        index_ = 0;
        onChanged();
        return this;
      }

      private int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetTransactionByIndexRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetTransactionByIndexRequest)
    private static final org.onflow.protobuf.access.Access.GetTransactionByIndexRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetTransactionByIndexRequest();
    }

    public static org.onflow.protobuf.access.Access.GetTransactionByIndexRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetTransactionsByBlockIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetTransactionsByBlockIDRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetTransactionsByBlockIDRequest}
   */
  public static final class GetTransactionsByBlockIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetTransactionsByBlockIDRequest)
      GetTransactionsByBlockIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetTransactionsByBlockIDRequest.newBuilder() to construct.
    private GetTransactionsByBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetTransactionsByBlockIDRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      eventEncodingVersion_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetTransactionsByBlockIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 16: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionsByBlockIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionsByBlockIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.class, org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.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 EVENT_ENCODING_VERSION_FIELD_NUMBER = 2;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 2;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(2, eventEncodingVersion_);
      }
      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 (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, eventEncodingVersion_);
      }
      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.access.Access.GetTransactionsByBlockIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest other = (org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionsByBlockIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.class, org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetTransactionsByBlockIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest result = new org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest(this);
        result.blockId_ = blockId_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetTransactionsByBlockIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetTransactionsByBlockIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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 int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 2;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetTransactionsByBlockIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetTransactionsByBlockIDRequest)
    private static final org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetTransactionsByBlockIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface TransactionResultsResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.TransactionResultsResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    java.util.List 
        getTransactionResultsList();
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults(int index);
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    int getTransactionResultsCount();
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    java.util.List 
        getTransactionResultsOrBuilderList();
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
        int index);

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.TransactionResultsResponse}
   */
  public static final class TransactionResultsResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.TransactionResultsResponse)
      TransactionResultsResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TransactionResultsResponse.newBuilder() to construct.
    private TransactionResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TransactionResultsResponse() {
      transactionResults_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TransactionResultsResponse(
        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)) {
                transactionResults_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              transactionResults_.add(
                  input.readMessage(org.onflow.protobuf.access.Access.TransactionResultResponse.parser(), extensionRegistry));
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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)) {
          transactionResults_ = java.util.Collections.unmodifiableList(transactionResults_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultsResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.TransactionResultsResponse.class, org.onflow.protobuf.access.Access.TransactionResultsResponse.Builder.class);
    }

    public static final int TRANSACTION_RESULTS_FIELD_NUMBER = 1;
    private java.util.List transactionResults_;
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    @java.lang.Override
    public java.util.List getTransactionResultsList() {
      return transactionResults_;
    }
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    @java.lang.Override
    public java.util.List 
        getTransactionResultsOrBuilderList() {
      return transactionResults_;
    }
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    @java.lang.Override
    public int getTransactionResultsCount() {
      return transactionResults_.size();
    }
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults(int index) {
      return transactionResults_.get(index);
    }
    /**
     * repeated .flow.access.TransactionResultResponse transaction_results = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
        int index) {
      return transactionResults_.get(index);
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 < transactionResults_.size(); i++) {
        output.writeMessage(1, transactionResults_.get(i));
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < transactionResults_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, transactionResults_.get(i));
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.TransactionResultsResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.TransactionResultsResponse other = (org.onflow.protobuf.access.Access.TransactionResultsResponse) obj;

      if (!getTransactionResultsList()
          .equals(other.getTransactionResultsList())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (getTransactionResultsCount() > 0) {
        hash = (37 * hash) + TRANSACTION_RESULTS_FIELD_NUMBER;
        hash = (53 * hash) + getTransactionResultsList().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultsResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.TransactionResultsResponse.class, org.onflow.protobuf.access.Access.TransactionResultsResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.TransactionResultsResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTransactionResultsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (transactionResultsBuilder_ == null) {
          transactionResults_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          transactionResultsBuilder_.clear();
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultsResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResultsResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.TransactionResultsResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResultsResponse buildPartial() {
        org.onflow.protobuf.access.Access.TransactionResultsResponse result = new org.onflow.protobuf.access.Access.TransactionResultsResponse(this);
        int from_bitField0_ = bitField0_;
        if (transactionResultsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            transactionResults_ = java.util.Collections.unmodifiableList(transactionResults_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.transactionResults_ = transactionResults_;
        } else {
          result.transactionResults_ = transactionResultsBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.TransactionResultsResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.TransactionResultsResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.TransactionResultsResponse other) {
        if (other == org.onflow.protobuf.access.Access.TransactionResultsResponse.getDefaultInstance()) return this;
        if (transactionResultsBuilder_ == null) {
          if (!other.transactionResults_.isEmpty()) {
            if (transactionResults_.isEmpty()) {
              transactionResults_ = other.transactionResults_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTransactionResultsIsMutable();
              transactionResults_.addAll(other.transactionResults_);
            }
            onChanged();
          }
        } else {
          if (!other.transactionResults_.isEmpty()) {
            if (transactionResultsBuilder_.isEmpty()) {
              transactionResultsBuilder_.dispose();
              transactionResultsBuilder_ = null;
              transactionResults_ = other.transactionResults_;
              bitField0_ = (bitField0_ & ~0x00000001);
              transactionResultsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTransactionResultsFieldBuilder() : null;
            } else {
              transactionResultsBuilder_.addAllMessages(other.transactionResults_);
            }
          }
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.TransactionResultsResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.TransactionResultsResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder> transactionResultsBuilder_;

      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public java.util.List getTransactionResultsList() {
        if (transactionResultsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(transactionResults_);
        } else {
          return transactionResultsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public int getTransactionResultsCount() {
        if (transactionResultsBuilder_ == null) {
          return transactionResults_.size();
        } else {
          return transactionResultsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults(int index) {
        if (transactionResultsBuilder_ == null) {
          return transactionResults_.get(index);
        } else {
          return transactionResultsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder setTransactionResults(
          int index, org.onflow.protobuf.access.Access.TransactionResultResponse value) {
        if (transactionResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionResultsIsMutable();
          transactionResults_.set(index, value);
          onChanged();
        } else {
          transactionResultsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder setTransactionResults(
          int index, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder builderForValue) {
        if (transactionResultsBuilder_ == null) {
          ensureTransactionResultsIsMutable();
          transactionResults_.set(index, builderForValue.build());
          onChanged();
        } else {
          transactionResultsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder addTransactionResults(org.onflow.protobuf.access.Access.TransactionResultResponse value) {
        if (transactionResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionResultsIsMutable();
          transactionResults_.add(value);
          onChanged();
        } else {
          transactionResultsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder addTransactionResults(
          int index, org.onflow.protobuf.access.Access.TransactionResultResponse value) {
        if (transactionResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionResultsIsMutable();
          transactionResults_.add(index, value);
          onChanged();
        } else {
          transactionResultsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder addTransactionResults(
          org.onflow.protobuf.access.Access.TransactionResultResponse.Builder builderForValue) {
        if (transactionResultsBuilder_ == null) {
          ensureTransactionResultsIsMutable();
          transactionResults_.add(builderForValue.build());
          onChanged();
        } else {
          transactionResultsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder addTransactionResults(
          int index, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder builderForValue) {
        if (transactionResultsBuilder_ == null) {
          ensureTransactionResultsIsMutable();
          transactionResults_.add(index, builderForValue.build());
          onChanged();
        } else {
          transactionResultsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder addAllTransactionResults(
          java.lang.Iterable values) {
        if (transactionResultsBuilder_ == null) {
          ensureTransactionResultsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, transactionResults_);
          onChanged();
        } else {
          transactionResultsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder clearTransactionResults() {
        if (transactionResultsBuilder_ == null) {
          transactionResults_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          transactionResultsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public Builder removeTransactionResults(int index) {
        if (transactionResultsBuilder_ == null) {
          ensureTransactionResultsIsMutable();
          transactionResults_.remove(index);
          onChanged();
        } else {
          transactionResultsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public org.onflow.protobuf.access.Access.TransactionResultResponse.Builder getTransactionResultsBuilder(
          int index) {
        return getTransactionResultsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
          int index) {
        if (transactionResultsBuilder_ == null) {
          return transactionResults_.get(index);  } else {
          return transactionResultsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public java.util.List 
           getTransactionResultsOrBuilderList() {
        if (transactionResultsBuilder_ != null) {
          return transactionResultsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(transactionResults_);
        }
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public org.onflow.protobuf.access.Access.TransactionResultResponse.Builder addTransactionResultsBuilder() {
        return getTransactionResultsFieldBuilder().addBuilder(
            org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance());
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public org.onflow.protobuf.access.Access.TransactionResultResponse.Builder addTransactionResultsBuilder(
          int index) {
        return getTransactionResultsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance());
      }
      /**
       * repeated .flow.access.TransactionResultResponse transaction_results = 1;
       */
      public java.util.List 
           getTransactionResultsBuilderList() {
        return getTransactionResultsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder> 
          getTransactionResultsFieldBuilder() {
        if (transactionResultsBuilder_ == null) {
          transactionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder>(
                  transactionResults_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          transactionResults_ = null;
        }
        return transactionResultsBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.TransactionResultsResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.TransactionResultsResponse)
    private static final org.onflow.protobuf.access.Access.TransactionResultsResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.TransactionResultsResponse();
    }

    public static org.onflow.protobuf.access.Access.TransactionResultsResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface TransactionsResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.TransactionsResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    java.util.List 
        getTransactionsList();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index);
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    int getTransactionsCount();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    java.util.List 
        getTransactionsOrBuilderList();
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
        int index);

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.TransactionsResponse}
   */
  public static final class TransactionsResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.TransactionsResponse)
      TransactionsResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TransactionsResponse.newBuilder() to construct.
    private TransactionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TransactionsResponse() {
      transactions_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TransactionsResponse(
        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)) {
                transactions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              transactions_.add(
                  input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry));
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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)) {
          transactions_ = java.util.Collections.unmodifiableList(transactions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionsResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.TransactionsResponse.class, org.onflow.protobuf.access.Access.TransactionsResponse.Builder.class);
    }

    public static final int TRANSACTIONS_FIELD_NUMBER = 1;
    private java.util.List transactions_;
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public java.util.List getTransactionsList() {
      return transactions_;
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public java.util.List 
        getTransactionsOrBuilderList() {
      return transactions_;
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public int getTransactionsCount() {
      return transactions_.size();
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index) {
      return transactions_.get(index);
    }
    /**
     * repeated .flow.entities.Transaction transactions = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
        int index) {
      return transactions_.get(index);
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 < transactions_.size(); i++) {
        output.writeMessage(1, transactions_.get(i));
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < transactions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, transactions_.get(i));
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.TransactionsResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.TransactionsResponse other = (org.onflow.protobuf.access.Access.TransactionsResponse) obj;

      if (!getTransactionsList()
          .equals(other.getTransactionsList())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (getTransactionsCount() > 0) {
        hash = (37 * hash) + TRANSACTIONS_FIELD_NUMBER;
        hash = (53 * hash) + getTransactionsList().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionsResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.TransactionsResponse.class, org.onflow.protobuf.access.Access.TransactionsResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.TransactionsResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTransactionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (transactionsBuilder_ == null) {
          transactions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          transactionsBuilder_.clear();
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionsResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionsResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.TransactionsResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionsResponse buildPartial() {
        org.onflow.protobuf.access.Access.TransactionsResponse result = new org.onflow.protobuf.access.Access.TransactionsResponse(this);
        int from_bitField0_ = bitField0_;
        if (transactionsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            transactions_ = java.util.Collections.unmodifiableList(transactions_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.transactions_ = transactions_;
        } else {
          result.transactions_ = transactionsBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.TransactionsResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.TransactionsResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.TransactionsResponse other) {
        if (other == org.onflow.protobuf.access.Access.TransactionsResponse.getDefaultInstance()) return this;
        if (transactionsBuilder_ == null) {
          if (!other.transactions_.isEmpty()) {
            if (transactions_.isEmpty()) {
              transactions_ = other.transactions_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTransactionsIsMutable();
              transactions_.addAll(other.transactions_);
            }
            onChanged();
          }
        } else {
          if (!other.transactions_.isEmpty()) {
            if (transactionsBuilder_.isEmpty()) {
              transactionsBuilder_.dispose();
              transactionsBuilder_ = null;
              transactions_ = other.transactions_;
              bitField0_ = (bitField0_ & ~0x00000001);
              transactionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTransactionsFieldBuilder() : null;
            } else {
              transactionsBuilder_.addAllMessages(other.transactions_);
            }
          }
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.TransactionsResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.TransactionsResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionsBuilder_;

      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List getTransactionsList() {
        if (transactionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(transactions_);
        } else {
          return transactionsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public int getTransactionsCount() {
        if (transactionsBuilder_ == null) {
          return transactions_.size();
        } else {
          return transactionsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransactions(int index) {
        if (transactionsBuilder_ == null) {
          return transactions_.get(index);
        } else {
          return transactionsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder setTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.set(index, value);
          onChanged();
        } else {
          transactionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder setTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.set(index, builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.add(value);
          onChanged();
        } else {
          transactionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTransactionsIsMutable();
          transactions_.add(index, value);
          onChanged();
        } else {
          transactionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.add(builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addTransactions(
          int index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.add(index, builderForValue.build());
          onChanged();
        } else {
          transactionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder addAllTransactions(
          java.lang.Iterable values) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, transactions_);
          onChanged();
        } else {
          transactionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder clearTransactions() {
        if (transactionsBuilder_ == null) {
          transactions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          transactionsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public Builder removeTransactions(int index) {
        if (transactionsBuilder_ == null) {
          ensureTransactionsIsMutable();
          transactions_.remove(index);
          onChanged();
        } else {
          transactionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder getTransactionsBuilder(
          int index) {
        return getTransactionsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
          int index) {
        if (transactionsBuilder_ == null) {
          return transactions_.get(index);  } else {
          return transactionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List 
           getTransactionsOrBuilderList() {
        if (transactionsBuilder_ != null) {
          return transactionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(transactions_);
        }
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder addTransactionsBuilder() {
        return getTransactionsFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder addTransactionsBuilder(
          int index) {
        return getTransactionsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Transaction transactions = 1;
       */
      public java.util.List 
           getTransactionsBuilderList() {
        return getTransactionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> 
          getTransactionsFieldBuilder() {
        if (transactionsBuilder_ == null) {
          transactionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder>(
                  transactions_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          transactions_ = null;
        }
        return transactionsBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.TransactionsResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.TransactionsResponse)
    private static final org.onflow.protobuf.access.Access.TransactionsResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.TransactionsResponse();
    }

    public static org.onflow.protobuf.access.Access.TransactionsResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface TransactionResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.TransactionResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Transaction transaction = 1;
     * @return Whether the transaction field is set.
     */
    boolean hasTransaction();
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return The transaction.
     */
    org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction();
    /**
     * .flow.entities.Transaction transaction = 1;
     */
    org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.TransactionResponse}
   */
  public static final class TransactionResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.TransactionResponse)
      TransactionResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TransactionResponse.newBuilder() to construct.
    private TransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TransactionResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TransactionResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder subBuilder = null;
              if (transaction_ != null) {
                subBuilder = transaction_.toBuilder();
              }
              transaction_ = input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(transaction_);
                transaction_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.TransactionResponse.class, org.onflow.protobuf.access.Access.TransactionResponse.Builder.class);
    }

    public static final int TRANSACTION_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_;
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return Whether the transaction field is set.
     */
    @java.lang.Override
    public boolean hasTransaction() {
      return transaction_ != null;
    }
    /**
     * .flow.entities.Transaction transaction = 1;
     * @return The transaction.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() {
      return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
    }
    /**
     * .flow.entities.Transaction transaction = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
      return getTransaction();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (transaction_ != null) {
        output.writeMessage(1, getTransaction());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (transaction_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTransaction());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.TransactionResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.TransactionResponse other = (org.onflow.protobuf.access.Access.TransactionResponse) obj;

      if (hasTransaction() != other.hasTransaction()) return false;
      if (hasTransaction()) {
        if (!getTransaction()
            .equals(other.getTransaction())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasTransaction()) {
        hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
        hash = (53 * hash) + getTransaction().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.TransactionResponse.class, org.onflow.protobuf.access.Access.TransactionResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.TransactionResponse.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();
        if (transactionBuilder_ == null) {
          transaction_ = null;
        } else {
          transaction_ = null;
          transactionBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.TransactionResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResponse buildPartial() {
        org.onflow.protobuf.access.Access.TransactionResponse result = new org.onflow.protobuf.access.Access.TransactionResponse(this);
        if (transactionBuilder_ == null) {
          result.transaction_ = transaction_;
        } else {
          result.transaction_ = transactionBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.TransactionResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.TransactionResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.TransactionResponse other) {
        if (other == org.onflow.protobuf.access.Access.TransactionResponse.getDefaultInstance()) return this;
        if (other.hasTransaction()) {
          mergeTransaction(other.getTransaction());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.TransactionResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.TransactionResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionBuilder_;
      /**
       * .flow.entities.Transaction transaction = 1;
       * @return Whether the transaction field is set.
       */
      public boolean hasTransaction() {
        return transactionBuilder_ != null || transaction_ != null;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       * @return The transaction.
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() {
        if (transactionBuilder_ == null) {
          return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
        } else {
          return transactionBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder setTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          transaction_ = value;
          onChanged();
        } else {
          transactionBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder setTransaction(
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) {
        if (transactionBuilder_ == null) {
          transaction_ = builderForValue.build();
          onChanged();
        } else {
          transactionBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder mergeTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) {
        if (transactionBuilder_ == null) {
          if (transaction_ != null) {
            transaction_ =
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial();
          } else {
            transaction_ = value;
          }
          onChanged();
        } else {
          transactionBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public Builder clearTransaction() {
        if (transactionBuilder_ == null) {
          transaction_ = null;
          onChanged();
        } else {
          transaction_ = null;
          transactionBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder getTransactionBuilder() {
        
        onChanged();
        return getTransactionFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() {
        if (transactionBuilder_ != null) {
          return transactionBuilder_.getMessageOrBuilder();
        } else {
          return transaction_ == null ?
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_;
        }
      }
      /**
       * .flow.entities.Transaction transaction = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> 
          getTransactionFieldBuilder() {
        if (transactionBuilder_ == null) {
          transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder>(
                  getTransaction(),
                  getParentForChildren(),
                  isClean());
          transaction_ = null;
        }
        return transactionBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.TransactionResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.TransactionResponse)
    private static final org.onflow.protobuf.access.Access.TransactionResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.TransactionResponse();
    }

    public static org.onflow.protobuf.access.Access.TransactionResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface TransactionResultResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.TransactionResultResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.TransactionStatus status = 1;
     * @return The enum numeric value on the wire for status.
     */
    int getStatusValue();
    /**
     * .flow.entities.TransactionStatus status = 1;
     * @return The status.
     */
    org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus getStatus();

    /**
     * uint32 status_code = 2;
     * @return The statusCode.
     */
    int getStatusCode();

    /**
     * string error_message = 3;
     * @return The errorMessage.
     */
    java.lang.String getErrorMessage();
    /**
     * string error_message = 3;
     * @return The bytes for errorMessage.
     */
    com.google.protobuf.ByteString
        getErrorMessageBytes();

    /**
     * repeated .flow.entities.Event events = 4;
     */
    java.util.List 
        getEventsList();
    /**
     * repeated .flow.entities.Event events = 4;
     */
    org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index);
    /**
     * repeated .flow.entities.Event events = 4;
     */
    int getEventsCount();
    /**
     * repeated .flow.entities.Event events = 4;
     */
    java.util.List 
        getEventsOrBuilderList();
    /**
     * repeated .flow.entities.Event events = 4;
     */
    org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
        int index);

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

    /**
     * bytes transaction_id = 6;
     * @return The transactionId.
     */
    com.google.protobuf.ByteString getTransactionId();

    /**
     * bytes collection_id = 7;
     * @return The collectionId.
     */
    com.google.protobuf.ByteString getCollectionId();

    /**
     * uint64 block_height = 8;
     * @return The blockHeight.
     */
    long getBlockHeight();

    /**
     * .flow.entities.Metadata metadata = 9;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 9;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 9;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();

    /**
     * uint64 computation_usage = 10;
     * @return The computationUsage.
     */
    long getComputationUsage();
  }
  /**
   * Protobuf type {@code flow.access.TransactionResultResponse}
   */
  public static final class TransactionResultResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.TransactionResultResponse)
      TransactionResultResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TransactionResultResponse.newBuilder() to construct.
    private TransactionResultResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TransactionResultResponse() {
      status_ = 0;
      errorMessage_ = "";
      events_ = java.util.Collections.emptyList();
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      transactionId_ = com.google.protobuf.ByteString.EMPTY;
      collectionId_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TransactionResultResponse(
        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 8: {
              int rawValue = input.readEnum();

              status_ = rawValue;
              break;
            }
            case 16: {

              statusCode_ = input.readUInt32();
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              errorMessage_ = s;
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                events_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              events_.add(
                  input.readMessage(org.onflow.protobuf.entities.EventOuterClass.Event.parser(), extensionRegistry));
              break;
            }
            case 42: {

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

              transactionId_ = input.readBytes();
              break;
            }
            case 58: {

              collectionId_ = input.readBytes();
              break;
            }
            case 64: {

              blockHeight_ = input.readUInt64();
              break;
            }
            case 74: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              break;
            }
            case 80: {

              computationUsage_ = input.readUInt64();
              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)) {
          events_ = java.util.Collections.unmodifiableList(events_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.TransactionResultResponse.class, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder.class);
    }

    public static final int STATUS_FIELD_NUMBER = 1;
    private int status_;
    /**
     * .flow.entities.TransactionStatus status = 1;
     * @return The enum numeric value on the wire for status.
     */
    @java.lang.Override public int getStatusValue() {
      return status_;
    }
    /**
     * .flow.entities.TransactionStatus status = 1;
     * @return The status.
     */
    @java.lang.Override public org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus getStatus() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus result = org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.valueOf(status_);
      return result == null ? org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.UNRECOGNIZED : result;
    }

    public static final int STATUS_CODE_FIELD_NUMBER = 2;
    private int statusCode_;
    /**
     * uint32 status_code = 2;
     * @return The statusCode.
     */
    @java.lang.Override
    public int getStatusCode() {
      return statusCode_;
    }

    public static final int ERROR_MESSAGE_FIELD_NUMBER = 3;
    private volatile java.lang.Object errorMessage_;
    /**
     * string error_message = 3;
     * @return The errorMessage.
     */
    @java.lang.Override
    public java.lang.String getErrorMessage() {
      java.lang.Object ref = errorMessage_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        errorMessage_ = s;
        return s;
      }
    }
    /**
     * string error_message = 3;
     * @return The bytes for errorMessage.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getErrorMessageBytes() {
      java.lang.Object ref = errorMessage_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        errorMessage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EVENTS_FIELD_NUMBER = 4;
    private java.util.List events_;
    /**
     * repeated .flow.entities.Event events = 4;
     */
    @java.lang.Override
    public java.util.List getEventsList() {
      return events_;
    }
    /**
     * repeated .flow.entities.Event events = 4;
     */
    @java.lang.Override
    public java.util.List 
        getEventsOrBuilderList() {
      return events_;
    }
    /**
     * repeated .flow.entities.Event events = 4;
     */
    @java.lang.Override
    public int getEventsCount() {
      return events_.size();
    }
    /**
     * repeated .flow.entities.Event events = 4;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
      return events_.get(index);
    }
    /**
     * repeated .flow.entities.Event events = 4;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
        int index) {
      return events_.get(index);
    }

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

    public static final int TRANSACTION_ID_FIELD_NUMBER = 6;
    private com.google.protobuf.ByteString transactionId_;
    /**
     * bytes transaction_id = 6;
     * @return The transactionId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getTransactionId() {
      return transactionId_;
    }

    public static final int COLLECTION_ID_FIELD_NUMBER = 7;
    private com.google.protobuf.ByteString collectionId_;
    /**
     * bytes collection_id = 7;
     * @return The collectionId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getCollectionId() {
      return collectionId_;
    }

    public static final int BLOCK_HEIGHT_FIELD_NUMBER = 8;
    private long blockHeight_;
    /**
     * uint64 block_height = 8;
     * @return The blockHeight.
     */
    @java.lang.Override
    public long getBlockHeight() {
      return blockHeight_;
    }

    public static final int METADATA_FIELD_NUMBER = 9;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 9;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 9;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 9;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    public static final int COMPUTATION_USAGE_FIELD_NUMBER = 10;
    private long computationUsage_;
    /**
     * uint64 computation_usage = 10;
     * @return The computationUsage.
     */
    @java.lang.Override
    public long getComputationUsage() {
      return computationUsage_;
    }

    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 (status_ != org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.UNKNOWN.getNumber()) {
        output.writeEnum(1, status_);
      }
      if (statusCode_ != 0) {
        output.writeUInt32(2, statusCode_);
      }
      if (!getErrorMessageBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorMessage_);
      }
      for (int i = 0; i < events_.size(); i++) {
        output.writeMessage(4, events_.get(i));
      }
      if (!blockId_.isEmpty()) {
        output.writeBytes(5, blockId_);
      }
      if (!transactionId_.isEmpty()) {
        output.writeBytes(6, transactionId_);
      }
      if (!collectionId_.isEmpty()) {
        output.writeBytes(7, collectionId_);
      }
      if (blockHeight_ != 0L) {
        output.writeUInt64(8, blockHeight_);
      }
      if (metadata_ != null) {
        output.writeMessage(9, getMetadata());
      }
      if (computationUsage_ != 0L) {
        output.writeUInt64(10, computationUsage_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (status_ != org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, status_);
      }
      if (statusCode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, statusCode_);
      }
      if (!getErrorMessageBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_);
      }
      for (int i = 0; i < events_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, events_.get(i));
      }
      if (!blockId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(5, blockId_);
      }
      if (!transactionId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(6, transactionId_);
      }
      if (!collectionId_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(7, collectionId_);
      }
      if (blockHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(8, blockHeight_);
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, getMetadata());
      }
      if (computationUsage_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(10, computationUsage_);
      }
      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.access.Access.TransactionResultResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.TransactionResultResponse other = (org.onflow.protobuf.access.Access.TransactionResultResponse) obj;

      if (status_ != other.status_) return false;
      if (getStatusCode()
          != other.getStatusCode()) return false;
      if (!getErrorMessage()
          .equals(other.getErrorMessage())) return false;
      if (!getEventsList()
          .equals(other.getEventsList())) return false;
      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (!getTransactionId()
          .equals(other.getTransactionId())) return false;
      if (!getCollectionId()
          .equals(other.getCollectionId())) return false;
      if (getBlockHeight()
          != other.getBlockHeight()) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (getComputationUsage()
          != other.getComputationUsage()) 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) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + status_;
      hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getStatusCode();
      hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
      hash = (53 * hash) + getErrorMessage().hashCode();
      if (getEventsCount() > 0) {
        hash = (37 * hash) + EVENTS_FIELD_NUMBER;
        hash = (53 * hash) + getEventsList().hashCode();
      }
      hash = (37 * hash) + BLOCK_ID_FIELD_NUMBER;
      hash = (53 * hash) + getBlockId().hashCode();
      hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTransactionId().hashCode();
      hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getCollectionId().hashCode();
      hash = (37 * hash) + BLOCK_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBlockHeight());
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (37 * hash) + COMPUTATION_USAGE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getComputationUsage());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.TransactionResultResponse.class, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.TransactionResultResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getEventsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        status_ = 0;

        statusCode_ = 0;

        errorMessage_ = "";

        if (eventsBuilder_ == null) {
          events_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          eventsBuilder_.clear();
        }
        blockId_ = com.google.protobuf.ByteString.EMPTY;

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

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

        blockHeight_ = 0L;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        computationUsage_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_TransactionResultResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResultResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.TransactionResultResponse buildPartial() {
        org.onflow.protobuf.access.Access.TransactionResultResponse result = new org.onflow.protobuf.access.Access.TransactionResultResponse(this);
        int from_bitField0_ = bitField0_;
        result.status_ = status_;
        result.statusCode_ = statusCode_;
        result.errorMessage_ = errorMessage_;
        if (eventsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            events_ = java.util.Collections.unmodifiableList(events_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.events_ = events_;
        } else {
          result.events_ = eventsBuilder_.build();
        }
        result.blockId_ = blockId_;
        result.transactionId_ = transactionId_;
        result.collectionId_ = collectionId_;
        result.blockHeight_ = blockHeight_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.build();
        }
        result.computationUsage_ = computationUsage_;
        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.access.Access.TransactionResultResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.TransactionResultResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.TransactionResultResponse other) {
        if (other == org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance()) return this;
        if (other.status_ != 0) {
          setStatusValue(other.getStatusValue());
        }
        if (other.getStatusCode() != 0) {
          setStatusCode(other.getStatusCode());
        }
        if (!other.getErrorMessage().isEmpty()) {
          errorMessage_ = other.errorMessage_;
          onChanged();
        }
        if (eventsBuilder_ == null) {
          if (!other.events_.isEmpty()) {
            if (events_.isEmpty()) {
              events_ = other.events_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEventsIsMutable();
              events_.addAll(other.events_);
            }
            onChanged();
          }
        } else {
          if (!other.events_.isEmpty()) {
            if (eventsBuilder_.isEmpty()) {
              eventsBuilder_.dispose();
              eventsBuilder_ = null;
              events_ = other.events_;
              bitField0_ = (bitField0_ & ~0x00000001);
              eventsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getEventsFieldBuilder() : null;
            } else {
              eventsBuilder_.addAllMessages(other.events_);
            }
          }
        }
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) {
          setTransactionId(other.getTransactionId());
        }
        if (other.getCollectionId() != com.google.protobuf.ByteString.EMPTY) {
          setCollectionId(other.getCollectionId());
        }
        if (other.getBlockHeight() != 0L) {
          setBlockHeight(other.getBlockHeight());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (other.getComputationUsage() != 0L) {
          setComputationUsage(other.getComputationUsage());
        }
        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.access.Access.TransactionResultResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.TransactionResultResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int status_ = 0;
      /**
       * .flow.entities.TransactionStatus status = 1;
       * @return The enum numeric value on the wire for status.
       */
      @java.lang.Override public int getStatusValue() {
        return status_;
      }
      /**
       * .flow.entities.TransactionStatus status = 1;
       * @param value The enum numeric value on the wire for status to set.
       * @return This builder for chaining.
       */
      public Builder setStatusValue(int value) {
        
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.TransactionStatus status = 1;
       * @return The status.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus getStatus() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus result = org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.valueOf(status_);
        return result == null ? org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.TransactionStatus status = 1;
       * @param value The status to set.
       * @return This builder for chaining.
       */
      public Builder setStatus(org.onflow.protobuf.entities.TransactionOuterClass.TransactionStatus value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.TransactionStatus status = 1;
       * @return This builder for chaining.
       */
      public Builder clearStatus() {
        
        status_ = 0;
        onChanged();
        return this;
      }

      private int statusCode_ ;
      /**
       * uint32 status_code = 2;
       * @return The statusCode.
       */
      @java.lang.Override
      public int getStatusCode() {
        return statusCode_;
      }
      /**
       * uint32 status_code = 2;
       * @param value The statusCode to set.
       * @return This builder for chaining.
       */
      public Builder setStatusCode(int value) {
        
        statusCode_ = value;
        onChanged();
        return this;
      }
      /**
       * uint32 status_code = 2;
       * @return This builder for chaining.
       */
      public Builder clearStatusCode() {
        
        statusCode_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object errorMessage_ = "";
      /**
       * string error_message = 3;
       * @return The errorMessage.
       */
      public java.lang.String getErrorMessage() {
        java.lang.Object ref = errorMessage_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          errorMessage_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string error_message = 3;
       * @return The bytes for errorMessage.
       */
      public com.google.protobuf.ByteString
          getErrorMessageBytes() {
        java.lang.Object ref = errorMessage_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          errorMessage_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string error_message = 3;
       * @param value The errorMessage to set.
       * @return This builder for chaining.
       */
      public Builder setErrorMessage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        errorMessage_ = value;
        onChanged();
        return this;
      }
      /**
       * string error_message = 3;
       * @return This builder for chaining.
       */
      public Builder clearErrorMessage() {
        
        errorMessage_ = getDefaultInstance().getErrorMessage();
        onChanged();
        return this;
      }
      /**
       * string error_message = 3;
       * @param value The bytes for errorMessage to set.
       * @return This builder for chaining.
       */
      public Builder setErrorMessageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        errorMessage_ = value;
        onChanged();
        return this;
      }

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;

      /**
       * repeated .flow.entities.Event events = 4;
       */
      public java.util.List getEventsList() {
        if (eventsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(events_);
        } else {
          return eventsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public int getEventsCount() {
        if (eventsBuilder_ == null) {
          return events_.size();
        } else {
          return eventsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
        if (eventsBuilder_ == null) {
          return events_.get(index);
        } else {
          return eventsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder setEvents(
          int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
        if (eventsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEventsIsMutable();
          events_.set(index, value);
          onChanged();
        } else {
          eventsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder setEvents(
          int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
        if (eventsBuilder_ == null) {
          ensureEventsIsMutable();
          events_.set(index, builderForValue.build());
          onChanged();
        } else {
          eventsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder addEvents(org.onflow.protobuf.entities.EventOuterClass.Event value) {
        if (eventsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEventsIsMutable();
          events_.add(value);
          onChanged();
        } else {
          eventsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder addEvents(
          int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
        if (eventsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEventsIsMutable();
          events_.add(index, value);
          onChanged();
        } else {
          eventsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder addEvents(
          org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
        if (eventsBuilder_ == null) {
          ensureEventsIsMutable();
          events_.add(builderForValue.build());
          onChanged();
        } else {
          eventsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder addEvents(
          int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
        if (eventsBuilder_ == null) {
          ensureEventsIsMutable();
          events_.add(index, builderForValue.build());
          onChanged();
        } else {
          eventsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder addAllEvents(
          java.lang.Iterable values) {
        if (eventsBuilder_ == null) {
          ensureEventsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, events_);
          onChanged();
        } else {
          eventsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder clearEvents() {
        if (eventsBuilder_ == null) {
          events_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          eventsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public Builder removeEvents(int index) {
        if (eventsBuilder_ == null) {
          ensureEventsIsMutable();
          events_.remove(index);
          onChanged();
        } else {
          eventsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public org.onflow.protobuf.entities.EventOuterClass.Event.Builder getEventsBuilder(
          int index) {
        return getEventsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
          int index) {
        if (eventsBuilder_ == null) {
          return events_.get(index);  } else {
          return eventsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public java.util.List 
           getEventsOrBuilderList() {
        if (eventsBuilder_ != null) {
          return eventsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(events_);
        }
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder() {
        return getEventsFieldBuilder().addBuilder(
            org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder(
          int index) {
        return getEventsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
      }
      /**
       * repeated .flow.entities.Event events = 4;
       */
      public java.util.List 
           getEventsBuilderList() {
        return getEventsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> 
          getEventsFieldBuilder() {
        if (eventsBuilder_ == null) {
          eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>(
                  events_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          events_ = null;
        }
        return eventsBuilder_;
      }

      private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes block_id = 5;
       * @return The blockId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getBlockId() {
        return blockId_;
      }
      /**
       * bytes block_id = 5;
       * @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 = 5;
       * @return This builder for chaining.
       */
      public Builder clearBlockId() {
        
        blockId_ = getDefaultInstance().getBlockId();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes transaction_id = 6;
       * @return The transactionId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getTransactionId() {
        return transactionId_;
      }
      /**
       * bytes transaction_id = 6;
       * @param value The transactionId to set.
       * @return This builder for chaining.
       */
      public Builder setTransactionId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        transactionId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes transaction_id = 6;
       * @return This builder for chaining.
       */
      public Builder clearTransactionId() {
        
        transactionId_ = getDefaultInstance().getTransactionId();
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString collectionId_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes collection_id = 7;
       * @return The collectionId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getCollectionId() {
        return collectionId_;
      }
      /**
       * bytes collection_id = 7;
       * @param value The collectionId to set.
       * @return This builder for chaining.
       */
      public Builder setCollectionId(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        collectionId_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes collection_id = 7;
       * @return This builder for chaining.
       */
      public Builder clearCollectionId() {
        
        collectionId_ = getDefaultInstance().getCollectionId();
        onChanged();
        return this;
      }

      private long blockHeight_ ;
      /**
       * uint64 block_height = 8;
       * @return The blockHeight.
       */
      @java.lang.Override
      public long getBlockHeight() {
        return blockHeight_;
      }
      /**
       * uint64 block_height = 8;
       * @param value The blockHeight to set.
       * @return This builder for chaining.
       */
      public Builder setBlockHeight(long value) {
        
        blockHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 block_height = 8;
       * @return This builder for chaining.
       */
      public Builder clearBlockHeight() {
        
        blockHeight_ = 0L;
        onChanged();
        return this;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 9;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 9;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private long computationUsage_ ;
      /**
       * uint64 computation_usage = 10;
       * @return The computationUsage.
       */
      @java.lang.Override
      public long getComputationUsage() {
        return computationUsage_;
      }
      /**
       * uint64 computation_usage = 10;
       * @param value The computationUsage to set.
       * @return This builder for chaining.
       */
      public Builder setComputationUsage(long value) {
        
        computationUsage_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 computation_usage = 10;
       * @return This builder for chaining.
       */
      public Builder clearComputationUsage() {
        
        computationUsage_ = 0L;
        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.access.TransactionResultResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.TransactionResultResponse)
    private static final org.onflow.protobuf.access.Access.TransactionResultResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.TransactionResultResponse();
    }

    public static org.onflow.protobuf.access.Access.TransactionResultResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetAccountRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetAccountRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes address = 1;
     * @return The address.
     */
    com.google.protobuf.ByteString getAddress();
  }
  /**
   * Protobuf type {@code flow.access.GetAccountRequest}
   */
  public static final class GetAccountRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetAccountRequest)
      GetAccountRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetAccountRequest.newBuilder() to construct.
    private GetAccountRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetAccountRequest() {
      address_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetAccountRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              address_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetAccountRequest.class, org.onflow.protobuf.access.Access.GetAccountRequest.Builder.class);
    }

    public static final int ADDRESS_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString address_;
    /**
     * bytes address = 1;
     * @return The address.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getAddress() {
      return address_;
    }

    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 (!address_.isEmpty()) {
        output.writeBytes(1, address_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!address_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, address_);
      }
      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.access.Access.GetAccountRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetAccountRequest other = (org.onflow.protobuf.access.Access.GetAccountRequest) obj;

      if (!getAddress()
          .equals(other.getAddress())) 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) + ADDRESS_FIELD_NUMBER;
      hash = (53 * hash) + getAddress().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetAccountRequest.class, org.onflow.protobuf.access.Access.GetAccountRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetAccountRequest.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();
        address_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetAccountRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetAccountRequest result = new org.onflow.protobuf.access.Access.GetAccountRequest(this);
        result.address_ = address_;
        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.access.Access.GetAccountRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetAccountRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetAccountRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetAccountRequest.getDefaultInstance()) return this;
        if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) {
          setAddress(other.getAddress());
        }
        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.access.Access.GetAccountRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetAccountRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes address = 1;
       * @return The address.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getAddress() {
        return address_;
      }
      /**
       * bytes address = 1;
       * @param value The address to set.
       * @return This builder for chaining.
       */
      public Builder setAddress(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        address_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes address = 1;
       * @return This builder for chaining.
       */
      public Builder clearAddress() {
        
        address_ = getDefaultInstance().getAddress();
        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.access.GetAccountRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetAccountRequest)
    private static final org.onflow.protobuf.access.Access.GetAccountRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetAccountRequest();
    }

    public static org.onflow.protobuf.access.Access.GetAccountRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetAccountResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetAccountResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Account account = 1;
     * @return Whether the account field is set.
     */
    boolean hasAccount();
    /**
     * .flow.entities.Account account = 1;
     * @return The account.
     */
    org.onflow.protobuf.entities.AccountOuterClass.Account getAccount();
    /**
     * .flow.entities.Account account = 1;
     */
    org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.GetAccountResponse}
   */
  public static final class GetAccountResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetAccountResponse)
      GetAccountResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetAccountResponse.newBuilder() to construct.
    private GetAccountResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetAccountResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetAccountResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.AccountOuterClass.Account.Builder subBuilder = null;
              if (account_ != null) {
                subBuilder = account_.toBuilder();
              }
              account_ = input.readMessage(org.onflow.protobuf.entities.AccountOuterClass.Account.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(account_);
                account_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetAccountResponse.class, org.onflow.protobuf.access.Access.GetAccountResponse.Builder.class);
    }

    public static final int ACCOUNT_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
    /**
     * .flow.entities.Account account = 1;
     * @return Whether the account field is set.
     */
    @java.lang.Override
    public boolean hasAccount() {
      return account_ != null;
    }
    /**
     * .flow.entities.Account account = 1;
     * @return The account.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
      return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
    }
    /**
     * .flow.entities.Account account = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
      return getAccount();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (account_ != null) {
        output.writeMessage(1, getAccount());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (account_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getAccount());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.GetAccountResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetAccountResponse other = (org.onflow.protobuf.access.Access.GetAccountResponse) obj;

      if (hasAccount() != other.hasAccount()) return false;
      if (hasAccount()) {
        if (!getAccount()
            .equals(other.getAccount())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasAccount()) {
        hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
        hash = (53 * hash) + getAccount().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetAccountResponse.class, org.onflow.protobuf.access.Access.GetAccountResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetAccountResponse.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();
        if (accountBuilder_ == null) {
          account_ = null;
        } else {
          account_ = null;
          accountBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetAccountResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountResponse buildPartial() {
        org.onflow.protobuf.access.Access.GetAccountResponse result = new org.onflow.protobuf.access.Access.GetAccountResponse(this);
        if (accountBuilder_ == null) {
          result.account_ = account_;
        } else {
          result.account_ = accountBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.GetAccountResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetAccountResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetAccountResponse other) {
        if (other == org.onflow.protobuf.access.Access.GetAccountResponse.getDefaultInstance()) return this;
        if (other.hasAccount()) {
          mergeAccount(other.getAccount());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.GetAccountResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetAccountResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder> accountBuilder_;
      /**
       * .flow.entities.Account account = 1;
       * @return Whether the account field is set.
       */
      public boolean hasAccount() {
        return accountBuilder_ != null || account_ != null;
      }
      /**
       * .flow.entities.Account account = 1;
       * @return The account.
       */
      public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
        if (accountBuilder_ == null) {
          return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
        } else {
          return accountBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder setAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
        if (accountBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          account_ = value;
          onChanged();
        } else {
          accountBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder setAccount(
          org.onflow.protobuf.entities.AccountOuterClass.Account.Builder builderForValue) {
        if (accountBuilder_ == null) {
          account_ = builderForValue.build();
          onChanged();
        } else {
          accountBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder mergeAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
        if (accountBuilder_ == null) {
          if (account_ != null) {
            account_ =
              org.onflow.protobuf.entities.AccountOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial();
          } else {
            account_ = value;
          }
          onChanged();
        } else {
          accountBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder clearAccount() {
        if (accountBuilder_ == null) {
          account_ = null;
          onChanged();
        } else {
          account_ = null;
          accountBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public org.onflow.protobuf.entities.AccountOuterClass.Account.Builder getAccountBuilder() {
        
        onChanged();
        return getAccountFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
        if (accountBuilder_ != null) {
          return accountBuilder_.getMessageOrBuilder();
        } else {
          return account_ == null ?
              org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
        }
      }
      /**
       * .flow.entities.Account account = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder> 
          getAccountFieldBuilder() {
        if (accountBuilder_ == null) {
          accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder>(
                  getAccount(),
                  getParentForChildren(),
                  isClean());
          account_ = null;
        }
        return accountBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.GetAccountResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetAccountResponse)
    private static final org.onflow.protobuf.access.Access.GetAccountResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetAccountResponse();
    }

    public static org.onflow.protobuf.access.Access.GetAccountResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetAccountAtLatestBlockRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetAccountAtLatestBlockRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes address = 1;
     * @return The address.
     */
    com.google.protobuf.ByteString getAddress();
  }
  /**
   * Protobuf type {@code flow.access.GetAccountAtLatestBlockRequest}
   */
  public static final class GetAccountAtLatestBlockRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetAccountAtLatestBlockRequest)
      GetAccountAtLatestBlockRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetAccountAtLatestBlockRequest.newBuilder() to construct.
    private GetAccountAtLatestBlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetAccountAtLatestBlockRequest() {
      address_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetAccountAtLatestBlockRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              address_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtLatestBlockRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtLatestBlockRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.class, org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.Builder.class);
    }

    public static final int ADDRESS_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString address_;
    /**
     * bytes address = 1;
     * @return The address.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getAddress() {
      return address_;
    }

    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 (!address_.isEmpty()) {
        output.writeBytes(1, address_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!address_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, address_);
      }
      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.access.Access.GetAccountAtLatestBlockRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest other = (org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest) obj;

      if (!getAddress()
          .equals(other.getAddress())) 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) + ADDRESS_FIELD_NUMBER;
      hash = (53 * hash) + getAddress().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtLatestBlockRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.class, org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.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();
        address_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtLatestBlockRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest result = new org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest(this);
        result.address_ = address_;
        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.access.Access.GetAccountAtLatestBlockRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest.getDefaultInstance()) return this;
        if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) {
          setAddress(other.getAddress());
        }
        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.access.Access.GetAccountAtLatestBlockRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes address = 1;
       * @return The address.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getAddress() {
        return address_;
      }
      /**
       * bytes address = 1;
       * @param value The address to set.
       * @return This builder for chaining.
       */
      public Builder setAddress(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        address_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes address = 1;
       * @return This builder for chaining.
       */
      public Builder clearAddress() {
        
        address_ = getDefaultInstance().getAddress();
        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.access.GetAccountAtLatestBlockRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetAccountAtLatestBlockRequest)
    private static final org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest();
    }

    public static org.onflow.protobuf.access.Access.GetAccountAtLatestBlockRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface AccountResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.AccountResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.Account account = 1;
     * @return Whether the account field is set.
     */
    boolean hasAccount();
    /**
     * .flow.entities.Account account = 1;
     * @return The account.
     */
    org.onflow.protobuf.entities.AccountOuterClass.Account getAccount();
    /**
     * .flow.entities.Account account = 1;
     */
    org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.AccountResponse}
   */
  public static final class AccountResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.AccountResponse)
      AccountResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AccountResponse.newBuilder() to construct.
    private AccountResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private AccountResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AccountResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.AccountOuterClass.Account.Builder subBuilder = null;
              if (account_ != null) {
                subBuilder = account_.toBuilder();
              }
              account_ = input.readMessage(org.onflow.protobuf.entities.AccountOuterClass.Account.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(account_);
                account_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_AccountResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_AccountResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.AccountResponse.class, org.onflow.protobuf.access.Access.AccountResponse.Builder.class);
    }

    public static final int ACCOUNT_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
    /**
     * .flow.entities.Account account = 1;
     * @return Whether the account field is set.
     */
    @java.lang.Override
    public boolean hasAccount() {
      return account_ != null;
    }
    /**
     * .flow.entities.Account account = 1;
     * @return The account.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
      return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
    }
    /**
     * .flow.entities.Account account = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
      return getAccount();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (account_ != null) {
        output.writeMessage(1, getAccount());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (account_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getAccount());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.AccountResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.AccountResponse other = (org.onflow.protobuf.access.Access.AccountResponse) obj;

      if (hasAccount() != other.hasAccount()) return false;
      if (hasAccount()) {
        if (!getAccount()
            .equals(other.getAccount())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasAccount()) {
        hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
        hash = (53 * hash) + getAccount().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_AccountResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.AccountResponse.class, org.onflow.protobuf.access.Access.AccountResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.AccountResponse.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();
        if (accountBuilder_ == null) {
          account_ = null;
        } else {
          account_ = null;
          accountBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_AccountResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.AccountResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.AccountResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.AccountResponse buildPartial() {
        org.onflow.protobuf.access.Access.AccountResponse result = new org.onflow.protobuf.access.Access.AccountResponse(this);
        if (accountBuilder_ == null) {
          result.account_ = account_;
        } else {
          result.account_ = accountBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.AccountResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.AccountResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.AccountResponse other) {
        if (other == org.onflow.protobuf.access.Access.AccountResponse.getDefaultInstance()) return this;
        if (other.hasAccount()) {
          mergeAccount(other.getAccount());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.AccountResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.AccountResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder> accountBuilder_;
      /**
       * .flow.entities.Account account = 1;
       * @return Whether the account field is set.
       */
      public boolean hasAccount() {
        return accountBuilder_ != null || account_ != null;
      }
      /**
       * .flow.entities.Account account = 1;
       * @return The account.
       */
      public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
        if (accountBuilder_ == null) {
          return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
        } else {
          return accountBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder setAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
        if (accountBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          account_ = value;
          onChanged();
        } else {
          accountBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder setAccount(
          org.onflow.protobuf.entities.AccountOuterClass.Account.Builder builderForValue) {
        if (accountBuilder_ == null) {
          account_ = builderForValue.build();
          onChanged();
        } else {
          accountBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder mergeAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
        if (accountBuilder_ == null) {
          if (account_ != null) {
            account_ =
              org.onflow.protobuf.entities.AccountOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial();
          } else {
            account_ = value;
          }
          onChanged();
        } else {
          accountBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public Builder clearAccount() {
        if (accountBuilder_ == null) {
          account_ = null;
          onChanged();
        } else {
          account_ = null;
          accountBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public org.onflow.protobuf.entities.AccountOuterClass.Account.Builder getAccountBuilder() {
        
        onChanged();
        return getAccountFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Account account = 1;
       */
      public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
        if (accountBuilder_ != null) {
          return accountBuilder_.getMessageOrBuilder();
        } else {
          return account_ == null ?
              org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
        }
      }
      /**
       * .flow.entities.Account account = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder> 
          getAccountFieldBuilder() {
        if (accountBuilder_ == null) {
          accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder>(
                  getAccount(),
                  getParentForChildren(),
                  isClean());
          account_ = null;
        }
        return accountBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.AccountResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.AccountResponse)
    private static final org.onflow.protobuf.access.Access.AccountResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.AccountResponse();
    }

    public static org.onflow.protobuf.access.Access.AccountResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetAccountAtBlockHeightRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetAccountAtBlockHeightRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * uint64 block_height = 2;
     * @return The blockHeight.
     */
    long getBlockHeight();
  }
  /**
   * Protobuf type {@code flow.access.GetAccountAtBlockHeightRequest}
   */
  public static final class GetAccountAtBlockHeightRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetAccountAtBlockHeightRequest)
      GetAccountAtBlockHeightRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetAccountAtBlockHeightRequest.newBuilder() to construct.
    private GetAccountAtBlockHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetAccountAtBlockHeightRequest() {
      address_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetAccountAtBlockHeightRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              address_ = input.readBytes();
              break;
            }
            case 16: {

              blockHeight_ = input.readUInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtBlockHeightRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtBlockHeightRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.class, org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.Builder.class);
    }

    public static final int ADDRESS_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString address_;
    /**
     * bytes address = 1;
     * @return The address.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getAddress() {
      return address_;
    }

    public static final int BLOCK_HEIGHT_FIELD_NUMBER = 2;
    private long blockHeight_;
    /**
     * uint64 block_height = 2;
     * @return The blockHeight.
     */
    @java.lang.Override
    public long getBlockHeight() {
      return blockHeight_;
    }

    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 (!address_.isEmpty()) {
        output.writeBytes(1, address_);
      }
      if (blockHeight_ != 0L) {
        output.writeUInt64(2, blockHeight_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!address_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, address_);
      }
      if (blockHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(2, blockHeight_);
      }
      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.access.Access.GetAccountAtBlockHeightRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest other = (org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest) obj;

      if (!getAddress()
          .equals(other.getAddress())) return false;
      if (getBlockHeight()
          != other.getBlockHeight()) 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) + ADDRESS_FIELD_NUMBER;
      hash = (53 * hash) + getAddress().hashCode();
      hash = (37 * hash) + BLOCK_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBlockHeight());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtBlockHeightRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.class, org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.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();
        address_ = com.google.protobuf.ByteString.EMPTY;

        blockHeight_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetAccountAtBlockHeightRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest result = new org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest(this);
        result.address_ = address_;
        result.blockHeight_ = blockHeight_;
        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.access.Access.GetAccountAtBlockHeightRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest.getDefaultInstance()) return this;
        if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) {
          setAddress(other.getAddress());
        }
        if (other.getBlockHeight() != 0L) {
          setBlockHeight(other.getBlockHeight());
        }
        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.access.Access.GetAccountAtBlockHeightRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private long blockHeight_ ;
      /**
       * uint64 block_height = 2;
       * @return The blockHeight.
       */
      @java.lang.Override
      public long getBlockHeight() {
        return blockHeight_;
      }
      /**
       * uint64 block_height = 2;
       * @param value The blockHeight to set.
       * @return This builder for chaining.
       */
      public Builder setBlockHeight(long value) {
        
        blockHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 block_height = 2;
       * @return This builder for chaining.
       */
      public Builder clearBlockHeight() {
        
        blockHeight_ = 0L;
        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.access.GetAccountAtBlockHeightRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetAccountAtBlockHeightRequest)
    private static final org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest();
    }

    public static org.onflow.protobuf.access.Access.GetAccountAtBlockHeightRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecuteScriptAtLatestBlockRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecuteScriptAtLatestBlockRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * repeated bytes arguments = 2;
     * @return A list containing the arguments.
     */
    java.util.List getArgumentsList();
    /**
     * repeated bytes arguments = 2;
     * @return The count of arguments.
     */
    int getArgumentsCount();
    /**
     * repeated bytes arguments = 2;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    com.google.protobuf.ByteString getArguments(int index);
  }
  /**
   * Protobuf type {@code flow.access.ExecuteScriptAtLatestBlockRequest}
   */
  public static final class ExecuteScriptAtLatestBlockRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecuteScriptAtLatestBlockRequest)
      ExecuteScriptAtLatestBlockRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteScriptAtLatestBlockRequest.newBuilder() to construct.
    private ExecuteScriptAtLatestBlockRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteScriptAtLatestBlockRequest() {
      script_ = com.google.protobuf.ByteString.EMPTY;
      arguments_ = java.util.Collections.emptyList();
    }

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

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

              script_ = input.readBytes();
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                arguments_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              arguments_.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)) {
          arguments_ = java.util.Collections.unmodifiableList(arguments_); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.Builder.class);
    }

    public static final int SCRIPT_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString script_;
    /**
     * bytes script = 1;
     * @return The script.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getScript() {
      return script_;
    }

    public static final int ARGUMENTS_FIELD_NUMBER = 2;
    private java.util.List arguments_;
    /**
     * repeated bytes arguments = 2;
     * @return A list containing the arguments.
     */
    @java.lang.Override
    public java.util.List
        getArgumentsList() {
      return arguments_;
    }
    /**
     * repeated bytes arguments = 2;
     * @return The count of arguments.
     */
    public int getArgumentsCount() {
      return arguments_.size();
    }
    /**
     * repeated bytes arguments = 2;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    public com.google.protobuf.ByteString getArguments(int index) {
      return arguments_.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 (!script_.isEmpty()) {
        output.writeBytes(1, script_);
      }
      for (int i = 0; i < arguments_.size(); i++) {
        output.writeBytes(2, arguments_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!script_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, script_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < arguments_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(arguments_.get(i));
        }
        size += dataSize;
        size += 1 * getArgumentsList().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.access.Access.ExecuteScriptAtLatestBlockRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest other = (org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest) obj;

      if (!getScript()
          .equals(other.getScript())) return false;
      if (!getArgumentsList()
          .equals(other.getArgumentsList())) 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) + SCRIPT_FIELD_NUMBER;
      hash = (53 * hash) + getScript().hashCode();
      if (getArgumentsCount() > 0) {
        hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getArgumentsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.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();
        script_ = com.google.protobuf.ByteString.EMPTY;

        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.getDefaultInstance();
      }

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

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

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest other) {
        if (other == org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest.getDefaultInstance()) return this;
        if (other.getScript() != com.google.protobuf.ByteString.EMPTY) {
          setScript(other.getScript());
        }
        if (!other.arguments_.isEmpty()) {
          if (arguments_.isEmpty()) {
            arguments_ = other.arguments_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureArgumentsIsMutable();
            arguments_.addAll(other.arguments_);
          }
          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.access.Access.ExecuteScriptAtLatestBlockRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private java.util.List arguments_ = java.util.Collections.emptyList();
      private void ensureArgumentsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          arguments_ = new java.util.ArrayList(arguments_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes arguments = 2;
       * @return A list containing the arguments.
       */
      public java.util.List
          getArgumentsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(arguments_) : arguments_;
      }
      /**
       * repeated bytes arguments = 2;
       * @return The count of arguments.
       */
      public int getArgumentsCount() {
        return arguments_.size();
      }
      /**
       * repeated bytes arguments = 2;
       * @param index The index of the element to return.
       * @return The arguments at the given index.
       */
      public com.google.protobuf.ByteString getArguments(int index) {
        return arguments_.get(index);
      }
      /**
       * repeated bytes arguments = 2;
       * @param index The index to set the value at.
       * @param value The arguments to set.
       * @return This builder for chaining.
       */
      public Builder setArguments(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 2;
       * @param value The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addArguments(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 2;
       * @param values The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addAllArguments(
          java.lang.Iterable values) {
        ensureArgumentsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, arguments_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 2;
       * @return This builder for chaining.
       */
      public Builder clearArguments() {
        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        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.access.ExecuteScriptAtLatestBlockRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecuteScriptAtLatestBlockRequest)
    private static final org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest();
    }

    public static org.onflow.protobuf.access.Access.ExecuteScriptAtLatestBlockRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecuteScriptAtBlockIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecuteScriptAtBlockIDRequest)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * bytes script = 2;
     * @return The script.
     */
    com.google.protobuf.ByteString getScript();

    /**
     * repeated bytes arguments = 3;
     * @return A list containing the arguments.
     */
    java.util.List getArgumentsList();
    /**
     * repeated bytes arguments = 3;
     * @return The count of arguments.
     */
    int getArgumentsCount();
    /**
     * repeated bytes arguments = 3;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    com.google.protobuf.ByteString getArguments(int index);
  }
  /**
   * Protobuf type {@code flow.access.ExecuteScriptAtBlockIDRequest}
   */
  public static final class ExecuteScriptAtBlockIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecuteScriptAtBlockIDRequest)
      ExecuteScriptAtBlockIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteScriptAtBlockIDRequest.newBuilder() to construct.
    private ExecuteScriptAtBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteScriptAtBlockIDRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
      script_ = com.google.protobuf.ByteString.EMPTY;
      arguments_ = java.util.Collections.emptyList();
    }

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

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

              script_ = input.readBytes();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                arguments_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              arguments_.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)) {
          arguments_ = java.util.Collections.unmodifiableList(arguments_); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.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 SCRIPT_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString script_;
    /**
     * bytes script = 2;
     * @return The script.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getScript() {
      return script_;
    }

    public static final int ARGUMENTS_FIELD_NUMBER = 3;
    private java.util.List arguments_;
    /**
     * repeated bytes arguments = 3;
     * @return A list containing the arguments.
     */
    @java.lang.Override
    public java.util.List
        getArgumentsList() {
      return arguments_;
    }
    /**
     * repeated bytes arguments = 3;
     * @return The count of arguments.
     */
    public int getArgumentsCount() {
      return arguments_.size();
    }
    /**
     * repeated bytes arguments = 3;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    public com.google.protobuf.ByteString getArguments(int index) {
      return arguments_.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 (!script_.isEmpty()) {
        output.writeBytes(2, script_);
      }
      for (int i = 0; i < arguments_.size(); i++) {
        output.writeBytes(3, arguments_.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 (!script_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, script_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < arguments_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(arguments_.get(i));
        }
        size += dataSize;
        size += 1 * getArgumentsList().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.access.Access.ExecuteScriptAtBlockIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest other = (org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) return false;
      if (!getScript()
          .equals(other.getScript())) return false;
      if (!getArgumentsList()
          .equals(other.getArgumentsList())) 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) + SCRIPT_FIELD_NUMBER;
      hash = (53 * hash) + getScript().hashCode();
      if (getArgumentsCount() > 0) {
        hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getArgumentsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

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

        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest result = new org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest(this);
        int from_bitField0_ = bitField0_;
        result.blockId_ = blockId_;
        result.script_ = script_;
        if (((bitField0_ & 0x00000001) != 0)) {
          arguments_ = java.util.Collections.unmodifiableList(arguments_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.arguments_ = arguments_;
        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.access.Access.ExecuteScriptAtBlockIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        if (other.getScript() != com.google.protobuf.ByteString.EMPTY) {
          setScript(other.getScript());
        }
        if (!other.arguments_.isEmpty()) {
          if (arguments_.isEmpty()) {
            arguments_ = other.arguments_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureArgumentsIsMutable();
            arguments_.addAll(other.arguments_);
          }
          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.access.Access.ExecuteScriptAtBlockIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest) 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 script_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes script = 2;
       * @return The script.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getScript() {
        return script_;
      }
      /**
       * bytes script = 2;
       * @param value The script to set.
       * @return This builder for chaining.
       */
      public Builder setScript(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        script_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes script = 2;
       * @return This builder for chaining.
       */
      public Builder clearScript() {
        
        script_ = getDefaultInstance().getScript();
        onChanged();
        return this;
      }

      private java.util.List arguments_ = java.util.Collections.emptyList();
      private void ensureArgumentsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          arguments_ = new java.util.ArrayList(arguments_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes arguments = 3;
       * @return A list containing the arguments.
       */
      public java.util.List
          getArgumentsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(arguments_) : arguments_;
      }
      /**
       * repeated bytes arguments = 3;
       * @return The count of arguments.
       */
      public int getArgumentsCount() {
        return arguments_.size();
      }
      /**
       * repeated bytes arguments = 3;
       * @param index The index of the element to return.
       * @return The arguments at the given index.
       */
      public com.google.protobuf.ByteString getArguments(int index) {
        return arguments_.get(index);
      }
      /**
       * repeated bytes arguments = 3;
       * @param index The index to set the value at.
       * @param value The arguments to set.
       * @return This builder for chaining.
       */
      public Builder setArguments(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @param value The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addArguments(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @param values The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addAllArguments(
          java.lang.Iterable values) {
        ensureArgumentsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, arguments_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @return This builder for chaining.
       */
      public Builder clearArguments() {
        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        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.access.ExecuteScriptAtBlockIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecuteScriptAtBlockIDRequest)
    private static final org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest();
    }

    public static org.onflow.protobuf.access.Access.ExecuteScriptAtBlockIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecuteScriptAtBlockHeightRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecuteScriptAtBlockHeightRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * uint64 block_height = 1;
     * @return The blockHeight.
     */
    long getBlockHeight();

    /**
     * bytes script = 2;
     * @return The script.
     */
    com.google.protobuf.ByteString getScript();

    /**
     * repeated bytes arguments = 3;
     * @return A list containing the arguments.
     */
    java.util.List getArgumentsList();
    /**
     * repeated bytes arguments = 3;
     * @return The count of arguments.
     */
    int getArgumentsCount();
    /**
     * repeated bytes arguments = 3;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    com.google.protobuf.ByteString getArguments(int index);
  }
  /**
   * Protobuf type {@code flow.access.ExecuteScriptAtBlockHeightRequest}
   */
  public static final class ExecuteScriptAtBlockHeightRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecuteScriptAtBlockHeightRequest)
      ExecuteScriptAtBlockHeightRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteScriptAtBlockHeightRequest.newBuilder() to construct.
    private ExecuteScriptAtBlockHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteScriptAtBlockHeightRequest() {
      script_ = com.google.protobuf.ByteString.EMPTY;
      arguments_ = java.util.Collections.emptyList();
    }

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

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

              blockHeight_ = input.readUInt64();
              break;
            }
            case 18: {

              script_ = input.readBytes();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                arguments_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              arguments_.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)) {
          arguments_ = java.util.Collections.unmodifiableList(arguments_); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.Builder.class);
    }

    public static final int BLOCK_HEIGHT_FIELD_NUMBER = 1;
    private long blockHeight_;
    /**
     * uint64 block_height = 1;
     * @return The blockHeight.
     */
    @java.lang.Override
    public long getBlockHeight() {
      return blockHeight_;
    }

    public static final int SCRIPT_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString script_;
    /**
     * bytes script = 2;
     * @return The script.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getScript() {
      return script_;
    }

    public static final int ARGUMENTS_FIELD_NUMBER = 3;
    private java.util.List arguments_;
    /**
     * repeated bytes arguments = 3;
     * @return A list containing the arguments.
     */
    @java.lang.Override
    public java.util.List
        getArgumentsList() {
      return arguments_;
    }
    /**
     * repeated bytes arguments = 3;
     * @return The count of arguments.
     */
    public int getArgumentsCount() {
      return arguments_.size();
    }
    /**
     * repeated bytes arguments = 3;
     * @param index The index of the element to return.
     * @return The arguments at the given index.
     */
    public com.google.protobuf.ByteString getArguments(int index) {
      return arguments_.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 (blockHeight_ != 0L) {
        output.writeUInt64(1, blockHeight_);
      }
      if (!script_.isEmpty()) {
        output.writeBytes(2, script_);
      }
      for (int i = 0; i < arguments_.size(); i++) {
        output.writeBytes(3, arguments_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (blockHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, blockHeight_);
      }
      if (!script_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, script_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < arguments_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(arguments_.get(i));
        }
        size += dataSize;
        size += 1 * getArgumentsList().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.access.Access.ExecuteScriptAtBlockHeightRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest other = (org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest) obj;

      if (getBlockHeight()
          != other.getBlockHeight()) return false;
      if (!getScript()
          .equals(other.getScript())) return false;
      if (!getArgumentsList()
          .equals(other.getArgumentsList())) 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_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBlockHeight());
      hash = (37 * hash) + SCRIPT_FIELD_NUMBER;
      hash = (53 * hash) + getScript().hashCode();
      if (getArgumentsCount() > 0) {
        hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getArgumentsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.class, org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.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();
        blockHeight_ = 0L;

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

        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest buildPartial() {
        org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest result = new org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest(this);
        int from_bitField0_ = bitField0_;
        result.blockHeight_ = blockHeight_;
        result.script_ = script_;
        if (((bitField0_ & 0x00000001) != 0)) {
          arguments_ = java.util.Collections.unmodifiableList(arguments_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.arguments_ = arguments_;
        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.access.Access.ExecuteScriptAtBlockHeightRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest other) {
        if (other == org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest.getDefaultInstance()) return this;
        if (other.getBlockHeight() != 0L) {
          setBlockHeight(other.getBlockHeight());
        }
        if (other.getScript() != com.google.protobuf.ByteString.EMPTY) {
          setScript(other.getScript());
        }
        if (!other.arguments_.isEmpty()) {
          if (arguments_.isEmpty()) {
            arguments_ = other.arguments_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureArgumentsIsMutable();
            arguments_.addAll(other.arguments_);
          }
          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.access.Access.ExecuteScriptAtBlockHeightRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long blockHeight_ ;
      /**
       * uint64 block_height = 1;
       * @return The blockHeight.
       */
      @java.lang.Override
      public long getBlockHeight() {
        return blockHeight_;
      }
      /**
       * uint64 block_height = 1;
       * @param value The blockHeight to set.
       * @return This builder for chaining.
       */
      public Builder setBlockHeight(long value) {
        
        blockHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 block_height = 1;
       * @return This builder for chaining.
       */
      public Builder clearBlockHeight() {
        
        blockHeight_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString script_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * bytes script = 2;
       * @return The script.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getScript() {
        return script_;
      }
      /**
       * bytes script = 2;
       * @param value The script to set.
       * @return This builder for chaining.
       */
      public Builder setScript(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        script_ = value;
        onChanged();
        return this;
      }
      /**
       * bytes script = 2;
       * @return This builder for chaining.
       */
      public Builder clearScript() {
        
        script_ = getDefaultInstance().getScript();
        onChanged();
        return this;
      }

      private java.util.List arguments_ = java.util.Collections.emptyList();
      private void ensureArgumentsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          arguments_ = new java.util.ArrayList(arguments_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes arguments = 3;
       * @return A list containing the arguments.
       */
      public java.util.List
          getArgumentsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(arguments_) : arguments_;
      }
      /**
       * repeated bytes arguments = 3;
       * @return The count of arguments.
       */
      public int getArgumentsCount() {
        return arguments_.size();
      }
      /**
       * repeated bytes arguments = 3;
       * @param index The index of the element to return.
       * @return The arguments at the given index.
       */
      public com.google.protobuf.ByteString getArguments(int index) {
        return arguments_.get(index);
      }
      /**
       * repeated bytes arguments = 3;
       * @param index The index to set the value at.
       * @param value The arguments to set.
       * @return This builder for chaining.
       */
      public Builder setArguments(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @param value The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addArguments(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgumentsIsMutable();
        arguments_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @param values The arguments to add.
       * @return This builder for chaining.
       */
      public Builder addAllArguments(
          java.lang.Iterable values) {
        ensureArgumentsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, arguments_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes arguments = 3;
       * @return This builder for chaining.
       */
      public Builder clearArguments() {
        arguments_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        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.access.ExecuteScriptAtBlockHeightRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecuteScriptAtBlockHeightRequest)
    private static final org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest();
    }

    public static org.onflow.protobuf.access.Access.ExecuteScriptAtBlockHeightRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecuteScriptResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecuteScriptResponse)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();

    /**
     * uint64 computation_usage = 3;
     * @return The computationUsage.
     */
    long getComputationUsage();
  }
  /**
   * Protobuf type {@code flow.access.ExecuteScriptResponse}
   */
  public static final class ExecuteScriptResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecuteScriptResponse)
      ExecuteScriptResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteScriptResponse.newBuilder() to construct.
    private ExecuteScriptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteScriptResponse() {
      value_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ExecuteScriptResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              value_ = input.readBytes();
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              break;
            }
            case 24: {

              computationUsage_ = input.readUInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecuteScriptResponse.class, org.onflow.protobuf.access.Access.ExecuteScriptResponse.Builder.class);
    }

    public static final int VALUE_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString value_;
    /**
     * bytes value = 1;
     * @return The value.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getValue() {
      return value_;
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    public static final int COMPUTATION_USAGE_FIELD_NUMBER = 3;
    private long computationUsage_;
    /**
     * uint64 computation_usage = 3;
     * @return The computationUsage.
     */
    @java.lang.Override
    public long getComputationUsage() {
      return computationUsage_;
    }

    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 (!value_.isEmpty()) {
        output.writeBytes(1, value_);
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      if (computationUsage_ != 0L) {
        output.writeUInt64(3, computationUsage_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!value_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, value_);
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      if (computationUsage_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, computationUsage_);
      }
      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.access.Access.ExecuteScriptResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecuteScriptResponse other = (org.onflow.protobuf.access.Access.ExecuteScriptResponse) obj;

      if (!getValue()
          .equals(other.getValue())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) return false;
      }
      if (getComputationUsage()
          != other.getComputationUsage()) 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) + VALUE_FIELD_NUMBER;
      hash = (53 * hash) + getValue().hashCode();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (37 * hash) + COMPUTATION_USAGE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getComputationUsage());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecuteScriptResponse.class, org.onflow.protobuf.access.Access.ExecuteScriptResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecuteScriptResponse.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();
        value_ = com.google.protobuf.ByteString.EMPTY;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        computationUsage_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecuteScriptResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecuteScriptResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecuteScriptResponse buildPartial() {
        org.onflow.protobuf.access.Access.ExecuteScriptResponse result = new org.onflow.protobuf.access.Access.ExecuteScriptResponse(this);
        result.value_ = value_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.build();
        }
        result.computationUsage_ = computationUsage_;
        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.access.Access.ExecuteScriptResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.ExecuteScriptResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecuteScriptResponse other) {
        if (other == org.onflow.protobuf.access.Access.ExecuteScriptResponse.getDefaultInstance()) return this;
        if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
          setValue(other.getValue());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        if (other.getComputationUsage() != 0L) {
          setComputationUsage(other.getComputationUsage());
        }
        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.access.Access.ExecuteScriptResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecuteScriptResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      private long computationUsage_ ;
      /**
       * uint64 computation_usage = 3;
       * @return The computationUsage.
       */
      @java.lang.Override
      public long getComputationUsage() {
        return computationUsage_;
      }
      /**
       * uint64 computation_usage = 3;
       * @param value The computationUsage to set.
       * @return This builder for chaining.
       */
      public Builder setComputationUsage(long value) {
        
        computationUsage_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 computation_usage = 3;
       * @return This builder for chaining.
       */
      public Builder clearComputationUsage() {
        
        computationUsage_ = 0L;
        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.access.ExecuteScriptResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecuteScriptResponse)
    private static final org.onflow.protobuf.access.Access.ExecuteScriptResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecuteScriptResponse();
    }

    public static org.onflow.protobuf.access.Access.ExecuteScriptResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetEventsForHeightRangeRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetEventsForHeightRangeRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string type = 1;
     * @return The type.
     */
    java.lang.String getType();
    /**
     * string type = 1;
     * @return The bytes for type.
     */
    com.google.protobuf.ByteString
        getTypeBytes();

    /**
     * uint64 start_height = 2;
     * @return The startHeight.
     */
    long getStartHeight();

    /**
     * uint64 end_height = 3;
     * @return The endHeight.
     */
    long getEndHeight();

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetEventsForHeightRangeRequest}
   */
  public static final class GetEventsForHeightRangeRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetEventsForHeightRangeRequest)
      GetEventsForHeightRangeRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetEventsForHeightRangeRequest.newBuilder() to construct.
    private GetEventsForHeightRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetEventsForHeightRangeRequest() {
      type_ = "";
      eventEncodingVersion_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetEventsForHeightRangeRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              java.lang.String s = input.readStringRequireUtf8();

              type_ = s;
              break;
            }
            case 16: {

              startHeight_ = input.readUInt64();
              break;
            }
            case 24: {

              endHeight_ = input.readUInt64();
              break;
            }
            case 32: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForHeightRangeRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForHeightRangeRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.class, org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.Builder.class);
    }

    public static final int TYPE_FIELD_NUMBER = 1;
    private volatile java.lang.Object type_;
    /**
     * string type = 1;
     * @return The type.
     */
    @java.lang.Override
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        type_ = s;
        return s;
      }
    }
    /**
     * string type = 1;
     * @return The bytes for type.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int START_HEIGHT_FIELD_NUMBER = 2;
    private long startHeight_;
    /**
     * uint64 start_height = 2;
     * @return The startHeight.
     */
    @java.lang.Override
    public long getStartHeight() {
      return startHeight_;
    }

    public static final int END_HEIGHT_FIELD_NUMBER = 3;
    private long endHeight_;
    /**
     * uint64 end_height = 3;
     * @return The endHeight.
     */
    @java.lang.Override
    public long getEndHeight() {
      return endHeight_;
    }

    public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 4;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 4;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (!getTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
      }
      if (startHeight_ != 0L) {
        output.writeUInt64(2, startHeight_);
      }
      if (endHeight_ != 0L) {
        output.writeUInt64(3, endHeight_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(4, eventEncodingVersion_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
      }
      if (startHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(2, startHeight_);
      }
      if (endHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, endHeight_);
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, eventEncodingVersion_);
      }
      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.access.Access.GetEventsForHeightRangeRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest other = (org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest) obj;

      if (!getType()
          .equals(other.getType())) return false;
      if (getStartHeight()
          != other.getStartHeight()) return false;
      if (getEndHeight()
          != other.getEndHeight()) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType().hashCode();
      hash = (37 * hash) + START_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getStartHeight());
      hash = (37 * hash) + END_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getEndHeight());
      hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForHeightRangeRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.class, org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.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();
        type_ = "";

        startHeight_ = 0L;

        endHeight_ = 0L;

        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForHeightRangeRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest result = new org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest(this);
        result.type_ = type_;
        result.startHeight_ = startHeight_;
        result.endHeight_ = endHeight_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetEventsForHeightRangeRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest.getDefaultInstance()) return this;
        if (!other.getType().isEmpty()) {
          type_ = other.type_;
          onChanged();
        }
        if (other.getStartHeight() != 0L) {
          setStartHeight(other.getStartHeight());
        }
        if (other.getEndHeight() != 0L) {
          setEndHeight(other.getEndHeight());
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetEventsForHeightRangeRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object type_ = "";
      /**
       * string type = 1;
       * @return The type.
       */
      public java.lang.String getType() {
        java.lang.Object ref = type_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          type_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string type = 1;
       * @return The bytes for type.
       */
      public com.google.protobuf.ByteString
          getTypeBytes() {
        java.lang.Object ref = type_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          type_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string type = 1;
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * string type = 1;
       * @return This builder for chaining.
       */
      public Builder clearType() {
        
        type_ = getDefaultInstance().getType();
        onChanged();
        return this;
      }
      /**
       * string type = 1;
       * @param value The bytes for type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        type_ = value;
        onChanged();
        return this;
      }

      private long startHeight_ ;
      /**
       * uint64 start_height = 2;
       * @return The startHeight.
       */
      @java.lang.Override
      public long getStartHeight() {
        return startHeight_;
      }
      /**
       * uint64 start_height = 2;
       * @param value The startHeight to set.
       * @return This builder for chaining.
       */
      public Builder setStartHeight(long value) {
        
        startHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 start_height = 2;
       * @return This builder for chaining.
       */
      public Builder clearStartHeight() {
        
        startHeight_ = 0L;
        onChanged();
        return this;
      }

      private long endHeight_ ;
      /**
       * uint64 end_height = 3;
       * @return The endHeight.
       */
      @java.lang.Override
      public long getEndHeight() {
        return endHeight_;
      }
      /**
       * uint64 end_height = 3;
       * @param value The endHeight to set.
       * @return This builder for chaining.
       */
      public Builder setEndHeight(long value) {
        
        endHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 end_height = 3;
       * @return This builder for chaining.
       */
      public Builder clearEndHeight() {
        
        endHeight_ = 0L;
        onChanged();
        return this;
      }

      private int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 4;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetEventsForHeightRangeRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetEventsForHeightRangeRequest)
    private static final org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest();
    }

    public static org.onflow.protobuf.access.Access.GetEventsForHeightRangeRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetEventsForBlockIDsRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetEventsForBlockIDsRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string type = 1;
     * @return The type.
     */
    java.lang.String getType();
    /**
     * string type = 1;
     * @return The bytes for type.
     */
    com.google.protobuf.ByteString
        getTypeBytes();

    /**
     * repeated bytes block_ids = 2;
     * @return A list containing the blockIds.
     */
    java.util.List getBlockIdsList();
    /**
     * repeated bytes block_ids = 2;
     * @return The count of blockIds.
     */
    int getBlockIdsCount();
    /**
     * repeated bytes block_ids = 2;
     * @param index The index of the element to return.
     * @return The blockIds at the given index.
     */
    com.google.protobuf.ByteString getBlockIds(int index);

    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    int getEventEncodingVersionValue();
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The eventEncodingVersion.
     */
    org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
  }
  /**
   * Protobuf type {@code flow.access.GetEventsForBlockIDsRequest}
   */
  public static final class GetEventsForBlockIDsRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetEventsForBlockIDsRequest)
      GetEventsForBlockIDsRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetEventsForBlockIDsRequest.newBuilder() to construct.
    private GetEventsForBlockIDsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetEventsForBlockIDsRequest() {
      type_ = "";
      blockIds_ = java.util.Collections.emptyList();
      eventEncodingVersion_ = 0;
    }

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

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

              type_ = s;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                blockIds_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              blockIds_.add(input.readBytes());
              break;
            }
            case 24: {
              int rawValue = input.readEnum();

              eventEncodingVersion_ = rawValue;
              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)) {
          blockIds_ = java.util.Collections.unmodifiableList(blockIds_); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForBlockIDsRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForBlockIDsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.Builder.class);
    }

    public static final int TYPE_FIELD_NUMBER = 1;
    private volatile java.lang.Object type_;
    /**
     * string type = 1;
     * @return The type.
     */
    @java.lang.Override
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        type_ = s;
        return s;
      }
    }
    /**
     * string type = 1;
     * @return The bytes for type.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BLOCK_IDS_FIELD_NUMBER = 2;
    private java.util.List blockIds_;
    /**
     * repeated bytes block_ids = 2;
     * @return A list containing the blockIds.
     */
    @java.lang.Override
    public java.util.List
        getBlockIdsList() {
      return blockIds_;
    }
    /**
     * repeated bytes block_ids = 2;
     * @return The count of blockIds.
     */
    public int getBlockIdsCount() {
      return blockIds_.size();
    }
    /**
     * repeated bytes block_ids = 2;
     * @param index The index of the element to return.
     * @return The blockIds at the given index.
     */
    public com.google.protobuf.ByteString getBlockIds(int index) {
      return blockIds_.get(index);
    }

    public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 3;
    private int eventEncodingVersion_;
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The enum numeric value on the wire for eventEncodingVersion.
     */
    @java.lang.Override public int getEventEncodingVersionValue() {
      return eventEncodingVersion_;
    }
    /**
     * .flow.entities.EventEncodingVersion event_encoding_version = 3;
     * @return The eventEncodingVersion.
     */
    @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
      @SuppressWarnings("deprecation")
      org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
      return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
    }

    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 (!getTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
      }
      for (int i = 0; i < blockIds_.size(); i++) {
        output.writeBytes(2, blockIds_.get(i));
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        output.writeEnum(3, eventEncodingVersion_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < blockIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(blockIds_.get(i));
        }
        size += dataSize;
        size += 1 * getBlockIdsList().size();
      }
      if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, eventEncodingVersion_);
      }
      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.access.Access.GetEventsForBlockIDsRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest other = (org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest) obj;

      if (!getType()
          .equals(other.getType())) return false;
      if (!getBlockIdsList()
          .equals(other.getBlockIdsList())) return false;
      if (eventEncodingVersion_ != other.eventEncodingVersion_) 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) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType().hashCode();
      if (getBlockIdsCount() > 0) {
        hash = (37 * hash) + BLOCK_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getBlockIdsList().hashCode();
      }
      hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + eventEncodingVersion_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForBlockIDsRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.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();
        type_ = "";

        blockIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        eventEncodingVersion_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetEventsForBlockIDsRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest result = new org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest(this);
        int from_bitField0_ = bitField0_;
        result.type_ = type_;
        if (((bitField0_ & 0x00000001) != 0)) {
          blockIds_ = java.util.Collections.unmodifiableList(blockIds_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.blockIds_ = blockIds_;
        result.eventEncodingVersion_ = eventEncodingVersion_;
        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.access.Access.GetEventsForBlockIDsRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest.getDefaultInstance()) return this;
        if (!other.getType().isEmpty()) {
          type_ = other.type_;
          onChanged();
        }
        if (!other.blockIds_.isEmpty()) {
          if (blockIds_.isEmpty()) {
            blockIds_ = other.blockIds_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureBlockIdsIsMutable();
            blockIds_.addAll(other.blockIds_);
          }
          onChanged();
        }
        if (other.eventEncodingVersion_ != 0) {
          setEventEncodingVersionValue(other.getEventEncodingVersionValue());
        }
        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.access.Access.GetEventsForBlockIDsRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object type_ = "";
      /**
       * string type = 1;
       * @return The type.
       */
      public java.lang.String getType() {
        java.lang.Object ref = type_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          type_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string type = 1;
       * @return The bytes for type.
       */
      public com.google.protobuf.ByteString
          getTypeBytes() {
        java.lang.Object ref = type_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          type_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string type = 1;
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * string type = 1;
       * @return This builder for chaining.
       */
      public Builder clearType() {
        
        type_ = getDefaultInstance().getType();
        onChanged();
        return this;
      }
      /**
       * string type = 1;
       * @param value The bytes for type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        type_ = value;
        onChanged();
        return this;
      }

      private java.util.List blockIds_ = java.util.Collections.emptyList();
      private void ensureBlockIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          blockIds_ = new java.util.ArrayList(blockIds_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated bytes block_ids = 2;
       * @return A list containing the blockIds.
       */
      public java.util.List
          getBlockIdsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(blockIds_) : blockIds_;
      }
      /**
       * repeated bytes block_ids = 2;
       * @return The count of blockIds.
       */
      public int getBlockIdsCount() {
        return blockIds_.size();
      }
      /**
       * repeated bytes block_ids = 2;
       * @param index The index of the element to return.
       * @return The blockIds at the given index.
       */
      public com.google.protobuf.ByteString getBlockIds(int index) {
        return blockIds_.get(index);
      }
      /**
       * repeated bytes block_ids = 2;
       * @param index The index to set the value at.
       * @param value The blockIds to set.
       * @return This builder for chaining.
       */
      public Builder setBlockIds(
          int index, com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureBlockIdsIsMutable();
        blockIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes block_ids = 2;
       * @param value The blockIds to add.
       * @return This builder for chaining.
       */
      public Builder addBlockIds(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureBlockIdsIsMutable();
        blockIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated bytes block_ids = 2;
       * @param values The blockIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllBlockIds(
          java.lang.Iterable values) {
        ensureBlockIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, blockIds_);
        onChanged();
        return this;
      }
      /**
       * repeated bytes block_ids = 2;
       * @return This builder for chaining.
       */
      public Builder clearBlockIds() {
        blockIds_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private int eventEncodingVersion_ = 0;
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return The enum numeric value on the wire for eventEncodingVersion.
       */
      @java.lang.Override public int getEventEncodingVersionValue() {
        return eventEncodingVersion_;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @param value The enum numeric value on the wire for eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersionValue(int value) {
        
        eventEncodingVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return The eventEncodingVersion.
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
        @SuppressWarnings("deprecation")
        org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
        return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @param value The eventEncodingVersion to set.
       * @return This builder for chaining.
       */
      public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        eventEncodingVersion_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .flow.entities.EventEncodingVersion event_encoding_version = 3;
       * @return This builder for chaining.
       */
      public Builder clearEventEncodingVersion() {
        
        eventEncodingVersion_ = 0;
        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.access.GetEventsForBlockIDsRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetEventsForBlockIDsRequest)
    private static final org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest();
    }

    public static org.onflow.protobuf.access.Access.GetEventsForBlockIDsRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface EventsResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.EventsResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    java.util.List 
        getResultsList();
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    org.onflow.protobuf.access.Access.EventsResponse.Result getResults(int index);
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    int getResultsCount();
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    java.util.List 
        getResultsOrBuilderList();
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder getResultsOrBuilder(
        int index);

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.EventsResponse}
   */
  public static final class EventsResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.EventsResponse)
      EventsResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use EventsResponse.newBuilder() to construct.
    private EventsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private EventsResponse() {
      results_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EventsResponse(
        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)) {
                results_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              results_.add(
                  input.readMessage(org.onflow.protobuf.access.Access.EventsResponse.Result.parser(), extensionRegistry));
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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)) {
          results_ = java.util.Collections.unmodifiableList(results_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.EventsResponse.class, org.onflow.protobuf.access.Access.EventsResponse.Builder.class);
    }

    public interface ResultOrBuilder extends
        // @@protoc_insertion_point(interface_extends:flow.access.EventsResponse.Result)
        com.google.protobuf.MessageOrBuilder {

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

      /**
       * uint64 block_height = 2;
       * @return The blockHeight.
       */
      long getBlockHeight();

      /**
       * repeated .flow.entities.Event events = 3;
       */
      java.util.List 
          getEventsList();
      /**
       * repeated .flow.entities.Event events = 3;
       */
      org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index);
      /**
       * repeated .flow.entities.Event events = 3;
       */
      int getEventsCount();
      /**
       * repeated .flow.entities.Event events = 3;
       */
      java.util.List 
          getEventsOrBuilderList();
      /**
       * repeated .flow.entities.Event events = 3;
       */
      org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
          int index);

      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       * @return Whether the blockTimestamp field is set.
       */
      boolean hasBlockTimestamp();
      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       * @return The blockTimestamp.
       */
      com.google.protobuf.Timestamp getBlockTimestamp();
      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       */
      com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder();
    }
    /**
     * Protobuf type {@code flow.access.EventsResponse.Result}
     */
    public static final class Result extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:flow.access.EventsResponse.Result)
        ResultOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use Result.newBuilder() to construct.
      private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) {
        super(builder);
      }
      private Result() {
        blockId_ = com.google.protobuf.ByteString.EMPTY;
        events_ = java.util.Collections.emptyList();
      }

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

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

                blockHeight_ = input.readUInt64();
                break;
              }
              case 26: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  events_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000001;
                }
                events_.add(
                    input.readMessage(org.onflow.protobuf.entities.EventOuterClass.Event.parser(), extensionRegistry));
                break;
              }
              case 34: {
                com.google.protobuf.Timestamp.Builder subBuilder = null;
                if (blockTimestamp_ != null) {
                  subBuilder = blockTimestamp_.toBuilder();
                }
                blockTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(blockTimestamp_);
                  blockTimestamp_ = subBuilder.buildPartial();
                }

                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)) {
            events_ = java.util.Collections.unmodifiableList(events_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_Result_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_Result_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.EventsResponse.Result.class, org.onflow.protobuf.access.Access.EventsResponse.Result.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 BLOCK_HEIGHT_FIELD_NUMBER = 2;
      private long blockHeight_;
      /**
       * uint64 block_height = 2;
       * @return The blockHeight.
       */
      @java.lang.Override
      public long getBlockHeight() {
        return blockHeight_;
      }

      public static final int EVENTS_FIELD_NUMBER = 3;
      private java.util.List events_;
      /**
       * repeated .flow.entities.Event events = 3;
       */
      @java.lang.Override
      public java.util.List getEventsList() {
        return events_;
      }
      /**
       * repeated .flow.entities.Event events = 3;
       */
      @java.lang.Override
      public java.util.List 
          getEventsOrBuilderList() {
        return events_;
      }
      /**
       * repeated .flow.entities.Event events = 3;
       */
      @java.lang.Override
      public int getEventsCount() {
        return events_.size();
      }
      /**
       * repeated .flow.entities.Event events = 3;
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
        return events_.get(index);
      }
      /**
       * repeated .flow.entities.Event events = 3;
       */
      @java.lang.Override
      public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
          int index) {
        return events_.get(index);
      }

      public static final int BLOCK_TIMESTAMP_FIELD_NUMBER = 4;
      private com.google.protobuf.Timestamp blockTimestamp_;
      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       * @return Whether the blockTimestamp field is set.
       */
      @java.lang.Override
      public boolean hasBlockTimestamp() {
        return blockTimestamp_ != null;
      }
      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       * @return The blockTimestamp.
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getBlockTimestamp() {
        return blockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_;
      }
      /**
       * .google.protobuf.Timestamp block_timestamp = 4;
       */
      @java.lang.Override
      public com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder() {
        return getBlockTimestamp();
      }

      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 (blockHeight_ != 0L) {
          output.writeUInt64(2, blockHeight_);
        }
        for (int i = 0; i < events_.size(); i++) {
          output.writeMessage(3, events_.get(i));
        }
        if (blockTimestamp_ != null) {
          output.writeMessage(4, getBlockTimestamp());
        }
        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 (blockHeight_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt64Size(2, blockHeight_);
        }
        for (int i = 0; i < events_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, events_.get(i));
        }
        if (blockTimestamp_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, getBlockTimestamp());
        }
        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.access.Access.EventsResponse.Result)) {
          return super.equals(obj);
        }
        org.onflow.protobuf.access.Access.EventsResponse.Result other = (org.onflow.protobuf.access.Access.EventsResponse.Result) obj;

        if (!getBlockId()
            .equals(other.getBlockId())) return false;
        if (getBlockHeight()
            != other.getBlockHeight()) return false;
        if (!getEventsList()
            .equals(other.getEventsList())) return false;
        if (hasBlockTimestamp() != other.hasBlockTimestamp()) return false;
        if (hasBlockTimestamp()) {
          if (!getBlockTimestamp()
              .equals(other.getBlockTimestamp())) 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) + BLOCK_HEIGHT_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBlockHeight());
        if (getEventsCount() > 0) {
          hash = (37 * hash) + EVENTS_FIELD_NUMBER;
          hash = (53 * hash) + getEventsList().hashCode();
        }
        if (hasBlockTimestamp()) {
          hash = (37 * hash) + BLOCK_TIMESTAMP_FIELD_NUMBER;
          hash = (53 * hash) + getBlockTimestamp().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_Result_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.onflow.protobuf.access.Access.EventsResponse.Result.class, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder.class);
        }

        // Construct using org.onflow.protobuf.access.Access.EventsResponse.Result.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          blockHeight_ = 0L;

          if (eventsBuilder_ == null) {
            events_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            eventsBuilder_.clear();
          }
          if (blockTimestampBuilder_ == null) {
            blockTimestamp_ = null;
          } else {
            blockTimestamp_ = null;
            blockTimestampBuilder_ = null;
          }
          return this;
        }

        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_Result_descriptor;
        }

        @java.lang.Override
        public org.onflow.protobuf.access.Access.EventsResponse.Result getDefaultInstanceForType() {
          return org.onflow.protobuf.access.Access.EventsResponse.Result.getDefaultInstance();
        }

        @java.lang.Override
        public org.onflow.protobuf.access.Access.EventsResponse.Result build() {
          org.onflow.protobuf.access.Access.EventsResponse.Result result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.onflow.protobuf.access.Access.EventsResponse.Result buildPartial() {
          org.onflow.protobuf.access.Access.EventsResponse.Result result = new org.onflow.protobuf.access.Access.EventsResponse.Result(this);
          int from_bitField0_ = bitField0_;
          result.blockId_ = blockId_;
          result.blockHeight_ = blockHeight_;
          if (eventsBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              events_ = java.util.Collections.unmodifiableList(events_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.events_ = events_;
          } else {
            result.events_ = eventsBuilder_.build();
          }
          if (blockTimestampBuilder_ == null) {
            result.blockTimestamp_ = blockTimestamp_;
          } else {
            result.blockTimestamp_ = blockTimestampBuilder_.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.access.Access.EventsResponse.Result) {
            return mergeFrom((org.onflow.protobuf.access.Access.EventsResponse.Result)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.onflow.protobuf.access.Access.EventsResponse.Result other) {
          if (other == org.onflow.protobuf.access.Access.EventsResponse.Result.getDefaultInstance()) return this;
          if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
            setBlockId(other.getBlockId());
          }
          if (other.getBlockHeight() != 0L) {
            setBlockHeight(other.getBlockHeight());
          }
          if (eventsBuilder_ == null) {
            if (!other.events_.isEmpty()) {
              if (events_.isEmpty()) {
                events_ = other.events_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureEventsIsMutable();
                events_.addAll(other.events_);
              }
              onChanged();
            }
          } else {
            if (!other.events_.isEmpty()) {
              if (eventsBuilder_.isEmpty()) {
                eventsBuilder_.dispose();
                eventsBuilder_ = null;
                events_ = other.events_;
                bitField0_ = (bitField0_ & ~0x00000001);
                eventsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getEventsFieldBuilder() : null;
              } else {
                eventsBuilder_.addAllMessages(other.events_);
              }
            }
          }
          if (other.hasBlockTimestamp()) {
            mergeBlockTimestamp(other.getBlockTimestamp());
          }
          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.access.Access.EventsResponse.Result parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (org.onflow.protobuf.access.Access.EventsResponse.Result) 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 long blockHeight_ ;
        /**
         * uint64 block_height = 2;
         * @return The blockHeight.
         */
        @java.lang.Override
        public long getBlockHeight() {
          return blockHeight_;
        }
        /**
         * uint64 block_height = 2;
         * @param value The blockHeight to set.
         * @return This builder for chaining.
         */
        public Builder setBlockHeight(long value) {
          
          blockHeight_ = value;
          onChanged();
          return this;
        }
        /**
         * uint64 block_height = 2;
         * @return This builder for chaining.
         */
        public Builder clearBlockHeight() {
          
          blockHeight_ = 0L;
          onChanged();
          return this;
        }

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

        private com.google.protobuf.RepeatedFieldBuilderV3<
            org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;

        /**
         * repeated .flow.entities.Event events = 3;
         */
        public java.util.List getEventsList() {
          if (eventsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(events_);
          } else {
            return eventsBuilder_.getMessageList();
          }
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public int getEventsCount() {
          if (eventsBuilder_ == null) {
            return events_.size();
          } else {
            return eventsBuilder_.getCount();
          }
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
          if (eventsBuilder_ == null) {
            return events_.get(index);
          } else {
            return eventsBuilder_.getMessage(index);
          }
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder setEvents(
            int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
          if (eventsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureEventsIsMutable();
            events_.set(index, value);
            onChanged();
          } else {
            eventsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder setEvents(
            int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
          if (eventsBuilder_ == null) {
            ensureEventsIsMutable();
            events_.set(index, builderForValue.build());
            onChanged();
          } else {
            eventsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder addEvents(org.onflow.protobuf.entities.EventOuterClass.Event value) {
          if (eventsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureEventsIsMutable();
            events_.add(value);
            onChanged();
          } else {
            eventsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder addEvents(
            int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
          if (eventsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureEventsIsMutable();
            events_.add(index, value);
            onChanged();
          } else {
            eventsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder addEvents(
            org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
          if (eventsBuilder_ == null) {
            ensureEventsIsMutable();
            events_.add(builderForValue.build());
            onChanged();
          } else {
            eventsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder addEvents(
            int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
          if (eventsBuilder_ == null) {
            ensureEventsIsMutable();
            events_.add(index, builderForValue.build());
            onChanged();
          } else {
            eventsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder addAllEvents(
            java.lang.Iterable values) {
          if (eventsBuilder_ == null) {
            ensureEventsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, events_);
            onChanged();
          } else {
            eventsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder clearEvents() {
          if (eventsBuilder_ == null) {
            events_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            eventsBuilder_.clear();
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public Builder removeEvents(int index) {
          if (eventsBuilder_ == null) {
            ensureEventsIsMutable();
            events_.remove(index);
            onChanged();
          } else {
            eventsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public org.onflow.protobuf.entities.EventOuterClass.Event.Builder getEventsBuilder(
            int index) {
          return getEventsFieldBuilder().getBuilder(index);
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
            int index) {
          if (eventsBuilder_ == null) {
            return events_.get(index);  } else {
            return eventsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public java.util.List 
             getEventsOrBuilderList() {
          if (eventsBuilder_ != null) {
            return eventsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(events_);
          }
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder() {
          return getEventsFieldBuilder().addBuilder(
              org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder(
            int index) {
          return getEventsFieldBuilder().addBuilder(
              index, org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
        }
        /**
         * repeated .flow.entities.Event events = 3;
         */
        public java.util.List 
             getEventsBuilderList() {
          return getEventsFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> 
            getEventsFieldBuilder() {
          if (eventsBuilder_ == null) {
            eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>(
                    events_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            events_ = null;
          }
          return eventsBuilder_;
        }

        private com.google.protobuf.Timestamp blockTimestamp_;
        private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> blockTimestampBuilder_;
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         * @return Whether the blockTimestamp field is set.
         */
        public boolean hasBlockTimestamp() {
          return blockTimestampBuilder_ != null || blockTimestamp_ != null;
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         * @return The blockTimestamp.
         */
        public com.google.protobuf.Timestamp getBlockTimestamp() {
          if (blockTimestampBuilder_ == null) {
            return blockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_;
          } else {
            return blockTimestampBuilder_.getMessage();
          }
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public Builder setBlockTimestamp(com.google.protobuf.Timestamp value) {
          if (blockTimestampBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            blockTimestamp_ = value;
            onChanged();
          } else {
            blockTimestampBuilder_.setMessage(value);
          }

          return this;
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public Builder setBlockTimestamp(
            com.google.protobuf.Timestamp.Builder builderForValue) {
          if (blockTimestampBuilder_ == null) {
            blockTimestamp_ = builderForValue.build();
            onChanged();
          } else {
            blockTimestampBuilder_.setMessage(builderForValue.build());
          }

          return this;
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public Builder mergeBlockTimestamp(com.google.protobuf.Timestamp value) {
          if (blockTimestampBuilder_ == null) {
            if (blockTimestamp_ != null) {
              blockTimestamp_ =
                com.google.protobuf.Timestamp.newBuilder(blockTimestamp_).mergeFrom(value).buildPartial();
            } else {
              blockTimestamp_ = value;
            }
            onChanged();
          } else {
            blockTimestampBuilder_.mergeFrom(value);
          }

          return this;
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public Builder clearBlockTimestamp() {
          if (blockTimestampBuilder_ == null) {
            blockTimestamp_ = null;
            onChanged();
          } else {
            blockTimestamp_ = null;
            blockTimestampBuilder_ = null;
          }

          return this;
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public com.google.protobuf.Timestamp.Builder getBlockTimestampBuilder() {
          
          onChanged();
          return getBlockTimestampFieldBuilder().getBuilder();
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        public com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder() {
          if (blockTimestampBuilder_ != null) {
            return blockTimestampBuilder_.getMessageOrBuilder();
          } else {
            return blockTimestamp_ == null ?
                com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_;
          }
        }
        /**
         * .google.protobuf.Timestamp block_timestamp = 4;
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
            getBlockTimestampFieldBuilder() {
          if (blockTimestampBuilder_ == null) {
            blockTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                    getBlockTimestamp(),
                    getParentForChildren(),
                    isClean());
            blockTimestamp_ = null;
          }
          return blockTimestampBuilder_;
        }
        @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.access.EventsResponse.Result)
      }

      // @@protoc_insertion_point(class_scope:flow.access.EventsResponse.Result)
      private static final org.onflow.protobuf.access.Access.EventsResponse.Result DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.EventsResponse.Result();
      }

      public static org.onflow.protobuf.access.Access.EventsResponse.Result getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

    }

    public static final int RESULTS_FIELD_NUMBER = 1;
    private java.util.List results_;
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    @java.lang.Override
    public java.util.List getResultsList() {
      return results_;
    }
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    @java.lang.Override
    public java.util.List 
        getResultsOrBuilderList() {
      return results_;
    }
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    @java.lang.Override
    public int getResultsCount() {
      return results_.size();
    }
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.access.Access.EventsResponse.Result getResults(int index) {
      return results_.get(index);
    }
    /**
     * repeated .flow.access.EventsResponse.Result results = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder getResultsOrBuilder(
        int index) {
      return results_.get(index);
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 < results_.size(); i++) {
        output.writeMessage(1, results_.get(i));
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < results_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, results_.get(i));
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.EventsResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.EventsResponse other = (org.onflow.protobuf.access.Access.EventsResponse) obj;

      if (!getResultsList()
          .equals(other.getResultsList())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (getResultsCount() > 0) {
        hash = (37 * hash) + RESULTS_FIELD_NUMBER;
        hash = (53 * hash) + getResultsList().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.EventsResponse.class, org.onflow.protobuf.access.Access.EventsResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.EventsResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getResultsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (resultsBuilder_ == null) {
          results_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          resultsBuilder_.clear();
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_EventsResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.EventsResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.EventsResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.EventsResponse buildPartial() {
        org.onflow.protobuf.access.Access.EventsResponse result = new org.onflow.protobuf.access.Access.EventsResponse(this);
        int from_bitField0_ = bitField0_;
        if (resultsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            results_ = java.util.Collections.unmodifiableList(results_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.results_ = results_;
        } else {
          result.results_ = resultsBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.EventsResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.EventsResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.EventsResponse other) {
        if (other == org.onflow.protobuf.access.Access.EventsResponse.getDefaultInstance()) return this;
        if (resultsBuilder_ == null) {
          if (!other.results_.isEmpty()) {
            if (results_.isEmpty()) {
              results_ = other.results_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureResultsIsMutable();
              results_.addAll(other.results_);
            }
            onChanged();
          }
        } else {
          if (!other.results_.isEmpty()) {
            if (resultsBuilder_.isEmpty()) {
              resultsBuilder_.dispose();
              resultsBuilder_ = null;
              results_ = other.results_;
              bitField0_ = (bitField0_ & ~0x00000001);
              resultsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getResultsFieldBuilder() : null;
            } else {
              resultsBuilder_.addAllMessages(other.results_);
            }
          }
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.EventsResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.EventsResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.access.Access.EventsResponse.Result, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder, org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder> resultsBuilder_;

      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public java.util.List getResultsList() {
        if (resultsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(results_);
        } else {
          return resultsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public int getResultsCount() {
        if (resultsBuilder_ == null) {
          return results_.size();
        } else {
          return resultsBuilder_.getCount();
        }
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public org.onflow.protobuf.access.Access.EventsResponse.Result getResults(int index) {
        if (resultsBuilder_ == null) {
          return results_.get(index);
        } else {
          return resultsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder setResults(
          int index, org.onflow.protobuf.access.Access.EventsResponse.Result value) {
        if (resultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultsIsMutable();
          results_.set(index, value);
          onChanged();
        } else {
          resultsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder setResults(
          int index, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder builderForValue) {
        if (resultsBuilder_ == null) {
          ensureResultsIsMutable();
          results_.set(index, builderForValue.build());
          onChanged();
        } else {
          resultsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder addResults(org.onflow.protobuf.access.Access.EventsResponse.Result value) {
        if (resultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultsIsMutable();
          results_.add(value);
          onChanged();
        } else {
          resultsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder addResults(
          int index, org.onflow.protobuf.access.Access.EventsResponse.Result value) {
        if (resultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultsIsMutable();
          results_.add(index, value);
          onChanged();
        } else {
          resultsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder addResults(
          org.onflow.protobuf.access.Access.EventsResponse.Result.Builder builderForValue) {
        if (resultsBuilder_ == null) {
          ensureResultsIsMutable();
          results_.add(builderForValue.build());
          onChanged();
        } else {
          resultsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder addResults(
          int index, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder builderForValue) {
        if (resultsBuilder_ == null) {
          ensureResultsIsMutable();
          results_.add(index, builderForValue.build());
          onChanged();
        } else {
          resultsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder addAllResults(
          java.lang.Iterable values) {
        if (resultsBuilder_ == null) {
          ensureResultsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, results_);
          onChanged();
        } else {
          resultsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder clearResults() {
        if (resultsBuilder_ == null) {
          results_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          resultsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public Builder removeResults(int index) {
        if (resultsBuilder_ == null) {
          ensureResultsIsMutable();
          results_.remove(index);
          onChanged();
        } else {
          resultsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public org.onflow.protobuf.access.Access.EventsResponse.Result.Builder getResultsBuilder(
          int index) {
        return getResultsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder getResultsOrBuilder(
          int index) {
        if (resultsBuilder_ == null) {
          return results_.get(index);  } else {
          return resultsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public java.util.List 
           getResultsOrBuilderList() {
        if (resultsBuilder_ != null) {
          return resultsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(results_);
        }
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public org.onflow.protobuf.access.Access.EventsResponse.Result.Builder addResultsBuilder() {
        return getResultsFieldBuilder().addBuilder(
            org.onflow.protobuf.access.Access.EventsResponse.Result.getDefaultInstance());
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public org.onflow.protobuf.access.Access.EventsResponse.Result.Builder addResultsBuilder(
          int index) {
        return getResultsFieldBuilder().addBuilder(
            index, org.onflow.protobuf.access.Access.EventsResponse.Result.getDefaultInstance());
      }
      /**
       * repeated .flow.access.EventsResponse.Result results = 1;
       */
      public java.util.List 
           getResultsBuilderList() {
        return getResultsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.onflow.protobuf.access.Access.EventsResponse.Result, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder, org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder> 
          getResultsFieldBuilder() {
        if (resultsBuilder_ == null) {
          resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.onflow.protobuf.access.Access.EventsResponse.Result, org.onflow.protobuf.access.Access.EventsResponse.Result.Builder, org.onflow.protobuf.access.Access.EventsResponse.ResultOrBuilder>(
                  results_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          results_ = null;
        }
        return resultsBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.EventsResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.EventsResponse)
    private static final org.onflow.protobuf.access.Access.EventsResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.EventsResponse();
    }

    public static org.onflow.protobuf.access.Access.EventsResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetNetworkParametersRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetNetworkParametersRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code flow.access.GetNetworkParametersRequest}
   */
  public static final class GetNetworkParametersRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetNetworkParametersRequest)
      GetNetworkParametersRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetNetworkParametersRequest.newBuilder() to construct.
    private GetNetworkParametersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetNetworkParametersRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetNetworkParametersRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetNetworkParametersRequest.class, org.onflow.protobuf.access.Access.GetNetworkParametersRequest.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      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.access.Access.GetNetworkParametersRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetNetworkParametersRequest other = (org.onflow.protobuf.access.Access.GetNetworkParametersRequest) obj;

      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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetNetworkParametersRequest.class, org.onflow.protobuf.access.Access.GetNetworkParametersRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetNetworkParametersRequest.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();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNetworkParametersRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetNetworkParametersRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNetworkParametersRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetNetworkParametersRequest result = new org.onflow.protobuf.access.Access.GetNetworkParametersRequest(this);
        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.access.Access.GetNetworkParametersRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetNetworkParametersRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetNetworkParametersRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetNetworkParametersRequest.getDefaultInstance()) return this;
        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.access.Access.GetNetworkParametersRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetNetworkParametersRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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.access.GetNetworkParametersRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetNetworkParametersRequest)
    private static final org.onflow.protobuf.access.Access.GetNetworkParametersRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetNetworkParametersRequest();
    }

    public static org.onflow.protobuf.access.Access.GetNetworkParametersRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetNetworkParametersResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetNetworkParametersResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string chain_id = 1;
     * @return The chainId.
     */
    java.lang.String getChainId();
    /**
     * string chain_id = 1;
     * @return The bytes for chainId.
     */
    com.google.protobuf.ByteString
        getChainIdBytes();
  }
  /**
   * Protobuf type {@code flow.access.GetNetworkParametersResponse}
   */
  public static final class GetNetworkParametersResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetNetworkParametersResponse)
      GetNetworkParametersResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetNetworkParametersResponse.newBuilder() to construct.
    private GetNetworkParametersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetNetworkParametersResponse() {
      chainId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetNetworkParametersResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              java.lang.String s = input.readStringRequireUtf8();

              chainId_ = s;
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetNetworkParametersResponse.class, org.onflow.protobuf.access.Access.GetNetworkParametersResponse.Builder.class);
    }

    public static final int CHAIN_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object chainId_;
    /**
     * string chain_id = 1;
     * @return The chainId.
     */
    @java.lang.Override
    public java.lang.String getChainId() {
      java.lang.Object ref = chainId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        chainId_ = s;
        return s;
      }
    }
    /**
     * string chain_id = 1;
     * @return The bytes for chainId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getChainIdBytes() {
      java.lang.Object ref = chainId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        chainId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!getChainIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chainId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getChainIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chainId_);
      }
      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.access.Access.GetNetworkParametersResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetNetworkParametersResponse other = (org.onflow.protobuf.access.Access.GetNetworkParametersResponse) obj;

      if (!getChainId()
          .equals(other.getChainId())) 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) + CHAIN_ID_FIELD_NUMBER;
      hash = (53 * hash) + getChainId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetNetworkParametersResponse.class, org.onflow.protobuf.access.Access.GetNetworkParametersResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetNetworkParametersResponse.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();
        chainId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetNetworkParametersResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNetworkParametersResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetNetworkParametersResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetNetworkParametersResponse buildPartial() {
        org.onflow.protobuf.access.Access.GetNetworkParametersResponse result = new org.onflow.protobuf.access.Access.GetNetworkParametersResponse(this);
        result.chainId_ = chainId_;
        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.access.Access.GetNetworkParametersResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetNetworkParametersResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetNetworkParametersResponse other) {
        if (other == org.onflow.protobuf.access.Access.GetNetworkParametersResponse.getDefaultInstance()) return this;
        if (!other.getChainId().isEmpty()) {
          chainId_ = other.chainId_;
          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.access.Access.GetNetworkParametersResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetNetworkParametersResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object chainId_ = "";
      /**
       * string chain_id = 1;
       * @return The chainId.
       */
      public java.lang.String getChainId() {
        java.lang.Object ref = chainId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          chainId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string chain_id = 1;
       * @return The bytes for chainId.
       */
      public com.google.protobuf.ByteString
          getChainIdBytes() {
        java.lang.Object ref = chainId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          chainId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string chain_id = 1;
       * @param value The chainId to set.
       * @return This builder for chaining.
       */
      public Builder setChainId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        chainId_ = value;
        onChanged();
        return this;
      }
      /**
       * string chain_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearChainId() {
        
        chainId_ = getDefaultInstance().getChainId();
        onChanged();
        return this;
      }
      /**
       * string chain_id = 1;
       * @param value The bytes for chainId to set.
       * @return This builder for chaining.
       */
      public Builder setChainIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        chainId_ = value;
        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.access.GetNetworkParametersResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetNetworkParametersResponse)
    private static final org.onflow.protobuf.access.Access.GetNetworkParametersResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetNetworkParametersResponse();
    }

    public static org.onflow.protobuf.access.Access.GetNetworkParametersResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetLatestProtocolStateSnapshotRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetLatestProtocolStateSnapshotRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code flow.access.GetLatestProtocolStateSnapshotRequest}
   */
  public static final class GetLatestProtocolStateSnapshotRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetLatestProtocolStateSnapshotRequest)
      GetLatestProtocolStateSnapshotRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetLatestProtocolStateSnapshotRequest.newBuilder() to construct.
    private GetLatestProtocolStateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetLatestProtocolStateSnapshotRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetLatestProtocolStateSnapshotRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.class, org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.Builder.class);
    }

    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 {
      unknownFields.writeTo(output);
    }

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

      size = 0;
      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.access.Access.GetLatestProtocolStateSnapshotRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest other = (org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest) obj;

      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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.class, org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.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();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest result = new org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest(this);
        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.access.Access.GetLatestProtocolStateSnapshotRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest.getDefaultInstance()) return this;
        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.access.Access.GetLatestProtocolStateSnapshotRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        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.access.GetLatestProtocolStateSnapshotRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetLatestProtocolStateSnapshotRequest)
    private static final org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest();
    }

    public static org.onflow.protobuf.access.Access.GetLatestProtocolStateSnapshotRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetProtocolStateSnapshotByBlockIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetProtocolStateSnapshotByBlockIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes block_id = 1;
     * @return The blockId.
     */
    com.google.protobuf.ByteString getBlockId();
  }
  /**
   * Protobuf type {@code flow.access.GetProtocolStateSnapshotByBlockIDRequest}
   */
  public static final class GetProtocolStateSnapshotByBlockIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetProtocolStateSnapshotByBlockIDRequest)
      GetProtocolStateSnapshotByBlockIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetProtocolStateSnapshotByBlockIDRequest.newBuilder() to construct.
    private GetProtocolStateSnapshotByBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetProtocolStateSnapshotByBlockIDRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetProtocolStateSnapshotByBlockIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.class, org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetProtocolStateSnapshotByBlockIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest other = (org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.class, org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest result = new org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest(this);
        result.blockId_ = blockId_;
        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.access.Access.GetProtocolStateSnapshotByBlockIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        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.access.Access.GetProtocolStateSnapshotByBlockIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetProtocolStateSnapshotByBlockIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetProtocolStateSnapshotByBlockIDRequest)
    private static final org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByBlockIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetProtocolStateSnapshotByHeightRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetProtocolStateSnapshotByHeightRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * uint64 block_height = 1;
     * @return The blockHeight.
     */
    long getBlockHeight();
  }
  /**
   * Protobuf type {@code flow.access.GetProtocolStateSnapshotByHeightRequest}
   */
  public static final class GetProtocolStateSnapshotByHeightRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetProtocolStateSnapshotByHeightRequest)
      GetProtocolStateSnapshotByHeightRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetProtocolStateSnapshotByHeightRequest.newBuilder() to construct.
    private GetProtocolStateSnapshotByHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetProtocolStateSnapshotByHeightRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetProtocolStateSnapshotByHeightRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 8: {

              blockHeight_ = input.readUInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.class, org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.Builder.class);
    }

    public static final int BLOCK_HEIGHT_FIELD_NUMBER = 1;
    private long blockHeight_;
    /**
     * uint64 block_height = 1;
     * @return The blockHeight.
     */
    @java.lang.Override
    public long getBlockHeight() {
      return blockHeight_;
    }

    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 (blockHeight_ != 0L) {
        output.writeUInt64(1, blockHeight_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (blockHeight_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, blockHeight_);
      }
      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.access.Access.GetProtocolStateSnapshotByHeightRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest other = (org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest) obj;

      if (getBlockHeight()
          != other.getBlockHeight()) 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_HEIGHT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBlockHeight());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.class, org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.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();
        blockHeight_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest result = new org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest(this);
        result.blockHeight_ = blockHeight_;
        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.access.Access.GetProtocolStateSnapshotByHeightRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest.getDefaultInstance()) return this;
        if (other.getBlockHeight() != 0L) {
          setBlockHeight(other.getBlockHeight());
        }
        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.access.Access.GetProtocolStateSnapshotByHeightRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long blockHeight_ ;
      /**
       * uint64 block_height = 1;
       * @return The blockHeight.
       */
      @java.lang.Override
      public long getBlockHeight() {
        return blockHeight_;
      }
      /**
       * uint64 block_height = 1;
       * @param value The blockHeight to set.
       * @return This builder for chaining.
       */
      public Builder setBlockHeight(long value) {
        
        blockHeight_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 block_height = 1;
       * @return This builder for chaining.
       */
      public Builder clearBlockHeight() {
        
        blockHeight_ = 0L;
        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.access.GetProtocolStateSnapshotByHeightRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetProtocolStateSnapshotByHeightRequest)
    private static final org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest();
    }

    public static org.onflow.protobuf.access.Access.GetProtocolStateSnapshotByHeightRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ProtocolStateSnapshotResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ProtocolStateSnapshotResponse)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.ProtocolStateSnapshotResponse}
   */
  public static final class ProtocolStateSnapshotResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ProtocolStateSnapshotResponse)
      ProtocolStateSnapshotResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ProtocolStateSnapshotResponse.newBuilder() to construct.
    private ProtocolStateSnapshotResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ProtocolStateSnapshotResponse() {
      serializedSnapshot_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ProtocolStateSnapshotResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {

              serializedSnapshot_ = input.readBytes();
              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ProtocolStateSnapshotResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ProtocolStateSnapshotResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.class, org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.Builder.class);
    }

    public static final int SERIALIZEDSNAPSHOT_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString serializedSnapshot_;
    /**
     * bytes serializedSnapshot = 1;
     * @return The serializedSnapshot.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getSerializedSnapshot() {
      return serializedSnapshot_;
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (!serializedSnapshot_.isEmpty()) {
        output.writeBytes(1, serializedSnapshot_);
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!serializedSnapshot_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, serializedSnapshot_);
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.ProtocolStateSnapshotResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse other = (org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse) obj;

      if (!getSerializedSnapshot()
          .equals(other.getSerializedSnapshot())) return false;
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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) + SERIALIZEDSNAPSHOT_FIELD_NUMBER;
      hash = (53 * hash) + getSerializedSnapshot().hashCode();
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ProtocolStateSnapshotResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.class, org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.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();
        serializedSnapshot_ = com.google.protobuf.ByteString.EMPTY;

        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ProtocolStateSnapshotResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse buildPartial() {
        org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse result = new org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse(this);
        result.serializedSnapshot_ = serializedSnapshot_;
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.ProtocolStateSnapshotResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse other) {
        if (other == org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse.getDefaultInstance()) return this;
        if (other.getSerializedSnapshot() != com.google.protobuf.ByteString.EMPTY) {
          setSerializedSnapshot(other.getSerializedSnapshot());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.ProtocolStateSnapshotResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.ProtocolStateSnapshotResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ProtocolStateSnapshotResponse)
    private static final org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse();
    }

    public static org.onflow.protobuf.access.Access.ProtocolStateSnapshotResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetExecutionResultForBlockIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetExecutionResultForBlockIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes block_id = 1;
     * @return The blockId.
     */
    com.google.protobuf.ByteString getBlockId();
  }
  /**
   * Protobuf type {@code flow.access.GetExecutionResultForBlockIDRequest}
   */
  public static final class GetExecutionResultForBlockIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetExecutionResultForBlockIDRequest)
      GetExecutionResultForBlockIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetExecutionResultForBlockIDRequest.newBuilder() to construct.
    private GetExecutionResultForBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetExecutionResultForBlockIDRequest() {
      blockId_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetExecutionResultForBlockIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultForBlockIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultForBlockIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.class, org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetExecutionResultForBlockIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest other = (org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest) obj;

      if (!getBlockId()
          .equals(other.getBlockId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultForBlockIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.class, org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.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();
        blockId_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultForBlockIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest result = new org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest(this);
        result.blockId_ = blockId_;
        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.access.Access.GetExecutionResultForBlockIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest.getDefaultInstance()) return this;
        if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
          setBlockId(other.getBlockId());
        }
        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.access.Access.GetExecutionResultForBlockIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetExecutionResultForBlockIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetExecutionResultForBlockIDRequest)
    private static final org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetExecutionResultForBlockIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecutionResultForBlockIDResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecutionResultForBlockIDResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return Whether the executionResult field is set.
     */
    boolean hasExecutionResult();
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return The executionResult.
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult();
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.ExecutionResultForBlockIDResponse}
   */
  public static final class ExecutionResultForBlockIDResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecutionResultForBlockIDResponse)
      ExecutionResultForBlockIDResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecutionResultForBlockIDResponse.newBuilder() to construct.
    private ExecutionResultForBlockIDResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecutionResultForBlockIDResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ExecutionResultForBlockIDResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder subBuilder = null;
              if (executionResult_ != null) {
                subBuilder = executionResult_.toBuilder();
              }
              executionResult_ = input.readMessage(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(executionResult_);
                executionResult_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultForBlockIDResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultForBlockIDResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.class, org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.Builder.class);
    }

    public static final int EXECUTION_RESULT_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult executionResult_;
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return Whether the executionResult field is set.
     */
    @java.lang.Override
    public boolean hasExecutionResult() {
      return executionResult_ != null;
    }
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return The executionResult.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult() {
      return executionResult_ == null ? org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
    }
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder() {
      return getExecutionResult();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (executionResult_ != null) {
        output.writeMessage(1, getExecutionResult());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (executionResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getExecutionResult());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.ExecutionResultForBlockIDResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse other = (org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse) obj;

      if (hasExecutionResult() != other.hasExecutionResult()) return false;
      if (hasExecutionResult()) {
        if (!getExecutionResult()
            .equals(other.getExecutionResult())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasExecutionResult()) {
        hash = (37 * hash) + EXECUTION_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getExecutionResult().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultForBlockIDResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.class, org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.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();
        if (executionResultBuilder_ == null) {
          executionResult_ = null;
        } else {
          executionResult_ = null;
          executionResultBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultForBlockIDResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse buildPartial() {
        org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse result = new org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse(this);
        if (executionResultBuilder_ == null) {
          result.executionResult_ = executionResult_;
        } else {
          result.executionResult_ = executionResultBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.ExecutionResultForBlockIDResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse other) {
        if (other == org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse.getDefaultInstance()) return this;
        if (other.hasExecutionResult()) {
          mergeExecutionResult(other.getExecutionResult());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.ExecutionResultForBlockIDResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult executionResult_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> executionResultBuilder_;
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       * @return Whether the executionResult field is set.
       */
      public boolean hasExecutionResult() {
        return executionResultBuilder_ != null || executionResult_ != null;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       * @return The executionResult.
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult() {
        if (executionResultBuilder_ == null) {
          return executionResult_ == null ? org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
        } else {
          return executionResultBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder setExecutionResult(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          executionResult_ = value;
          onChanged();
        } else {
          executionResultBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder setExecutionResult(
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder builderForValue) {
        if (executionResultBuilder_ == null) {
          executionResult_ = builderForValue.build();
          onChanged();
        } else {
          executionResultBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder mergeExecutionResult(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultBuilder_ == null) {
          if (executionResult_ != null) {
            executionResult_ =
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.newBuilder(executionResult_).mergeFrom(value).buildPartial();
          } else {
            executionResult_ = value;
          }
          onChanged();
        } else {
          executionResultBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder clearExecutionResult() {
        if (executionResultBuilder_ == null) {
          executionResult_ = null;
          onChanged();
        } else {
          executionResult_ = null;
          executionResultBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder getExecutionResultBuilder() {
        
        onChanged();
        return getExecutionResultFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder() {
        if (executionResultBuilder_ != null) {
          return executionResultBuilder_.getMessageOrBuilder();
        } else {
          return executionResult_ == null ?
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
        }
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> 
          getExecutionResultFieldBuilder() {
        if (executionResultBuilder_ == null) {
          executionResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder>(
                  getExecutionResult(),
                  getParentForChildren(),
                  isClean());
          executionResult_ = null;
        }
        return executionResultBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.ExecutionResultForBlockIDResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecutionResultForBlockIDResponse)
    private static final org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse();
    }

    public static org.onflow.protobuf.access.Access.ExecutionResultForBlockIDResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface GetExecutionResultByIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.GetExecutionResultByIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bytes id = 1;
     * @return The id.
     */
    com.google.protobuf.ByteString getId();
  }
  /**
   * Protobuf type {@code flow.access.GetExecutionResultByIDRequest}
   */
  public static final class GetExecutionResultByIDRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.GetExecutionResultByIDRequest)
      GetExecutionResultByIDRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetExecutionResultByIDRequest.newBuilder() to construct.
    private GetExecutionResultByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GetExecutionResultByIDRequest() {
      id_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetExecutionResultByIDRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            }
            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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultByIDRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultByIDRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.class, org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.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_;
    }

    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_);
      }
      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_);
      }
      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.access.Access.GetExecutionResultByIDRequest)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest other = (org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest) obj;

      if (!getId()
          .equals(other.getId())) 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 = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultByIDRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.class, org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.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();
        id_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_GetExecutionResultByIDRequest_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest buildPartial() {
        org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest result = new org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest(this);
        result.id_ = id_;
        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.access.Access.GetExecutionResultByIDRequest) {
          return mergeFrom((org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest other) {
        if (other == org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest.getDefaultInstance()) return this;
        if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
          setId(other.getId());
        }
        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.access.Access.GetExecutionResultByIDRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      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;
      }
      @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.access.GetExecutionResultByIDRequest)
    }

    // @@protoc_insertion_point(class_scope:flow.access.GetExecutionResultByIDRequest)
    private static final org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest();
    }

    public static org.onflow.protobuf.access.Access.GetExecutionResultByIDRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface ExecutionResultByIDResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.ExecutionResultByIDResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return Whether the executionResult field is set.
     */
    boolean hasExecutionResult();
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return The executionResult.
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult();
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     */
    org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder();

    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata();
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder();
  }
  /**
   * Protobuf type {@code flow.access.ExecutionResultByIDResponse}
   */
  public static final class ExecutionResultByIDResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:flow.access.ExecutionResultByIDResponse)
      ExecutionResultByIDResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecutionResultByIDResponse.newBuilder() to construct.
    private ExecutionResultByIDResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecutionResultByIDResponse() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ExecutionResultByIDResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder subBuilder = null;
              if (executionResult_ != null) {
                subBuilder = executionResult_.toBuilder();
              }
              executionResult_ = input.readMessage(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(executionResult_);
                executionResult_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder subBuilder = null;
              if (metadata_ != null) {
                subBuilder = metadata_.toBuilder();
              }
              metadata_ = input.readMessage(org.onflow.protobuf.entities.MetadataOuterClass.Metadata.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metadata_);
                metadata_ = subBuilder.buildPartial();
              }

              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultByIDResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultByIDResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.class, org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.Builder.class);
    }

    public static final int EXECUTION_RESULT_FIELD_NUMBER = 1;
    private org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult executionResult_;
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return Whether the executionResult field is set.
     */
    @java.lang.Override
    public boolean hasExecutionResult() {
      return executionResult_ != null;
    }
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     * @return The executionResult.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult() {
      return executionResult_ == null ? org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
    }
    /**
     * .flow.entities.ExecutionResult execution_result = 1;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder() {
      return getExecutionResult();
    }

    public static final int METADATA_FIELD_NUMBER = 2;
    private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return metadata_ != null;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     * @return The metadata.
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
      return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
    }
    /**
     * .flow.entities.Metadata metadata = 2;
     */
    @java.lang.Override
    public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
      return getMetadata();
    }

    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 (executionResult_ != null) {
        output.writeMessage(1, getExecutionResult());
      }
      if (metadata_ != null) {
        output.writeMessage(2, getMetadata());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (executionResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getExecutionResult());
      }
      if (metadata_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getMetadata());
      }
      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.access.Access.ExecutionResultByIDResponse)) {
        return super.equals(obj);
      }
      org.onflow.protobuf.access.Access.ExecutionResultByIDResponse other = (org.onflow.protobuf.access.Access.ExecutionResultByIDResponse) obj;

      if (hasExecutionResult() != other.hasExecutionResult()) return false;
      if (hasExecutionResult()) {
        if (!getExecutionResult()
            .equals(other.getExecutionResult())) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata()
            .equals(other.getMetadata())) 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 (hasExecutionResult()) {
        hash = (37 * hash) + EXECUTION_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getExecutionResult().hashCode();
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultByIDResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.class, org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.Builder.class);
      }

      // Construct using org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.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();
        if (executionResultBuilder_ == null) {
          executionResult_ = null;
        } else {
          executionResult_ = null;
          executionResultBuilder_ = null;
        }
        if (metadataBuilder_ == null) {
          metadata_ = null;
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.onflow.protobuf.access.Access.internal_static_flow_access_ExecutionResultByIDResponse_descriptor;
      }

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecutionResultByIDResponse getDefaultInstanceForType() {
        return org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.getDefaultInstance();
      }

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

      @java.lang.Override
      public org.onflow.protobuf.access.Access.ExecutionResultByIDResponse buildPartial() {
        org.onflow.protobuf.access.Access.ExecutionResultByIDResponse result = new org.onflow.protobuf.access.Access.ExecutionResultByIDResponse(this);
        if (executionResultBuilder_ == null) {
          result.executionResult_ = executionResult_;
        } else {
          result.executionResult_ = executionResultBuilder_.build();
        }
        if (metadataBuilder_ == null) {
          result.metadata_ = metadata_;
        } else {
          result.metadata_ = metadataBuilder_.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.access.Access.ExecutionResultByIDResponse) {
          return mergeFrom((org.onflow.protobuf.access.Access.ExecutionResultByIDResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.onflow.protobuf.access.Access.ExecutionResultByIDResponse other) {
        if (other == org.onflow.protobuf.access.Access.ExecutionResultByIDResponse.getDefaultInstance()) return this;
        if (other.hasExecutionResult()) {
          mergeExecutionResult(other.getExecutionResult());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        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.access.Access.ExecutionResultByIDResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.onflow.protobuf.access.Access.ExecutionResultByIDResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult executionResult_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> executionResultBuilder_;
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       * @return Whether the executionResult field is set.
       */
      public boolean hasExecutionResult() {
        return executionResultBuilder_ != null || executionResult_ != null;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       * @return The executionResult.
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult getExecutionResult() {
        if (executionResultBuilder_ == null) {
          return executionResult_ == null ? org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
        } else {
          return executionResultBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder setExecutionResult(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          executionResult_ = value;
          onChanged();
        } else {
          executionResultBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder setExecutionResult(
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder builderForValue) {
        if (executionResultBuilder_ == null) {
          executionResult_ = builderForValue.build();
          onChanged();
        } else {
          executionResultBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder mergeExecutionResult(org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult value) {
        if (executionResultBuilder_ == null) {
          if (executionResult_ != null) {
            executionResult_ =
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.newBuilder(executionResult_).mergeFrom(value).buildPartial();
          } else {
            executionResult_ = value;
          }
          onChanged();
        } else {
          executionResultBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public Builder clearExecutionResult() {
        if (executionResultBuilder_ == null) {
          executionResult_ = null;
          onChanged();
        } else {
          executionResult_ = null;
          executionResultBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder getExecutionResultBuilder() {
        
        onChanged();
        return getExecutionResultFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      public org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder getExecutionResultOrBuilder() {
        if (executionResultBuilder_ != null) {
          return executionResultBuilder_.getMessageOrBuilder();
        } else {
          return executionResult_ == null ?
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.getDefaultInstance() : executionResult_;
        }
      }
      /**
       * .flow.entities.ExecutionResult execution_result = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder> 
          getExecutionResultFieldBuilder() {
        if (executionResultBuilder_ == null) {
          executionResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResult.Builder, org.onflow.protobuf.entities.ExecutionResultOuterClass.ExecutionResultOrBuilder>(
                  getExecutionResult(),
                  getParentForChildren(),
                  isClean());
          executionResult_ = null;
        }
        return executionResultBuilder_;
      }

      private org.onflow.protobuf.entities.MetadataOuterClass.Metadata metadata_;
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> metadataBuilder_;
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return metadataBuilder_ != null || metadata_ != null;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       * @return The metadata.
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null ? org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
          onChanged();
        } else {
          metadataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder setMetadata(
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
          onChanged();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder mergeMetadata(org.onflow.protobuf.entities.MetadataOuterClass.Metadata value) {
        if (metadataBuilder_ == null) {
          if (metadata_ != null) {
            metadata_ =
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
          } else {
            metadata_ = value;
          }
          onChanged();
        } else {
          metadataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public Builder clearMetadata() {
        if (metadataBuilder_ == null) {
          metadata_ = null;
          onChanged();
        } else {
          metadata_ = null;
          metadataBuilder_ = null;
        }

        return this;
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder getMetadataBuilder() {
        
        onChanged();
        return getMetadataFieldBuilder().getBuilder();
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      public org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null ?
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata.getDefaultInstance() : metadata_;
        }
      }
      /**
       * .flow.entities.Metadata metadata = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder> 
          getMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.onflow.protobuf.entities.MetadataOuterClass.Metadata, org.onflow.protobuf.entities.MetadataOuterClass.Metadata.Builder, org.onflow.protobuf.entities.MetadataOuterClass.MetadataOrBuilder>(
                  getMetadata(),
                  getParentForChildren(),
                  isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }
      @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.access.ExecutionResultByIDResponse)
    }

    // @@protoc_insertion_point(class_scope:flow.access.ExecutionResultByIDResponse)
    private static final org.onflow.protobuf.access.Access.ExecutionResultByIDResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.ExecutionResultByIDResponse();
    }

    public static org.onflow.protobuf.access.Access.ExecutionResultByIDResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface SubscribeBlocksFromStartBlockIDRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlocksFromStartBlockIDRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Block ID of the first block to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ com.google.protobuf.ByteString getStartBlockId(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ boolean getFullBlockResponse(); } /** *
   * The request for SubscribeBlocksFromStartBlockID
   * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromStartBlockIDRequest} */ public static final class SubscribeBlocksFromStartBlockIDRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlocksFromStartBlockIDRequest) SubscribeBlocksFromStartBlockIDRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlocksFromStartBlockIDRequest.newBuilder() to construct. private SubscribeBlocksFromStartBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlocksFromStartBlockIDRequest() { startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlocksFromStartBlockIDRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlocksFromStartBlockIDRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { startBlockId_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; break; } case 24: { fullBlockResponse_ = input.readBool(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.Builder.class); } public static final int START_BLOCK_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString startBlockId_; /** *
     * Block ID of the first block to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } public static final int FULL_BLOCK_RESPONSE_FIELD_NUMBER = 3; private boolean fullBlockResponse_; /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } 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 (!startBlockId_.isEmpty()) { output.writeBytes(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } if (fullBlockResponse_ != false) { output.writeBool(3, fullBlockResponse_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!startBlockId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } if (fullBlockResponse_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fullBlockResponse_); } 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.access.Access.SubscribeBlocksFromStartBlockIDRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest other = (org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest) obj; if (!getStartBlockId() .equals(other.getStartBlockId())) return false; if (blockStatus_ != other.blockStatus_) return false; if (getFullBlockResponse() != other.getFullBlockResponse()) 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) + START_BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + getStartBlockId().hashCode(); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (37 * hash) + FULL_BLOCK_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFullBlockResponse()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest 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.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest 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.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest 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.access.Access.SubscribeBlocksFromStartBlockIDRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest 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.access.Access.SubscribeBlocksFromStartBlockIDRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest 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.access.Access.SubscribeBlocksFromStartBlockIDRequest 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; } /** *
     * The request for SubscribeBlocksFromStartBlockID
     * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromStartBlockIDRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlocksFromStartBlockIDRequest) org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.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(); startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; fullBlockResponse_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest build() { org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest result = new org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest(this); result.startBlockId_ = startBlockId_; result.blockStatus_ = blockStatus_; result.fullBlockResponse_ = fullBlockResponse_; 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.access.Access.SubscribeBlocksFromStartBlockIDRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest.getDefaultInstance()) return this; if (other.getStartBlockId() != com.google.protobuf.ByteString.EMPTY) { setStartBlockId(other.getStartBlockId()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } if (other.getFullBlockResponse() != false) { setFullBlockResponse(other.getFullBlockResponse()); } 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.access.Access.SubscribeBlocksFromStartBlockIDRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString startBlockId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @param value The startBlockId to set. * @return This builder for chaining. */ public Builder setStartBlockId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } startBlockId_ = value; onChanged(); return this; } /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @return This builder for chaining. */ public Builder clearStartBlockId() { startBlockId_ = getDefaultInstance().getStartBlockId(); onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; onChanged(); return this; } private boolean fullBlockResponse_ ; /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @param value The fullBlockResponse to set. * @return This builder for chaining. */ public Builder setFullBlockResponse(boolean value) { fullBlockResponse_ = value; onChanged(); return this; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @return This builder for chaining. */ public Builder clearFullBlockResponse() { fullBlockResponse_ = false; 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.access.SubscribeBlocksFromStartBlockIDRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlocksFromStartBlockIDRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartBlockIDRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlocksFromStartBlockIDRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlocksFromStartBlockIDRequest(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.access.Access.SubscribeBlocksFromStartBlockIDRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlocksFromStartHeightRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlocksFromStartHeightRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Block height of the first block to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ long getStartBlockHeight(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ boolean getFullBlockResponse(); } /** *
   * The request for SubscribeBlocksFromStartHeight
   * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromStartHeightRequest} */ public static final class SubscribeBlocksFromStartHeightRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlocksFromStartHeightRequest) SubscribeBlocksFromStartHeightRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlocksFromStartHeightRequest.newBuilder() to construct. private SubscribeBlocksFromStartHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlocksFromStartHeightRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlocksFromStartHeightRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlocksFromStartHeightRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { startBlockHeight_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; break; } case 24: { fullBlockResponse_ = input.readBool(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.Builder.class); } public static final int START_BLOCK_HEIGHT_FIELD_NUMBER = 1; private long startBlockHeight_; /** *
     * Block height of the first block to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } public static final int FULL_BLOCK_RESPONSE_FIELD_NUMBER = 3; private boolean fullBlockResponse_; /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } 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 (startBlockHeight_ != 0L) { output.writeUInt64(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } if (fullBlockResponse_ != false) { output.writeBool(3, fullBlockResponse_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (startBlockHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } if (fullBlockResponse_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fullBlockResponse_); } 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.access.Access.SubscribeBlocksFromStartHeightRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest other = (org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest) obj; if (getStartBlockHeight() != other.getStartBlockHeight()) return false; if (blockStatus_ != other.blockStatus_) return false; if (getFullBlockResponse() != other.getFullBlockResponse()) 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) + START_BLOCK_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartBlockHeight()); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (37 * hash) + FULL_BLOCK_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFullBlockResponse()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest 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.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest 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.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest 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.access.Access.SubscribeBlocksFromStartHeightRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest 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.access.Access.SubscribeBlocksFromStartHeightRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest 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.access.Access.SubscribeBlocksFromStartHeightRequest 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; } /** *
     * The request for SubscribeBlocksFromStartHeight
     * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromStartHeightRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlocksFromStartHeightRequest) org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.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(); startBlockHeight_ = 0L; blockStatus_ = 0; fullBlockResponse_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest build() { org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest result = new org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest(this); result.startBlockHeight_ = startBlockHeight_; result.blockStatus_ = blockStatus_; result.fullBlockResponse_ = fullBlockResponse_; 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.access.Access.SubscribeBlocksFromStartHeightRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest.getDefaultInstance()) return this; if (other.getStartBlockHeight() != 0L) { setStartBlockHeight(other.getStartBlockHeight()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } if (other.getFullBlockResponse() != false) { setFullBlockResponse(other.getFullBlockResponse()); } 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.access.Access.SubscribeBlocksFromStartHeightRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long startBlockHeight_ ; /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @param value The startBlockHeight to set. * @return This builder for chaining. */ public Builder setStartBlockHeight(long value) { startBlockHeight_ = value; onChanged(); return this; } /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @return This builder for chaining. */ public Builder clearStartBlockHeight() { startBlockHeight_ = 0L; onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; onChanged(); return this; } private boolean fullBlockResponse_ ; /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @param value The fullBlockResponse to set. * @return This builder for chaining. */ public Builder setFullBlockResponse(boolean value) { fullBlockResponse_ = value; onChanged(); return this; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 3; * @return This builder for chaining. */ public Builder clearFullBlockResponse() { fullBlockResponse_ = false; 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.access.SubscribeBlocksFromStartHeightRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlocksFromStartHeightRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromStartHeightRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlocksFromStartHeightRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlocksFromStartHeightRequest(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.access.Access.SubscribeBlocksFromStartHeightRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlocksFromLatestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlocksFromLatestRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 2; * @return The fullBlockResponse. */ boolean getFullBlockResponse(); } /** *
   * The request for SubscribeBlocksFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromLatestRequest} */ public static final class SubscribeBlocksFromLatestRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlocksFromLatestRequest) SubscribeBlocksFromLatestRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlocksFromLatestRequest.newBuilder() to construct. private SubscribeBlocksFromLatestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlocksFromLatestRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlocksFromLatestRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlocksFromLatestRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { int rawValue = input.readEnum(); blockStatus_ = rawValue; break; } case 16: { fullBlockResponse_ = input.readBool(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.Builder.class); } public static final int BLOCK_STATUS_FIELD_NUMBER = 1; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } public static final int FULL_BLOCK_RESPONSE_FIELD_NUMBER = 2; private boolean fullBlockResponse_; /** *
     * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
     * 
* * bool full_block_response = 2; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } 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 (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(1, blockStatus_); } if (fullBlockResponse_ != false) { output.writeBool(2, fullBlockResponse_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, blockStatus_); } if (fullBlockResponse_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, fullBlockResponse_); } 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.access.Access.SubscribeBlocksFromLatestRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest other = (org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest) obj; if (blockStatus_ != other.blockStatus_) return false; if (getFullBlockResponse() != other.getFullBlockResponse()) 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_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (37 * hash) + FULL_BLOCK_RESPONSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFullBlockResponse()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest 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.access.Access.SubscribeBlocksFromLatestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest 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.access.Access.SubscribeBlocksFromLatestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest 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.access.Access.SubscribeBlocksFromLatestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest 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.access.Access.SubscribeBlocksFromLatestRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest 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.access.Access.SubscribeBlocksFromLatestRequest 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; } /** *
     * The request for SubscribeBlocksFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlocksFromLatestRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlocksFromLatestRequest) org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.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(); blockStatus_ = 0; fullBlockResponse_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest build() { org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest result = new org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest(this); result.blockStatus_ = blockStatus_; result.fullBlockResponse_ = fullBlockResponse_; 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.access.Access.SubscribeBlocksFromLatestRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest.getDefaultInstance()) return this; if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } if (other.getFullBlockResponse() != false) { setFullBlockResponse(other.getFullBlockResponse()); } 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.access.Access.SubscribeBlocksFromLatestRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; onChanged(); return this; } private boolean fullBlockResponse_ ; /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 2; * @return The fullBlockResponse. */ @java.lang.Override public boolean getFullBlockResponse() { return fullBlockResponse_; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 2; * @param value The fullBlockResponse to set. * @return This builder for chaining. */ public Builder setFullBlockResponse(boolean value) { fullBlockResponse_ = value; onChanged(); return this; } /** *
       * Boolean value determining the response: 'full' if `true`, 'light' otherwise.
       * 
* * bool full_block_response = 2; * @return This builder for chaining. */ public Builder clearFullBlockResponse() { fullBlockResponse_ = false; 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.access.SubscribeBlocksFromLatestRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlocksFromLatestRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlocksFromLatestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlocksFromLatestRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlocksFromLatestRequest(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.access.Access.SubscribeBlocksFromLatestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlocksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlocksResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; * @return Whether the block field is set. */ boolean hasBlock(); /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; * @return The block. */ org.onflow.protobuf.entities.BlockOuterClass.Block getBlock(); /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; */ org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder(); } /** *
   * The response for SubscribeBlocksFromStartBlockID, SubscribeBlocksFromStartHeight, SubscribeBlocksFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlocksResponse} */ public static final class SubscribeBlocksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlocksResponse) SubscribeBlocksResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlocksResponse.newBuilder() to construct. private SubscribeBlocksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlocksResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlocksResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlocksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { org.onflow.protobuf.entities.BlockOuterClass.Block.Builder subBuilder = null; if (block_ != null) { subBuilder = block_.toBuilder(); } block_ = input.readMessage(org.onflow.protobuf.entities.BlockOuterClass.Block.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(block_); block_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksResponse.class, org.onflow.protobuf.access.Access.SubscribeBlocksResponse.Builder.class); } public static final int BLOCK_FIELD_NUMBER = 1; private org.onflow.protobuf.entities.BlockOuterClass.Block block_; /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; * @return Whether the block field is set. */ @java.lang.Override public boolean hasBlock() { return block_ != null; } /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; * @return The block. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.Block getBlock() { return block_ == null ? org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_; } /** *
     * The sealed or finalized blocks according to the block status
     * in the request.
     * 
* * .flow.entities.Block block = 1; */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder() { return getBlock(); } 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 (block_ != null) { output.writeMessage(1, getBlock()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (block_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBlock()); } 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.access.Access.SubscribeBlocksResponse)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlocksResponse other = (org.onflow.protobuf.access.Access.SubscribeBlocksResponse) obj; if (hasBlock() != other.hasBlock()) return false; if (hasBlock()) { if (!getBlock() .equals(other.getBlock())) 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 (hasBlock()) { hash = (37 * hash) + BLOCK_FIELD_NUMBER; hash = (53 * hash) + getBlock().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse 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.access.Access.SubscribeBlocksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse 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.access.Access.SubscribeBlocksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse 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.access.Access.SubscribeBlocksResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse 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.access.Access.SubscribeBlocksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse 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.access.Access.SubscribeBlocksResponse 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; } /** *
     * The response for SubscribeBlocksFromStartBlockID, SubscribeBlocksFromStartHeight, SubscribeBlocksFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlocksResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlocksResponse) org.onflow.protobuf.access.Access.SubscribeBlocksResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlocksResponse.class, org.onflow.protobuf.access.Access.SubscribeBlocksResponse.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlocksResponse.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(); if (blockBuilder_ == null) { block_ = null; } else { block_ = null; blockBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlocksResponse_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksResponse getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlocksResponse.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksResponse build() { org.onflow.protobuf.access.Access.SubscribeBlocksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlocksResponse buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlocksResponse result = new org.onflow.protobuf.access.Access.SubscribeBlocksResponse(this); if (blockBuilder_ == null) { result.block_ = block_; } else { result.block_ = blockBuilder_.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.access.Access.SubscribeBlocksResponse) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlocksResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlocksResponse other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlocksResponse.getDefaultInstance()) return this; if (other.hasBlock()) { mergeBlock(other.getBlock()); } 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.access.Access.SubscribeBlocksResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlocksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.onflow.protobuf.entities.BlockOuterClass.Block block_; private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder> blockBuilder_; /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; * @return Whether the block field is set. */ public boolean hasBlock() { return blockBuilder_ != null || block_ != null; } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; * @return The block. */ public org.onflow.protobuf.entities.BlockOuterClass.Block getBlock() { if (blockBuilder_ == null) { return block_ == null ? org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_; } else { return blockBuilder_.getMessage(); } } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public Builder setBlock(org.onflow.protobuf.entities.BlockOuterClass.Block value) { if (blockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } block_ = value; onChanged(); } else { blockBuilder_.setMessage(value); } return this; } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public Builder setBlock( org.onflow.protobuf.entities.BlockOuterClass.Block.Builder builderForValue) { if (blockBuilder_ == null) { block_ = builderForValue.build(); onChanged(); } else { blockBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public Builder mergeBlock(org.onflow.protobuf.entities.BlockOuterClass.Block value) { if (blockBuilder_ == null) { if (block_ != null) { block_ = org.onflow.protobuf.entities.BlockOuterClass.Block.newBuilder(block_).mergeFrom(value).buildPartial(); } else { block_ = value; } onChanged(); } else { blockBuilder_.mergeFrom(value); } return this; } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public Builder clearBlock() { if (blockBuilder_ == null) { block_ = null; onChanged(); } else { block_ = null; blockBuilder_ = null; } return this; } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public org.onflow.protobuf.entities.BlockOuterClass.Block.Builder getBlockBuilder() { onChanged(); return getBlockFieldBuilder().getBuilder(); } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ public org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder getBlockOrBuilder() { if (blockBuilder_ != null) { return blockBuilder_.getMessageOrBuilder(); } else { return block_ == null ? org.onflow.protobuf.entities.BlockOuterClass.Block.getDefaultInstance() : block_; } } /** *
       * The sealed or finalized blocks according to the block status
       * in the request.
       * 
* * .flow.entities.Block block = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder> getBlockFieldBuilder() { if (blockBuilder_ == null) { blockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockOuterClass.Block, org.onflow.protobuf.entities.BlockOuterClass.Block.Builder, org.onflow.protobuf.entities.BlockOuterClass.BlockOrBuilder>( getBlock(), getParentForChildren(), isClean()); block_ = null; } return blockBuilder_; } @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.access.SubscribeBlocksResponse) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlocksResponse) private static final org.onflow.protobuf.access.Access.SubscribeBlocksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlocksResponse(); } public static org.onflow.protobuf.access.Access.SubscribeBlocksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlocksResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlocksResponse(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.access.Access.SubscribeBlocksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockHeadersFromStartBlockIDRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockHeadersFromStartBlockIDRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Block ID of the first block header to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ com.google.protobuf.ByteString getStartBlockId(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockHeadersFromStartBlockID
   * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromStartBlockIDRequest} */ public static final class SubscribeBlockHeadersFromStartBlockIDRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockHeadersFromStartBlockIDRequest) SubscribeBlockHeadersFromStartBlockIDRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockHeadersFromStartBlockIDRequest.newBuilder() to construct. private SubscribeBlockHeadersFromStartBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockHeadersFromStartBlockIDRequest() { startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockHeadersFromStartBlockIDRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockHeadersFromStartBlockIDRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { startBlockId_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.Builder.class); } public static final int START_BLOCK_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString startBlockId_; /** *
     * Block ID of the first block header to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (!startBlockId_.isEmpty()) { output.writeBytes(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!startBlockId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest) obj; if (!getStartBlockId() .equals(other.getStartBlockId())) return false; if (blockStatus_ != other.blockStatus_) 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) + START_BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + getStartBlockId().hashCode(); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest 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; } /** *
     * The request for SubscribeBlockHeadersFromStartBlockID
     * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromStartBlockIDRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockHeadersFromStartBlockIDRequest) org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.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(); startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest(this); result.startBlockId_ = startBlockId_; result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest.getDefaultInstance()) return this; if (other.getStartBlockId() != com.google.protobuf.ByteString.EMPTY) { setStartBlockId(other.getStartBlockId()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString startBlockId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Block ID of the first block header to subscribe.
       * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } /** *
       * Block ID of the first block header to subscribe.
       * 
* * bytes start_block_id = 1; * @param value The startBlockId to set. * @return This builder for chaining. */ public Builder setStartBlockId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } startBlockId_ = value; onChanged(); return this; } /** *
       * Block ID of the first block header to subscribe.
       * 
* * bytes start_block_id = 1; * @return This builder for chaining. */ public Builder clearStartBlockId() { startBlockId_ = getDefaultInstance().getStartBlockId(); onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockHeadersFromStartBlockIDRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockHeadersFromStartBlockIDRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockHeadersFromStartBlockIDRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockHeadersFromStartBlockIDRequest(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.access.Access.SubscribeBlockHeadersFromStartBlockIDRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockHeadersFromStartHeightRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockHeadersFromStartHeightRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Block height of the first block header to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ long getStartBlockHeight(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockHeadersFromStartHeight
   * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromStartHeightRequest} */ public static final class SubscribeBlockHeadersFromStartHeightRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockHeadersFromStartHeightRequest) SubscribeBlockHeadersFromStartHeightRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockHeadersFromStartHeightRequest.newBuilder() to construct. private SubscribeBlockHeadersFromStartHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockHeadersFromStartHeightRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockHeadersFromStartHeightRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockHeadersFromStartHeightRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { startBlockHeight_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.Builder.class); } public static final int START_BLOCK_HEIGHT_FIELD_NUMBER = 1; private long startBlockHeight_; /** *
     * Block height of the first block header to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (startBlockHeight_ != 0L) { output.writeUInt64(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (startBlockHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest) obj; if (getStartBlockHeight() != other.getStartBlockHeight()) return false; if (blockStatus_ != other.blockStatus_) 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) + START_BLOCK_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartBlockHeight()); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest 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; } /** *
     * The request for SubscribeBlockHeadersFromStartHeight
     * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromStartHeightRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockHeadersFromStartHeightRequest) org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.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(); startBlockHeight_ = 0L; blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest(this); result.startBlockHeight_ = startBlockHeight_; result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest.getDefaultInstance()) return this; if (other.getStartBlockHeight() != 0L) { setStartBlockHeight(other.getStartBlockHeight()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockHeadersFromStartHeightRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long startBlockHeight_ ; /** *
       * Block height of the first block header to subscribe.
       * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } /** *
       * Block height of the first block header to subscribe.
       * 
* * uint64 start_block_height = 1; * @param value The startBlockHeight to set. * @return This builder for chaining. */ public Builder setStartBlockHeight(long value) { startBlockHeight_ = value; onChanged(); return this; } /** *
       * Block height of the first block header to subscribe.
       * 
* * uint64 start_block_height = 1; * @return This builder for chaining. */ public Builder clearStartBlockHeight() { startBlockHeight_ = 0L; onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockHeadersFromStartHeightRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockHeadersFromStartHeightRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromStartHeightRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockHeadersFromStartHeightRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockHeadersFromStartHeightRequest(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.access.Access.SubscribeBlockHeadersFromStartHeightRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockHeadersFromLatestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockHeadersFromLatestRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockHeadersFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromLatestRequest} */ public static final class SubscribeBlockHeadersFromLatestRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockHeadersFromLatestRequest) SubscribeBlockHeadersFromLatestRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockHeadersFromLatestRequest.newBuilder() to construct. private SubscribeBlockHeadersFromLatestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockHeadersFromLatestRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockHeadersFromLatestRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockHeadersFromLatestRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.Builder.class); } public static final int BLOCK_STATUS_FIELD_NUMBER = 1; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(1, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, blockStatus_); } 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.access.Access.SubscribeBlockHeadersFromLatestRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest) obj; if (blockStatus_ != other.blockStatus_) 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_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest 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.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest 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.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest 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.access.Access.SubscribeBlockHeadersFromLatestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest 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.access.Access.SubscribeBlockHeadersFromLatestRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest 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.access.Access.SubscribeBlockHeadersFromLatestRequest 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; } /** *
     * The request for SubscribeBlockHeadersFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersFromLatestRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockHeadersFromLatestRequest) org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.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(); blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest(this); result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockHeadersFromLatestRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest.getDefaultInstance()) return this; if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockHeadersFromLatestRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockHeadersFromLatestRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockHeadersFromLatestRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersFromLatestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockHeadersFromLatestRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockHeadersFromLatestRequest(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.access.Access.SubscribeBlockHeadersFromLatestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockHeadersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockHeadersResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; * @return The header. */ org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getHeader(); /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; */ org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getHeaderOrBuilder(); } /** *
   * The response for SubscribeBlockHeadersFromStartBlockID, SubscribeBlockHeadersFromStartHeight, SubscribeBlockHeadersFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersResponse} */ public static final class SubscribeBlockHeadersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockHeadersResponse) SubscribeBlockHeadersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockHeadersResponse.newBuilder() to construct. private SubscribeBlockHeadersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockHeadersResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockHeadersResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockHeadersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader header_; /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; * @return The header. */ @java.lang.Override public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getHeader() { return header_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : header_; } /** *
     * The sealed or finalized block headers according to the block status
     * in the request.
     * 
* * .flow.entities.BlockHeader header = 1; */ @java.lang.Override public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } 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 (header_ != null) { output.writeMessage(1, getHeader()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } 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.access.Access.SubscribeBlockHeadersResponse)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse other = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) 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 (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse 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.access.Access.SubscribeBlockHeadersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse 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.access.Access.SubscribeBlockHeadersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse 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.access.Access.SubscribeBlockHeadersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse 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.access.Access.SubscribeBlockHeadersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse 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.access.Access.SubscribeBlockHeadersResponse 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; } /** *
     * The response for SubscribeBlockHeadersFromStartBlockID, SubscribeBlockHeadersFromStartHeight, SubscribeBlockHeadersFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlockHeadersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockHeadersResponse) org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.class, org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.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(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse build() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse result = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.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.access.Access.SubscribeBlockHeadersResponse) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } 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.access.Access.SubscribeBlockHeadersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader header_; private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> headerBuilder_; /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; * @return The header. */ public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public Builder setHeader(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public Builder setHeader( org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public Builder mergeHeader(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : header_; } } /** *
       * The sealed or finalized block headers according to the block status
       * in the request.
       * 
* * .flow.entities.BlockHeader header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } @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.access.SubscribeBlockHeadersResponse) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockHeadersResponse) private static final org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse(); } public static org.onflow.protobuf.access.Access.SubscribeBlockHeadersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockHeadersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockHeadersResponse(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.access.Access.SubscribeBlockHeadersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockDigestsFromStartBlockIDRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockDigestsFromStartBlockIDRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Block ID of the first block to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ com.google.protobuf.ByteString getStartBlockId(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockDigestsFromStartBlockID
   * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromStartBlockIDRequest} */ public static final class SubscribeBlockDigestsFromStartBlockIDRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockDigestsFromStartBlockIDRequest) SubscribeBlockDigestsFromStartBlockIDRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockDigestsFromStartBlockIDRequest.newBuilder() to construct. private SubscribeBlockDigestsFromStartBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockDigestsFromStartBlockIDRequest() { startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockDigestsFromStartBlockIDRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockDigestsFromStartBlockIDRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { startBlockId_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.Builder.class); } public static final int START_BLOCK_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString startBlockId_; /** *
     * Block ID of the first block to subscribe.
     * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (!startBlockId_.isEmpty()) { output.writeBytes(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!startBlockId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, startBlockId_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest) obj; if (!getStartBlockId() .equals(other.getStartBlockId())) return false; if (blockStatus_ != other.blockStatus_) 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) + START_BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + getStartBlockId().hashCode(); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest 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; } /** *
     * The request for SubscribeBlockDigestsFromStartBlockID
     * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromStartBlockIDRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockDigestsFromStartBlockIDRequest) org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.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(); startBlockId_ = com.google.protobuf.ByteString.EMPTY; blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest(this); result.startBlockId_ = startBlockId_; result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest.getDefaultInstance()) return this; if (other.getStartBlockId() != com.google.protobuf.ByteString.EMPTY) { setStartBlockId(other.getStartBlockId()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString startBlockId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @return The startBlockId. */ @java.lang.Override public com.google.protobuf.ByteString getStartBlockId() { return startBlockId_; } /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @param value The startBlockId to set. * @return This builder for chaining. */ public Builder setStartBlockId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } startBlockId_ = value; onChanged(); return this; } /** *
       * Block ID of the first block to subscribe.
       * 
* * bytes start_block_id = 1; * @return This builder for chaining. */ public Builder clearStartBlockId() { startBlockId_ = getDefaultInstance().getStartBlockId(); onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockDigestsFromStartBlockIDRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockDigestsFromStartBlockIDRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockDigestsFromStartBlockIDRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockDigestsFromStartBlockIDRequest(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.access.Access.SubscribeBlockDigestsFromStartBlockIDRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockDigestsFromStartHeightRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockDigestsFromStartHeightRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Block height of the first block to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ long getStartBlockHeight(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockDigestsFromStartHeight
   * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromStartHeightRequest} */ public static final class SubscribeBlockDigestsFromStartHeightRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockDigestsFromStartHeightRequest) SubscribeBlockDigestsFromStartHeightRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockDigestsFromStartHeightRequest.newBuilder() to construct. private SubscribeBlockDigestsFromStartHeightRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockDigestsFromStartHeightRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockDigestsFromStartHeightRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockDigestsFromStartHeightRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { startBlockHeight_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.Builder.class); } public static final int START_BLOCK_HEIGHT_FIELD_NUMBER = 1; private long startBlockHeight_; /** *
     * Block height of the first block to subscribe.
     * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } public static final int BLOCK_STATUS_FIELD_NUMBER = 2; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (startBlockHeight_ != 0L) { output.writeUInt64(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(2, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (startBlockHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, startBlockHeight_); } if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStatus_); } 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest) obj; if (getStartBlockHeight() != other.getStartBlockHeight()) return false; if (blockStatus_ != other.blockStatus_) 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) + START_BLOCK_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartBlockHeight()); hash = (37 * hash) + BLOCK_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest 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; } /** *
     * The request for SubscribeBlockDigestsFromStartHeight
     * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromStartHeightRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockDigestsFromStartHeightRequest) org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.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(); startBlockHeight_ = 0L; blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest(this); result.startBlockHeight_ = startBlockHeight_; result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest.getDefaultInstance()) return this; if (other.getStartBlockHeight() != 0L) { setStartBlockHeight(other.getStartBlockHeight()); } if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockDigestsFromStartHeightRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long startBlockHeight_ ; /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @return The startBlockHeight. */ @java.lang.Override public long getStartBlockHeight() { return startBlockHeight_; } /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @param value The startBlockHeight to set. * @return This builder for chaining. */ public Builder setStartBlockHeight(long value) { startBlockHeight_ = value; onChanged(); return this; } /** *
       * Block height of the first block to subscribe.
       * 
* * uint64 start_block_height = 1; * @return This builder for chaining. */ public Builder clearStartBlockHeight() { startBlockHeight_ = 0L; onChanged(); return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 2; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockDigestsFromStartHeightRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockDigestsFromStartHeightRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromStartHeightRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockDigestsFromStartHeightRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockDigestsFromStartHeightRequest(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.access.Access.SubscribeBlockDigestsFromStartHeightRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockDigestsFromLatestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockDigestsFromLatestRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ int getBlockStatusValue(); /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus(); } /** *
   * The request for SubscribeBlockDigestsFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromLatestRequest} */ public static final class SubscribeBlockDigestsFromLatestRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockDigestsFromLatestRequest) SubscribeBlockDigestsFromLatestRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockDigestsFromLatestRequest.newBuilder() to construct. private SubscribeBlockDigestsFromLatestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockDigestsFromLatestRequest() { blockStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockDigestsFromLatestRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockDigestsFromLatestRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 8: { int rawValue = input.readEnum(); blockStatus_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.Builder.class); } public static final int BLOCK_STATUS_FIELD_NUMBER = 1; private int blockStatus_; /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
     * Required block status of the block payload.
     * Possible variants:
     * 1. BLOCK_FINALIZED
     * 2. BLOCK_SEALED
     * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } 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 (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { output.writeEnum(1, blockStatus_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (blockStatus_ != org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.BLOCK_UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, blockStatus_); } 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.access.Access.SubscribeBlockDigestsFromLatestRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest other = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest) obj; if (blockStatus_ != other.blockStatus_) 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_STATUS_FIELD_NUMBER; hash = (53 * hash) + blockStatus_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest 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.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest 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.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest 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.access.Access.SubscribeBlockDigestsFromLatestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest 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.access.Access.SubscribeBlockDigestsFromLatestRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest 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.access.Access.SubscribeBlockDigestsFromLatestRequest 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; } /** *
     * The request for SubscribeBlockDigestsFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsFromLatestRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockDigestsFromLatestRequest) org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.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(); blockStatus_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest build() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest result = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest(this); result.blockStatus_ = blockStatus_; 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.access.Access.SubscribeBlockDigestsFromLatestRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest.getDefaultInstance()) return this; if (other.blockStatus_ != 0) { setBlockStatusValue(other.getBlockStatusValue()); } 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.access.Access.SubscribeBlockDigestsFromLatestRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int blockStatus_ = 0; /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The enum numeric value on the wire for blockStatus. */ @java.lang.Override public int getBlockStatusValue() { return blockStatus_; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The enum numeric value on the wire for blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatusValue(int value) { blockStatus_ = value; onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return The blockStatus. */ @java.lang.Override public org.onflow.protobuf.entities.BlockOuterClass.BlockStatus getBlockStatus() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.BlockOuterClass.BlockStatus result = org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.valueOf(blockStatus_); return result == null ? org.onflow.protobuf.entities.BlockOuterClass.BlockStatus.UNRECOGNIZED : result; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @param value The blockStatus to set. * @return This builder for chaining. */ public Builder setBlockStatus(org.onflow.protobuf.entities.BlockOuterClass.BlockStatus value) { if (value == null) { throw new NullPointerException(); } blockStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * Required block status of the block payload.
       * Possible variants:
       * 1. BLOCK_FINALIZED
       * 2. BLOCK_SEALED
       * 
* * .flow.entities.BlockStatus block_status = 1; * @return This builder for chaining. */ public Builder clearBlockStatus() { blockStatus_ = 0; 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.access.SubscribeBlockDigestsFromLatestRequest) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockDigestsFromLatestRequest) private static final org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest(); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsFromLatestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockDigestsFromLatestRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockDigestsFromLatestRequest(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.access.Access.SubscribeBlockDigestsFromLatestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubscribeBlockDigestsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SubscribeBlockDigestsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * The block ID of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * bytes block_id = 1; * @return The blockId. */ com.google.protobuf.ByteString getBlockId(); /** *
     * The block height of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * uint64 block_height = 2; * @return The blockHeight. */ long getBlockHeight(); /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return Whether the blockTimestamp field is set. */ boolean hasBlockTimestamp(); /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return The blockTimestamp. */ com.google.protobuf.Timestamp getBlockTimestamp(); /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder(); } /** *
   * The response for SubscribeBlockDigestsFromStartBlockID, SubscribeBlockDigestsFromStartHeight, SubscribeBlockDigestsFromLatest
   * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsResponse} */ public static final class SubscribeBlockDigestsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SubscribeBlockDigestsResponse) SubscribeBlockDigestsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubscribeBlockDigestsResponse.newBuilder() to construct. private SubscribeBlockDigestsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubscribeBlockDigestsResponse() { blockId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubscribeBlockDigestsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubscribeBlockDigestsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 16: { blockHeight_ = input.readUInt64(); break; } case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (blockTimestamp_ != null) { subBuilder = blockTimestamp_.toBuilder(); } blockTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blockTimestamp_); blockTimestamp_ = subBuilder.buildPartial(); } 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.Builder.class); } public static final int BLOCK_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString blockId_; /** *
     * The block ID of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * bytes block_id = 1; * @return The blockId. */ @java.lang.Override public com.google.protobuf.ByteString getBlockId() { return blockId_; } public static final int BLOCK_HEIGHT_FIELD_NUMBER = 2; private long blockHeight_; /** *
     * The block height of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * uint64 block_height = 2; * @return The blockHeight. */ @java.lang.Override public long getBlockHeight() { return blockHeight_; } public static final int BLOCK_TIMESTAMP_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp blockTimestamp_; /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return Whether the blockTimestamp field is set. */ @java.lang.Override public boolean hasBlockTimestamp() { return blockTimestamp_ != null; } /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return The blockTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getBlockTimestamp() { return blockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_; } /** *
     * The timestamp of the new sealed or finalized block according to the block status
     * in the request.
     * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder() { return getBlockTimestamp(); } 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 (blockHeight_ != 0L) { output.writeUInt64(2, blockHeight_); } if (blockTimestamp_ != null) { output.writeMessage(3, getBlockTimestamp()); } 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 (blockHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, blockHeight_); } if (blockTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getBlockTimestamp()); } 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.access.Access.SubscribeBlockDigestsResponse)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse other = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse) obj; if (!getBlockId() .equals(other.getBlockId())) return false; if (getBlockHeight() != other.getBlockHeight()) return false; if (hasBlockTimestamp() != other.hasBlockTimestamp()) return false; if (hasBlockTimestamp()) { if (!getBlockTimestamp() .equals(other.getBlockTimestamp())) 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) + BLOCK_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBlockHeight()); if (hasBlockTimestamp()) { hash = (37 * hash) + BLOCK_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getBlockTimestamp().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse 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.access.Access.SubscribeBlockDigestsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse 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.access.Access.SubscribeBlockDigestsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse 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.access.Access.SubscribeBlockDigestsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse 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.access.Access.SubscribeBlockDigestsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse 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.access.Access.SubscribeBlockDigestsResponse 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; } /** *
     * The response for SubscribeBlockDigestsFromStartBlockID, SubscribeBlockDigestsFromStartHeight, SubscribeBlockDigestsFromLatest
     * 
* * Protobuf type {@code flow.access.SubscribeBlockDigestsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SubscribeBlockDigestsResponse) org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.class, org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.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(); blockId_ = com.google.protobuf.ByteString.EMPTY; blockHeight_ = 0L; if (blockTimestampBuilder_ == null) { blockTimestamp_ = null; } else { blockTimestamp_ = null; blockTimestampBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse build() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse buildPartial() { org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse result = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse(this); result.blockId_ = blockId_; result.blockHeight_ = blockHeight_; if (blockTimestampBuilder_ == null) { result.blockTimestamp_ = blockTimestamp_; } else { result.blockTimestamp_ = blockTimestampBuilder_.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.access.Access.SubscribeBlockDigestsResponse) { return mergeFrom((org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse other) { if (other == org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse.getDefaultInstance()) return this; if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) { setBlockId(other.getBlockId()); } if (other.getBlockHeight() != 0L) { setBlockHeight(other.getBlockHeight()); } if (other.hasBlockTimestamp()) { mergeBlockTimestamp(other.getBlockTimestamp()); } 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.access.Access.SubscribeBlockDigestsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The block ID of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * bytes block_id = 1; * @return The blockId. */ @java.lang.Override public com.google.protobuf.ByteString getBlockId() { return blockId_; } /** *
       * The block ID of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * 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; } /** *
       * The block ID of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * bytes block_id = 1; * @return This builder for chaining. */ public Builder clearBlockId() { blockId_ = getDefaultInstance().getBlockId(); onChanged(); return this; } private long blockHeight_ ; /** *
       * The block height of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * uint64 block_height = 2; * @return The blockHeight. */ @java.lang.Override public long getBlockHeight() { return blockHeight_; } /** *
       * The block height of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * uint64 block_height = 2; * @param value The blockHeight to set. * @return This builder for chaining. */ public Builder setBlockHeight(long value) { blockHeight_ = value; onChanged(); return this; } /** *
       * The block height of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * uint64 block_height = 2; * @return This builder for chaining. */ public Builder clearBlockHeight() { blockHeight_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp blockTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> blockTimestampBuilder_; /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return Whether the blockTimestamp field is set. */ public boolean hasBlockTimestamp() { return blockTimestampBuilder_ != null || blockTimestamp_ != null; } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; * @return The blockTimestamp. */ public com.google.protobuf.Timestamp getBlockTimestamp() { if (blockTimestampBuilder_ == null) { return blockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_; } else { return blockTimestampBuilder_.getMessage(); } } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public Builder setBlockTimestamp(com.google.protobuf.Timestamp value) { if (blockTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blockTimestamp_ = value; onChanged(); } else { blockTimestampBuilder_.setMessage(value); } return this; } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public Builder setBlockTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { if (blockTimestampBuilder_ == null) { blockTimestamp_ = builderForValue.build(); onChanged(); } else { blockTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public Builder mergeBlockTimestamp(com.google.protobuf.Timestamp value) { if (blockTimestampBuilder_ == null) { if (blockTimestamp_ != null) { blockTimestamp_ = com.google.protobuf.Timestamp.newBuilder(blockTimestamp_).mergeFrom(value).buildPartial(); } else { blockTimestamp_ = value; } onChanged(); } else { blockTimestampBuilder_.mergeFrom(value); } return this; } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public Builder clearBlockTimestamp() { if (blockTimestampBuilder_ == null) { blockTimestamp_ = null; onChanged(); } else { blockTimestamp_ = null; blockTimestampBuilder_ = null; } return this; } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public com.google.protobuf.Timestamp.Builder getBlockTimestampBuilder() { onChanged(); return getBlockTimestampFieldBuilder().getBuilder(); } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ public com.google.protobuf.TimestampOrBuilder getBlockTimestampOrBuilder() { if (blockTimestampBuilder_ != null) { return blockTimestampBuilder_.getMessageOrBuilder(); } else { return blockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : blockTimestamp_; } } /** *
       * The timestamp of the new sealed or finalized block according to the block status
       * in the request.
       * 
* * .google.protobuf.Timestamp block_timestamp = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getBlockTimestampFieldBuilder() { if (blockTimestampBuilder_ == null) { blockTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getBlockTimestamp(), getParentForChildren(), isClean()); blockTimestamp_ = null; } return blockTimestampBuilder_; } @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.access.SubscribeBlockDigestsResponse) } // @@protoc_insertion_point(class_scope:flow.access.SubscribeBlockDigestsResponse) private static final org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse(); } public static org.onflow.protobuf.access.Access.SubscribeBlockDigestsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubscribeBlockDigestsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubscribeBlockDigestsResponse(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.access.Access.SubscribeBlockDigestsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SendAndSubscribeTransactionStatusesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SendAndSubscribeTransactionStatusesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; * @return Whether the transaction field is set. */ boolean hasTransaction(); /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; * @return The transaction. */ org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction(); /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; */ org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder(); /** *
     * The encoding for events in transaction result
     * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The enum numeric value on the wire for eventEncodingVersion. */ int getEventEncodingVersionValue(); /** *
     * The encoding for events in transaction result
     * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The eventEncodingVersion. */ org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion(); } /** *
   * Request message for sending a transaction and subscribing to its status changes.
   * 
* * Protobuf type {@code flow.access.SendAndSubscribeTransactionStatusesRequest} */ public static final class SendAndSubscribeTransactionStatusesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SendAndSubscribeTransactionStatusesRequest) SendAndSubscribeTransactionStatusesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SendAndSubscribeTransactionStatusesRequest.newBuilder() to construct. private SendAndSubscribeTransactionStatusesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SendAndSubscribeTransactionStatusesRequest() { eventEncodingVersion_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SendAndSubscribeTransactionStatusesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SendAndSubscribeTransactionStatusesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder subBuilder = null; if (transaction_ != null) { subBuilder = transaction_.toBuilder(); } transaction_ = input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transaction_); transaction_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); eventEncodingVersion_ = rawValue; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.class, org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.Builder.class); } public static final int TRANSACTION_FIELD_NUMBER = 1; private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_; /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; * @return Whether the transaction field is set. */ @java.lang.Override public boolean hasTransaction() { return transaction_ != null; } /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; * @return The transaction. */ @java.lang.Override public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() { return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_; } /** *
     * The transaction to be sent and tracked for status changes.
     * 
* * .flow.entities.Transaction transaction = 1; */ @java.lang.Override public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() { return getTransaction(); } public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 2; private int eventEncodingVersion_; /** *
     * The encoding for events in transaction result
     * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The enum numeric value on the wire for eventEncodingVersion. */ @java.lang.Override public int getEventEncodingVersionValue() { return eventEncodingVersion_; } /** *
     * The encoding for events in transaction result
     * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The eventEncodingVersion. */ @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_); return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result; } 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 (transaction_ != null) { output.writeMessage(1, getTransaction()); } if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) { output.writeEnum(2, eventEncodingVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (transaction_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTransaction()); } if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, eventEncodingVersion_); } 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.access.Access.SendAndSubscribeTransactionStatusesRequest)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest other = (org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest) obj; if (hasTransaction() != other.hasTransaction()) return false; if (hasTransaction()) { if (!getTransaction() .equals(other.getTransaction())) return false; } if (eventEncodingVersion_ != other.eventEncodingVersion_) 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 (hasTransaction()) { hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + getTransaction().hashCode(); } hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER; hash = (53 * hash) + eventEncodingVersion_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest 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.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest 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.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest 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.access.Access.SendAndSubscribeTransactionStatusesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest 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.access.Access.SendAndSubscribeTransactionStatusesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest 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.access.Access.SendAndSubscribeTransactionStatusesRequest 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; } /** *
     * Request message for sending a transaction and subscribing to its status changes.
     * 
* * Protobuf type {@code flow.access.SendAndSubscribeTransactionStatusesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SendAndSubscribeTransactionStatusesRequest) org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.class, org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.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(); if (transactionBuilder_ == null) { transaction_ = null; } else { transaction_ = null; transactionBuilder_ = null; } eventEncodingVersion_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest build() { org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest buildPartial() { org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest result = new org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest(this); if (transactionBuilder_ == null) { result.transaction_ = transaction_; } else { result.transaction_ = transactionBuilder_.build(); } result.eventEncodingVersion_ = eventEncodingVersion_; 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.access.Access.SendAndSubscribeTransactionStatusesRequest) { return mergeFrom((org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest other) { if (other == org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest.getDefaultInstance()) return this; if (other.hasTransaction()) { mergeTransaction(other.getTransaction()); } if (other.eventEncodingVersion_ != 0) { setEventEncodingVersionValue(other.getEventEncodingVersionValue()); } 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.access.Access.SendAndSubscribeTransactionStatusesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.onflow.protobuf.entities.TransactionOuterClass.Transaction transaction_; private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionBuilder_; /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; * @return Whether the transaction field is set. */ public boolean hasTransaction() { return transactionBuilder_ != null || transaction_ != null; } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; * @return The transaction. */ public org.onflow.protobuf.entities.TransactionOuterClass.Transaction getTransaction() { if (transactionBuilder_ == null) { return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_; } else { return transactionBuilder_.getMessage(); } } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public Builder setTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) { if (transactionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transaction_ = value; onChanged(); } else { transactionBuilder_.setMessage(value); } return this; } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public Builder setTransaction( org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder builderForValue) { if (transactionBuilder_ == null) { transaction_ = builderForValue.build(); onChanged(); } else { transactionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public Builder mergeTransaction(org.onflow.protobuf.entities.TransactionOuterClass.Transaction value) { if (transactionBuilder_ == null) { if (transaction_ != null) { transaction_ = org.onflow.protobuf.entities.TransactionOuterClass.Transaction.newBuilder(transaction_).mergeFrom(value).buildPartial(); } else { transaction_ = value; } onChanged(); } else { transactionBuilder_.mergeFrom(value); } return this; } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public Builder clearTransaction() { if (transactionBuilder_ == null) { transaction_ = null; onChanged(); } else { transaction_ = null; transactionBuilder_ = null; } return this; } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder getTransactionBuilder() { onChanged(); return getTransactionFieldBuilder().getBuilder(); } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionOrBuilder() { if (transactionBuilder_ != null) { return transactionBuilder_.getMessageOrBuilder(); } else { return transaction_ == null ? org.onflow.protobuf.entities.TransactionOuterClass.Transaction.getDefaultInstance() : transaction_; } } /** *
       * The transaction to be sent and tracked for status changes.
       * 
* * .flow.entities.Transaction transaction = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> getTransactionFieldBuilder() { if (transactionBuilder_ == null) { transactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder>( getTransaction(), getParentForChildren(), isClean()); transaction_ = null; } return transactionBuilder_; } private int eventEncodingVersion_ = 0; /** *
       * The encoding for events in transaction result
       * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The enum numeric value on the wire for eventEncodingVersion. */ @java.lang.Override public int getEventEncodingVersionValue() { return eventEncodingVersion_; } /** *
       * The encoding for events in transaction result
       * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @param value The enum numeric value on the wire for eventEncodingVersion to set. * @return This builder for chaining. */ public Builder setEventEncodingVersionValue(int value) { eventEncodingVersion_ = value; onChanged(); return this; } /** *
       * The encoding for events in transaction result
       * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return The eventEncodingVersion. */ @java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() { @SuppressWarnings("deprecation") org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_); return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result; } /** *
       * The encoding for events in transaction result
       * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @param value The eventEncodingVersion to set. * @return This builder for chaining. */ public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) { if (value == null) { throw new NullPointerException(); } eventEncodingVersion_ = value.getNumber(); onChanged(); return this; } /** *
       * The encoding for events in transaction result
       * 
* * .flow.entities.EventEncodingVersion event_encoding_version = 2; * @return This builder for chaining. */ public Builder clearEventEncodingVersion() { eventEncodingVersion_ = 0; 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.access.SendAndSubscribeTransactionStatusesRequest) } // @@protoc_insertion_point(class_scope:flow.access.SendAndSubscribeTransactionStatusesRequest) private static final org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest(); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SendAndSubscribeTransactionStatusesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SendAndSubscribeTransactionStatusesRequest(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.access.Access.SendAndSubscribeTransactionStatusesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SendAndSubscribeTransactionStatusesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:flow.access.SendAndSubscribeTransactionStatusesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return Whether the transactionResults field is set. */ boolean hasTransactionResults(); /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return The transactionResults. */ org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults(); /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder(); /** *
     * The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
     * 
* * uint64 message_index = 2; * @return The messageIndex. */ long getMessageIndex(); } /** *
   * Response message for transaction status changes.
   * 
* * Protobuf type {@code flow.access.SendAndSubscribeTransactionStatusesResponse} */ public static final class SendAndSubscribeTransactionStatusesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flow.access.SendAndSubscribeTransactionStatusesResponse) SendAndSubscribeTransactionStatusesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SendAndSubscribeTransactionStatusesResponse.newBuilder() to construct. private SendAndSubscribeTransactionStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SendAndSubscribeTransactionStatusesResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SendAndSubscribeTransactionStatusesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SendAndSubscribeTransactionStatusesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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: { org.onflow.protobuf.access.Access.TransactionResultResponse.Builder subBuilder = null; if (transactionResults_ != null) { subBuilder = transactionResults_.toBuilder(); } transactionResults_ = input.readMessage(org.onflow.protobuf.access.Access.TransactionResultResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionResults_); transactionResults_ = subBuilder.buildPartial(); } break; } case 16: { messageIndex_ = input.readUInt64(); 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.class, org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.Builder.class); } public static final int TRANSACTION_RESULTS_FIELD_NUMBER = 1; private org.onflow.protobuf.access.Access.TransactionResultResponse transactionResults_; /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return Whether the transactionResults field is set. */ @java.lang.Override public boolean hasTransactionResults() { return transactionResults_ != null; } /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return The transactionResults. */ @java.lang.Override public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults() { return transactionResults_ == null ? org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance() : transactionResults_; } /** *
     * Transaction result of the tracked transaction
     * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ @java.lang.Override public org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder() { return getTransactionResults(); } public static final int MESSAGE_INDEX_FIELD_NUMBER = 2; private long messageIndex_; /** *
     * The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
     * 
* * uint64 message_index = 2; * @return The messageIndex. */ @java.lang.Override public long getMessageIndex() { return messageIndex_; } 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 (transactionResults_ != null) { output.writeMessage(1, getTransactionResults()); } if (messageIndex_ != 0L) { output.writeUInt64(2, messageIndex_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (transactionResults_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTransactionResults()); } if (messageIndex_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, messageIndex_); } 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.access.Access.SendAndSubscribeTransactionStatusesResponse)) { return super.equals(obj); } org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse other = (org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse) obj; if (hasTransactionResults() != other.hasTransactionResults()) return false; if (hasTransactionResults()) { if (!getTransactionResults() .equals(other.getTransactionResults())) return false; } if (getMessageIndex() != other.getMessageIndex()) 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 (hasTransactionResults()) { hash = (37 * hash) + TRANSACTION_RESULTS_FIELD_NUMBER; hash = (53 * hash) + getTransactionResults().hashCode(); } hash = (37 * hash) + MESSAGE_INDEX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMessageIndex()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse 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.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse 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.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse 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.access.Access.SendAndSubscribeTransactionStatusesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse 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.access.Access.SendAndSubscribeTransactionStatusesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse 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.access.Access.SendAndSubscribeTransactionStatusesResponse 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; } /** *
     * Response message for transaction status changes.
     * 
* * Protobuf type {@code flow.access.SendAndSubscribeTransactionStatusesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flow.access.SendAndSubscribeTransactionStatusesResponse) org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.class, org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.Builder.class); } // Construct using org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.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(); if (transactionResultsBuilder_ == null) { transactionResults_ = null; } else { transactionResults_ = null; transactionResultsBuilder_ = null; } messageIndex_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.onflow.protobuf.access.Access.internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor; } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse getDefaultInstanceForType() { return org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.getDefaultInstance(); } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse build() { org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse buildPartial() { org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse result = new org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse(this); if (transactionResultsBuilder_ == null) { result.transactionResults_ = transactionResults_; } else { result.transactionResults_ = transactionResultsBuilder_.build(); } result.messageIndex_ = messageIndex_; 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.access.Access.SendAndSubscribeTransactionStatusesResponse) { return mergeFrom((org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse other) { if (other == org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse.getDefaultInstance()) return this; if (other.hasTransactionResults()) { mergeTransactionResults(other.getTransactionResults()); } if (other.getMessageIndex() != 0L) { setMessageIndex(other.getMessageIndex()); } 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.access.Access.SendAndSubscribeTransactionStatusesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.onflow.protobuf.access.Access.TransactionResultResponse transactionResults_; private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder> transactionResultsBuilder_; /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return Whether the transactionResults field is set. */ public boolean hasTransactionResults() { return transactionResultsBuilder_ != null || transactionResults_ != null; } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; * @return The transactionResults. */ public org.onflow.protobuf.access.Access.TransactionResultResponse getTransactionResults() { if (transactionResultsBuilder_ == null) { return transactionResults_ == null ? org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance() : transactionResults_; } else { return transactionResultsBuilder_.getMessage(); } } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public Builder setTransactionResults(org.onflow.protobuf.access.Access.TransactionResultResponse value) { if (transactionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionResults_ = value; onChanged(); } else { transactionResultsBuilder_.setMessage(value); } return this; } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public Builder setTransactionResults( org.onflow.protobuf.access.Access.TransactionResultResponse.Builder builderForValue) { if (transactionResultsBuilder_ == null) { transactionResults_ = builderForValue.build(); onChanged(); } else { transactionResultsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public Builder mergeTransactionResults(org.onflow.protobuf.access.Access.TransactionResultResponse value) { if (transactionResultsBuilder_ == null) { if (transactionResults_ != null) { transactionResults_ = org.onflow.protobuf.access.Access.TransactionResultResponse.newBuilder(transactionResults_).mergeFrom(value).buildPartial(); } else { transactionResults_ = value; } onChanged(); } else { transactionResultsBuilder_.mergeFrom(value); } return this; } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public Builder clearTransactionResults() { if (transactionResultsBuilder_ == null) { transactionResults_ = null; onChanged(); } else { transactionResults_ = null; transactionResultsBuilder_ = null; } return this; } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public org.onflow.protobuf.access.Access.TransactionResultResponse.Builder getTransactionResultsBuilder() { onChanged(); return getTransactionResultsFieldBuilder().getBuilder(); } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ public org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder getTransactionResultsOrBuilder() { if (transactionResultsBuilder_ != null) { return transactionResultsBuilder_.getMessageOrBuilder(); } else { return transactionResults_ == null ? org.onflow.protobuf.access.Access.TransactionResultResponse.getDefaultInstance() : transactionResults_; } } /** *
       * Transaction result of the tracked transaction
       * 
* * .flow.access.TransactionResultResponse transaction_results = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder> getTransactionResultsFieldBuilder() { if (transactionResultsBuilder_ == null) { transactionResultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.onflow.protobuf.access.Access.TransactionResultResponse, org.onflow.protobuf.access.Access.TransactionResultResponse.Builder, org.onflow.protobuf.access.Access.TransactionResultResponseOrBuilder>( getTransactionResults(), getParentForChildren(), isClean()); transactionResults_ = null; } return transactionResultsBuilder_; } private long messageIndex_ ; /** *
       * The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
       * 
* * uint64 message_index = 2; * @return The messageIndex. */ @java.lang.Override public long getMessageIndex() { return messageIndex_; } /** *
       * The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
       * 
* * uint64 message_index = 2; * @param value The messageIndex to set. * @return This builder for chaining. */ public Builder setMessageIndex(long value) { messageIndex_ = value; onChanged(); return this; } /** *
       * The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
       * 
* * uint64 message_index = 2; * @return This builder for chaining. */ public Builder clearMessageIndex() { messageIndex_ = 0L; 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.access.SendAndSubscribeTransactionStatusesResponse) } // @@protoc_insertion_point(class_scope:flow.access.SendAndSubscribeTransactionStatusesResponse) private static final org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse(); } public static org.onflow.protobuf.access.Access.SendAndSubscribeTransactionStatusesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SendAndSubscribeTransactionStatusesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SendAndSubscribeTransactionStatusesResponse(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.access.Access.SendAndSubscribeTransactionStatusesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_PingRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_PingRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_PingResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_PingResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetNodeVersionInfoRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetNodeVersionInfoRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetNodeVersionInfoResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetNodeVersionInfoResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetLatestBlockHeaderRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetLatestBlockHeaderRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetBlockHeaderByIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetBlockHeaderByIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetBlockHeaderByHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetBlockHeaderByHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_BlockHeaderResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_BlockHeaderResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetLatestBlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetLatestBlockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetBlockByIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetBlockByIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetBlockByHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetBlockByHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_BlockResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_BlockResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetCollectionByIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetCollectionByIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetFullCollectionByIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetFullCollectionByIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_CollectionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_CollectionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_FullCollectionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_FullCollectionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SendTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SendTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SendTransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SendTransactionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetSystemTransactionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetSystemTransactionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetSystemTransactionResultRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetSystemTransactionResultRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetTransactionByIndexRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetTransactionByIndexRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetTransactionsByBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetTransactionsByBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_TransactionResultsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_TransactionResultsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_TransactionsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_TransactionsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_TransactionResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_TransactionResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_TransactionResultResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_TransactionResultResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetAccountRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetAccountRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetAccountResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetAccountResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetAccountAtLatestBlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetAccountAtLatestBlockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_AccountResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_AccountResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetAccountAtBlockHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetAccountAtBlockHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecuteScriptAtBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecuteScriptAtBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecuteScriptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecuteScriptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetEventsForHeightRangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetEventsForHeightRangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetEventsForBlockIDsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetEventsForBlockIDsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_EventsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_EventsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_EventsResponse_Result_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_EventsResponse_Result_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetNetworkParametersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetNetworkParametersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetNetworkParametersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetNetworkParametersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ProtocolStateSnapshotResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ProtocolStateSnapshotResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetExecutionResultForBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetExecutionResultForBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecutionResultForBlockIDResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecutionResultForBlockIDResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_GetExecutionResultByIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_GetExecutionResultByIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_ExecutionResultByIDResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_ExecutionResultByIDResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlocksFromLatestRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlocksResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlocksResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockHeadersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SubscribeBlockDigestsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_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\030flow/access/access.proto\022\013flow.access\032" + "\033flow/entities/account.proto\032 flow/entit" + "ies/block_header.proto\032\031flow/entities/bl" + "ock.proto\032\036flow/entities/collection.prot" + "o\032\031flow/entities/event.proto\032$flow/entit" + "ies/execution_result.proto\032\034flow/entitie" + "s/metadata.proto\032%flow/entities/node_ver" + "sion_info.proto\032\037flow/entities/transacti" + "on.proto\032\037google/protobuf/timestamp.prot" + "o\"\r\n\013PingRequest\"\016\n\014PingResponse\"\033\n\031GetN" + "odeVersionInfoRequest\"J\n\032GetNodeVersionI" + "nfoResponse\022,\n\004info\030\001 \001(\0132\036.flow.entitie" + "s.NodeVersionInfo\"0\n\033GetLatestBlockHeade" + "rRequest\022\021\n\tis_sealed\030\001 \001(\010\"\'\n\031GetBlockH" + "eaderByIDRequest\022\n\n\002id\030\001 \001(\014\"/\n\035GetBlock" + "HeaderByHeightRequest\022\016\n\006height\030\001 \001(\004\"\235\001" + "\n\023BlockHeaderResponse\022)\n\005block\030\001 \001(\0132\032.f" + "low.entities.BlockHeader\0220\n\014block_status" + "\030\002 \001(\0162\032.flow.entities.BlockStatus\022)\n\010me" + "tadata\030\003 \001(\0132\027.flow.entities.Metadata\"G\n" + "\025GetLatestBlockRequest\022\021\n\tis_sealed\030\001 \001(" + "\010\022\033\n\023full_block_response\030\002 \001(\010\">\n\023GetBlo" + "ckByIDRequest\022\n\n\002id\030\001 \001(\014\022\033\n\023full_block_" + "response\030\002 \001(\010\"F\n\027GetBlockByHeightReques" + "t\022\016\n\006height\030\001 \001(\004\022\033\n\023full_block_response" + "\030\002 \001(\010\"\221\001\n\rBlockResponse\022#\n\005block\030\001 \001(\0132" + "\024.flow.entities.Block\0220\n\014block_status\030\002 " + "\001(\0162\032.flow.entities.BlockStatus\022)\n\010metad" + "ata\030\003 \001(\0132\027.flow.entities.Metadata\"&\n\030Ge" + "tCollectionByIDRequest\022\n\n\002id\030\001 \001(\014\"*\n\034Ge" + "tFullCollectionByIDRequest\022\n\n\002id\030\001 \001(\014\"n" + "\n\022CollectionResponse\022-\n\ncollection\030\001 \001(\013" + "2\031.flow.entities.Collection\022)\n\010metadata\030" + "\002 \001(\0132\027.flow.entities.Metadata\"u\n\026FullCo" + "llectionResponse\0220\n\014transactions\030\001 \003(\0132\032" + ".flow.entities.Transaction\022)\n\010metadata\030\002" + " \001(\0132\027.flow.entities.Metadata\"I\n\026SendTra" + "nsactionRequest\022/\n\013transaction\030\001 \001(\0132\032.f" + "low.entities.Transaction\"P\n\027SendTransact" + "ionResponse\022\n\n\002id\030\001 \001(\014\022)\n\010metadata\030\002 \001(" + "\0132\027.flow.entities.Metadata\"\221\001\n\025GetTransa" + "ctionRequest\022\n\n\002id\030\001 \001(\014\022\020\n\010block_id\030\002 \001" + "(\014\022\025\n\rcollection_id\030\003 \001(\014\022C\n\026event_encod" + "ing_version\030\004 \001(\0162#.flow.entities.EventE" + "ncodingVersion\"/\n\033GetSystemTransactionRe" + "quest\022\020\n\010block_id\030\001 \001(\014\"z\n!GetSystemTran" + "sactionResultRequest\022\020\n\010block_id\030\001 \001(\014\022C" + "\n\026event_encoding_version\030\002 \001(\0162#.flow.en" + "tities.EventEncodingVersion\"\204\001\n\034GetTrans" + "actionByIndexRequest\022\020\n\010block_id\030\001 \001(\014\022\r" + "\n\005index\030\002 \001(\r\022C\n\026event_encoding_version\030" + "\003 \001(\0162#.flow.entities.EventEncodingVersi" + "on\"x\n\037GetTransactionsByBlockIDRequest\022\020\n" + "\010block_id\030\001 \001(\014\022C\n\026event_encoding_versio" + "n\030\002 \001(\0162#.flow.entities.EventEncodingVer" + "sion\"\214\001\n\032TransactionResultsResponse\022C\n\023t" + "ransaction_results\030\001 \003(\0132&.flow.access.T" + "ransactionResultResponse\022)\n\010metadata\030\002 \001" + "(\0132\027.flow.entities.Metadata\"s\n\024Transacti" + "onsResponse\0220\n\014transactions\030\001 \003(\0132\032.flow" + ".entities.Transaction\022)\n\010metadata\030\002 \001(\0132" + "\027.flow.entities.Metadata\"q\n\023TransactionR" + "esponse\022/\n\013transaction\030\001 \001(\0132\032.flow.enti" + "ties.Transaction\022)\n\010metadata\030\002 \001(\0132\027.flo" + "w.entities.Metadata\"\274\002\n\031TransactionResul" + "tResponse\0220\n\006status\030\001 \001(\0162 .flow.entitie" + "s.TransactionStatus\022\023\n\013status_code\030\002 \001(\r" + "\022\025\n\rerror_message\030\003 \001(\t\022$\n\006events\030\004 \003(\0132" + "\024.flow.entities.Event\022\020\n\010block_id\030\005 \001(\014\022" + "\026\n\016transaction_id\030\006 \001(\014\022\025\n\rcollection_id" + "\030\007 \001(\014\022\024\n\014block_height\030\010 \001(\004\022)\n\010metadata" + "\030\t \001(\0132\027.flow.entities.Metadata\022\031\n\021compu" + "tation_usage\030\n \001(\004\"$\n\021GetAccountRequest\022" + "\017\n\007address\030\001 \001(\014\"h\n\022GetAccountResponse\022\'" + "\n\007account\030\001 \001(\0132\026.flow.entities.Account\022" + ")\n\010metadata\030\002 \001(\0132\027.flow.entities.Metada" + "ta\"1\n\036GetAccountAtLatestBlockRequest\022\017\n\007" + "address\030\001 \001(\014\"e\n\017AccountResponse\022\'\n\007acco" + "unt\030\001 \001(\0132\026.flow.entities.Account\022)\n\010met" + "adata\030\002 \001(\0132\027.flow.entities.Metadata\"G\n\036" + "GetAccountAtBlockHeightRequest\022\017\n\007addres" + "s\030\001 \001(\014\022\024\n\014block_height\030\002 \001(\004\"F\n!Execute" + "ScriptAtLatestBlockRequest\022\016\n\006script\030\001 \001" + "(\014\022\021\n\targuments\030\002 \003(\014\"T\n\035ExecuteScriptAt" + "BlockIDRequest\022\020\n\010block_id\030\001 \001(\014\022\016\n\006scri" + "pt\030\002 \001(\014\022\021\n\targuments\030\003 \003(\014\"\\\n!ExecuteSc" + "riptAtBlockHeightRequest\022\024\n\014block_height" + "\030\001 \001(\004\022\016\n\006script\030\002 \001(\014\022\021\n\targuments\030\003 \003(" + "\014\"l\n\025ExecuteScriptResponse\022\r\n\005value\030\001 \001(" + "\014\022)\n\010metadata\030\002 \001(\0132\027.flow.entities.Meta" + "data\022\031\n\021computation_usage\030\003 \001(\004\"\235\001\n\036GetE" + "ventsForHeightRangeRequest\022\014\n\004type\030\001 \001(\t" + "\022\024\n\014start_height\030\002 \001(\004\022\022\n\nend_height\030\003 \001" + "(\004\022C\n\026event_encoding_version\030\004 \001(\0162#.flo" + "w.entities.EventEncodingVersion\"\203\001\n\033GetE" + "ventsForBlockIDsRequest\022\014\n\004type\030\001 \001(\t\022\021\n" + "\tblock_ids\030\002 \003(\014\022C\n\026event_encoding_versi" + "on\030\003 \001(\0162#.flow.entities.EventEncodingVe" + "rsion\"\376\001\n\016EventsResponse\0223\n\007results\030\001 \003(" + "\0132\".flow.access.EventsResponse.Result\022)\n" + "\010metadata\030\002 \001(\0132\027.flow.entities.Metadata" + "\032\213\001\n\006Result\022\020\n\010block_id\030\001 \001(\014\022\024\n\014block_h" + "eight\030\002 \001(\004\022$\n\006events\030\003 \003(\0132\024.flow.entit" + "ies.Event\0223\n\017block_timestamp\030\004 \001(\0132\032.goo" + "gle.protobuf.Timestamp\"\035\n\033GetNetworkPara" + "metersRequest\"0\n\034GetNetworkParametersRes" + "ponse\022\020\n\010chain_id\030\001 \001(\t\"\'\n%GetLatestProt" + "ocolStateSnapshotRequest\"<\n(GetProtocolS" + "tateSnapshotByBlockIDRequest\022\020\n\010block_id" + "\030\001 \001(\014\"?\n\'GetProtocolStateSnapshotByHeig" + "htRequest\022\024\n\014block_height\030\001 \001(\004\"f\n\035Proto" + "colStateSnapshotResponse\022\032\n\022serializedSn" + "apshot\030\001 \001(\014\022)\n\010metadata\030\002 \001(\0132\027.flow.en" + "tities.Metadata\"7\n#GetExecutionResultFor" + "BlockIDRequest\022\020\n\010block_id\030\001 \001(\014\"\210\001\n!Exe" + "cutionResultForBlockIDResponse\0228\n\020execut" + "ion_result\030\001 \001(\0132\036.flow.entities.Executi" + "onResult\022)\n\010metadata\030\002 \001(\0132\027.flow.entiti" + "es.Metadata\"+\n\035GetExecutionResultByIDReq" + "uest\022\n\n\002id\030\001 \001(\014\"\202\001\n\033ExecutionResultByID" + "Response\0228\n\020execution_result\030\001 \001(\0132\036.flo" + "w.entities.ExecutionResult\022)\n\010metadata\030\002" + " \001(\0132\027.flow.entities.Metadata\"\217\001\n&Subscr" + "ibeBlocksFromStartBlockIDRequest\022\026\n\016star" + "t_block_id\030\001 \001(\014\0220\n\014block_status\030\002 \001(\0162\032" + ".flow.entities.BlockStatus\022\033\n\023full_block" + "_response\030\003 \001(\010\"\222\001\n%SubscribeBlocksFromS" + "tartHeightRequest\022\032\n\022start_block_height\030" + "\001 \001(\004\0220\n\014block_status\030\002 \001(\0162\032.flow.entit" + "ies.BlockStatus\022\033\n\023full_block_response\030\003" + " \001(\010\"q\n SubscribeBlocksFromLatestRequest" + "\0220\n\014block_status\030\001 \001(\0162\032.flow.entities.B" + "lockStatus\022\033\n\023full_block_response\030\002 \001(\010\"" + ">\n\027SubscribeBlocksResponse\022#\n\005block\030\001 \001(" + "\0132\024.flow.entities.Block\"x\n,SubscribeBloc" + "kHeadersFromStartBlockIDRequest\022\026\n\016start" + "_block_id\030\001 \001(\014\0220\n\014block_status\030\002 \001(\0162\032." + "flow.entities.BlockStatus\"{\n+SubscribeBl" + "ockHeadersFromStartHeightRequest\022\032\n\022star" + "t_block_height\030\001 \001(\004\0220\n\014block_status\030\002 \001" + "(\0162\032.flow.entities.BlockStatus\"Z\n&Subscr" + "ibeBlockHeadersFromLatestRequest\0220\n\014bloc" + "k_status\030\001 \001(\0162\032.flow.entities.BlockStat" + "us\"K\n\035SubscribeBlockHeadersResponse\022*\n\006h" + "eader\030\001 \001(\0132\032.flow.entities.BlockHeader\"" + "x\n,SubscribeBlockDigestsFromStartBlockID" + "Request\022\026\n\016start_block_id\030\001 \001(\014\0220\n\014block" + "_status\030\002 \001(\0162\032.flow.entities.BlockStatu" + "s\"{\n+SubscribeBlockDigestsFromStartHeigh" + "tRequest\022\032\n\022start_block_height\030\001 \001(\004\0220\n\014" + "block_status\030\002 \001(\0162\032.flow.entities.Block" + "Status\"Z\n&SubscribeBlockDigestsFromLates" + "tRequest\0220\n\014block_status\030\001 \001(\0162\032.flow.en" + "tities.BlockStatus\"|\n\035SubscribeBlockDige" + "stsResponse\022\020\n\010block_id\030\001 \001(\014\022\024\n\014block_h" + "eight\030\002 \001(\004\0223\n\017block_timestamp\030\003 \001(\0132\032.g" + "oogle.protobuf.Timestamp\"\242\001\n*SendAndSubs" + "cribeTransactionStatusesRequest\022/\n\013trans" + "action\030\001 \001(\0132\032.flow.entities.Transaction" + "\022C\n\026event_encoding_version\030\002 \001(\0162#.flow." + "entities.EventEncodingVersion\"\211\001\n+SendAn" + "dSubscribeTransactionStatusesResponse\022C\n" + "\023transaction_results\030\001 \001(\0132&.flow.access" + ".TransactionResultResponse\022\025\n\rmessage_in" + "dex\030\002 \001(\0042\350$\n\tAccessAPI\022;\n\004Ping\022\030.flow.a" + "ccess.PingRequest\032\031.flow.access.PingResp" + "onse\022e\n\022GetNodeVersionInfo\022&.flow.access" + ".GetNodeVersionInfoRequest\032\'.flow.access" + ".GetNodeVersionInfoResponse\022b\n\024GetLatest" + "BlockHeader\022(.flow.access.GetLatestBlock" + "HeaderRequest\032 .flow.access.BlockHeaderR" + "esponse\022^\n\022GetBlockHeaderByID\022&.flow.acc" + "ess.GetBlockHeaderByIDRequest\032 .flow.acc" + "ess.BlockHeaderResponse\022f\n\026GetBlockHeade" + "rByHeight\022*.flow.access.GetBlockHeaderBy" + "HeightRequest\032 .flow.access.BlockHeaderR" + "esponse\022P\n\016GetLatestBlock\022\".flow.access." + "GetLatestBlockRequest\032\032.flow.access.Bloc" + "kResponse\022L\n\014GetBlockByID\022 .flow.access." + "GetBlockByIDRequest\032\032.flow.access.BlockR" + "esponse\022T\n\020GetBlockByHeight\022$.flow.acces" + "s.GetBlockByHeightRequest\032\032.flow.access." + "BlockResponse\022[\n\021GetCollectionByID\022%.flo" + "w.access.GetCollectionByIDRequest\032\037.flow" + ".access.CollectionResponse\022g\n\025GetFullCol" + "lectionByID\022).flow.access.GetFullCollect" + "ionByIDRequest\032#.flow.access.FullCollect" + "ionResponse\022\\\n\017SendTransaction\022#.flow.ac" + "cess.SendTransactionRequest\032$.flow.acces" + "s.SendTransactionResponse\022V\n\016GetTransact" + "ion\022\".flow.access.GetTransactionRequest\032" + " .flow.access.TransactionResponse\022b\n\024Get" + "TransactionResult\022\".flow.access.GetTrans" + "actionRequest\032&.flow.access.TransactionR" + "esultResponse\022p\n\033GetTransactionResultByI" + "ndex\022).flow.access.GetTransactionByIndex" + "Request\032&.flow.access.TransactionResultR" + "esponse\022w\n\036GetTransactionResultsByBlockI" + "D\022,.flow.access.GetTransactionsByBlockID" + "Request\032\'.flow.access.TransactionResults" + "Response\022k\n\030GetTransactionsByBlockID\022,.f" + "low.access.GetTransactionsByBlockIDReque" + "st\032!.flow.access.TransactionsResponse\022b\n" + "\024GetSystemTransaction\022(.flow.access.GetS" + "ystemTransactionRequest\032 .flow.access.Tr" + "ansactionResponse\022t\n\032GetSystemTransactio" + "nResult\022..flow.access.GetSystemTransacti" + "onResultRequest\032&.flow.access.Transactio" + "nResultResponse\022M\n\nGetAccount\022\036.flow.acc" + "ess.GetAccountRequest\032\037.flow.access.GetA" + "ccountResponse\022d\n\027GetAccountAtLatestBloc" + "k\022+.flow.access.GetAccountAtLatestBlockR" + "equest\032\034.flow.access.AccountResponse\022d\n\027" + "GetAccountAtBlockHeight\022+.flow.access.Ge" + "tAccountAtBlockHeightRequest\032\034.flow.acce" + "ss.AccountResponse\022p\n\032ExecuteScriptAtLat" + "estBlock\022..flow.access.ExecuteScriptAtLa" + "testBlockRequest\032\".flow.access.ExecuteSc" + "riptResponse\022h\n\026ExecuteScriptAtBlockID\022*" + ".flow.access.ExecuteScriptAtBlockIDReque" + "st\032\".flow.access.ExecuteScriptResponse\022p" + "\n\032ExecuteScriptAtBlockHeight\022..flow.acce" + "ss.ExecuteScriptAtBlockHeightRequest\032\".f" + "low.access.ExecuteScriptResponse\022c\n\027GetE" + "ventsForHeightRange\022+.flow.access.GetEve" + "ntsForHeightRangeRequest\032\033.flow.access.E" + "ventsResponse\022]\n\024GetEventsForBlockIDs\022(." + "flow.access.GetEventsForBlockIDsRequest\032" + "\033.flow.access.EventsResponse\022k\n\024GetNetwo" + "rkParameters\022(.flow.access.GetNetworkPar" + "ametersRequest\032).flow.access.GetNetworkP" + "arametersResponse\022\200\001\n\036GetLatestProtocolS" + "tateSnapshot\0222.flow.access.GetLatestProt" + "ocolStateSnapshotRequest\032*.flow.access.P" + "rotocolStateSnapshotResponse\022\206\001\n!GetProt" + "ocolStateSnapshotByBlockID\0225.flow.access" + ".GetProtocolStateSnapshotByBlockIDReques" + "t\032*.flow.access.ProtocolStateSnapshotRes" + "ponse\022\204\001\n GetProtocolStateSnapshotByHeig" + "ht\0224.flow.access.GetProtocolStateSnapsho" + "tByHeightRequest\032*.flow.access.ProtocolS" + "tateSnapshotResponse\022\200\001\n\034GetExecutionRes" + "ultForBlockID\0220.flow.access.GetExecution" + "ResultForBlockIDRequest\032..flow.access.Ex" + "ecutionResultForBlockIDResponse\022n\n\026GetEx" + "ecutionResultByID\022*.flow.access.GetExecu" + "tionResultByIDRequest\032(.flow.access.Exec" + "utionResultByIDResponse\022~\n\037SubscribeBloc" + "ksFromStartBlockID\0223.flow.access.Subscri" + "beBlocksFromStartBlockIDRequest\032$.flow.a" + "ccess.SubscribeBlocksResponse0\001\022|\n\036Subsc" + "ribeBlocksFromStartHeight\0222.flow.access." + "SubscribeBlocksFromStartHeightRequest\032$." + "flow.access.SubscribeBlocksResponse0\001\022r\n" + "\031SubscribeBlocksFromLatest\022-.flow.access" + ".SubscribeBlocksFromLatestRequest\032$.flow" + ".access.SubscribeBlocksResponse0\001\022\220\001\n%Su" + "bscribeBlockHeadersFromStartBlockID\0229.fl" + "ow.access.SubscribeBlockHeadersFromStart" + "BlockIDRequest\032*.flow.access.SubscribeBl" + "ockHeadersResponse0\001\022\216\001\n$SubscribeBlockH" + "eadersFromStartHeight\0228.flow.access.Subs" + "cribeBlockHeadersFromStartHeightRequest\032" + "*.flow.access.SubscribeBlockHeadersRespo" + "nse0\001\022\204\001\n\037SubscribeBlockHeadersFromLates" + "t\0223.flow.access.SubscribeBlockHeadersFro" + "mLatestRequest\032*.flow.access.SubscribeBl" + "ockHeadersResponse0\001\022\220\001\n%SubscribeBlockD" + "igestsFromStartBlockID\0229.flow.access.Sub" + "scribeBlockDigestsFromStartBlockIDReques" + "t\032*.flow.access.SubscribeBlockDigestsRes" + "ponse0\001\022\216\001\n$SubscribeBlockDigestsFromSta" + "rtHeight\0228.flow.access.SubscribeBlockDig" + "estsFromStartHeightRequest\032*.flow.access" + ".SubscribeBlockDigestsResponse0\001\022\204\001\n\037Sub" + "scribeBlockDigestsFromLatest\0223.flow.acce" + "ss.SubscribeBlockDigestsFromLatestReques" + "t\032*.flow.access.SubscribeBlockDigestsRes" + "ponse0\001\022\232\001\n#SendAndSubscribeTransactionS" + "tatuses\0227.flow.access.SendAndSubscribeTr" + "ansactionStatusesRequest\0328.flow.access.S" + "endAndSubscribeTransactionStatusesRespon" + "se0\001BL\n\032org.onflow.protobuf.accessZ.gith" + "ub.com/onflow/flow/protobuf/go/flow/acce" + "ssb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.onflow.protobuf.entities.AccountOuterClass.getDescriptor(), org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor(), org.onflow.protobuf.entities.BlockOuterClass.getDescriptor(), org.onflow.protobuf.entities.CollectionOuterClass.getDescriptor(), org.onflow.protobuf.entities.EventOuterClass.getDescriptor(), org.onflow.protobuf.entities.ExecutionResultOuterClass.getDescriptor(), org.onflow.protobuf.entities.MetadataOuterClass.getDescriptor(), org.onflow.protobuf.entities.NodeVersionInfoOuterClass.getDescriptor(), org.onflow.protobuf.entities.TransactionOuterClass.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_flow_access_PingRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_flow_access_PingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_PingRequest_descriptor, new java.lang.String[] { }); internal_static_flow_access_PingResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flow_access_PingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_PingResponse_descriptor, new java.lang.String[] { }); internal_static_flow_access_GetNodeVersionInfoRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flow_access_GetNodeVersionInfoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetNodeVersionInfoRequest_descriptor, new java.lang.String[] { }); internal_static_flow_access_GetNodeVersionInfoResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_flow_access_GetNodeVersionInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetNodeVersionInfoResponse_descriptor, new java.lang.String[] { "Info", }); internal_static_flow_access_GetLatestBlockHeaderRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_flow_access_GetLatestBlockHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetLatestBlockHeaderRequest_descriptor, new java.lang.String[] { "IsSealed", }); internal_static_flow_access_GetBlockHeaderByIDRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_flow_access_GetBlockHeaderByIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetBlockHeaderByIDRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flow_access_GetBlockHeaderByHeightRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_flow_access_GetBlockHeaderByHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetBlockHeaderByHeightRequest_descriptor, new java.lang.String[] { "Height", }); internal_static_flow_access_BlockHeaderResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_flow_access_BlockHeaderResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_BlockHeaderResponse_descriptor, new java.lang.String[] { "Block", "BlockStatus", "Metadata", }); internal_static_flow_access_GetLatestBlockRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flow_access_GetLatestBlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetLatestBlockRequest_descriptor, new java.lang.String[] { "IsSealed", "FullBlockResponse", }); internal_static_flow_access_GetBlockByIDRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_flow_access_GetBlockByIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetBlockByIDRequest_descriptor, new java.lang.String[] { "Id", "FullBlockResponse", }); internal_static_flow_access_GetBlockByHeightRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_flow_access_GetBlockByHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetBlockByHeightRequest_descriptor, new java.lang.String[] { "Height", "FullBlockResponse", }); internal_static_flow_access_BlockResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_flow_access_BlockResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_BlockResponse_descriptor, new java.lang.String[] { "Block", "BlockStatus", "Metadata", }); internal_static_flow_access_GetCollectionByIDRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_flow_access_GetCollectionByIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetCollectionByIDRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flow_access_GetFullCollectionByIDRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_flow_access_GetFullCollectionByIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetFullCollectionByIDRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flow_access_CollectionResponse_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_flow_access_CollectionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_CollectionResponse_descriptor, new java.lang.String[] { "Collection", "Metadata", }); internal_static_flow_access_FullCollectionResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_flow_access_FullCollectionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_FullCollectionResponse_descriptor, new java.lang.String[] { "Transactions", "Metadata", }); internal_static_flow_access_SendTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_flow_access_SendTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SendTransactionRequest_descriptor, new java.lang.String[] { "Transaction", }); internal_static_flow_access_SendTransactionResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_flow_access_SendTransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SendTransactionResponse_descriptor, new java.lang.String[] { "Id", "Metadata", }); internal_static_flow_access_GetTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_flow_access_GetTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetTransactionRequest_descriptor, new java.lang.String[] { "Id", "BlockId", "CollectionId", "EventEncodingVersion", }); internal_static_flow_access_GetSystemTransactionRequest_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_flow_access_GetSystemTransactionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetSystemTransactionRequest_descriptor, new java.lang.String[] { "BlockId", }); internal_static_flow_access_GetSystemTransactionResultRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_flow_access_GetSystemTransactionResultRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetSystemTransactionResultRequest_descriptor, new java.lang.String[] { "BlockId", "EventEncodingVersion", }); internal_static_flow_access_GetTransactionByIndexRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_flow_access_GetTransactionByIndexRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetTransactionByIndexRequest_descriptor, new java.lang.String[] { "BlockId", "Index", "EventEncodingVersion", }); internal_static_flow_access_GetTransactionsByBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_flow_access_GetTransactionsByBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetTransactionsByBlockIDRequest_descriptor, new java.lang.String[] { "BlockId", "EventEncodingVersion", }); internal_static_flow_access_TransactionResultsResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_flow_access_TransactionResultsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_TransactionResultsResponse_descriptor, new java.lang.String[] { "TransactionResults", "Metadata", }); internal_static_flow_access_TransactionsResponse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_flow_access_TransactionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_TransactionsResponse_descriptor, new java.lang.String[] { "Transactions", "Metadata", }); internal_static_flow_access_TransactionResponse_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_flow_access_TransactionResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_TransactionResponse_descriptor, new java.lang.String[] { "Transaction", "Metadata", }); internal_static_flow_access_TransactionResultResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_flow_access_TransactionResultResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_TransactionResultResponse_descriptor, new java.lang.String[] { "Status", "StatusCode", "ErrorMessage", "Events", "BlockId", "TransactionId", "CollectionId", "BlockHeight", "Metadata", "ComputationUsage", }); internal_static_flow_access_GetAccountRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_flow_access_GetAccountRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetAccountRequest_descriptor, new java.lang.String[] { "Address", }); internal_static_flow_access_GetAccountResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_flow_access_GetAccountResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetAccountResponse_descriptor, new java.lang.String[] { "Account", "Metadata", }); internal_static_flow_access_GetAccountAtLatestBlockRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_flow_access_GetAccountAtLatestBlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetAccountAtLatestBlockRequest_descriptor, new java.lang.String[] { "Address", }); internal_static_flow_access_AccountResponse_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_flow_access_AccountResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_AccountResponse_descriptor, new java.lang.String[] { "Account", "Metadata", }); internal_static_flow_access_GetAccountAtBlockHeightRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_flow_access_GetAccountAtBlockHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetAccountAtBlockHeightRequest_descriptor, new java.lang.String[] { "Address", "BlockHeight", }); internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecuteScriptAtLatestBlockRequest_descriptor, new java.lang.String[] { "Script", "Arguments", }); internal_static_flow_access_ExecuteScriptAtBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_flow_access_ExecuteScriptAtBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecuteScriptAtBlockIDRequest_descriptor, new java.lang.String[] { "BlockId", "Script", "Arguments", }); internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecuteScriptAtBlockHeightRequest_descriptor, new java.lang.String[] { "BlockHeight", "Script", "Arguments", }); internal_static_flow_access_ExecuteScriptResponse_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_flow_access_ExecuteScriptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecuteScriptResponse_descriptor, new java.lang.String[] { "Value", "Metadata", "ComputationUsage", }); internal_static_flow_access_GetEventsForHeightRangeRequest_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_flow_access_GetEventsForHeightRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetEventsForHeightRangeRequest_descriptor, new java.lang.String[] { "Type", "StartHeight", "EndHeight", "EventEncodingVersion", }); internal_static_flow_access_GetEventsForBlockIDsRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_flow_access_GetEventsForBlockIDsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetEventsForBlockIDsRequest_descriptor, new java.lang.String[] { "Type", "BlockIds", "EventEncodingVersion", }); internal_static_flow_access_EventsResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_flow_access_EventsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_EventsResponse_descriptor, new java.lang.String[] { "Results", "Metadata", }); internal_static_flow_access_EventsResponse_Result_descriptor = internal_static_flow_access_EventsResponse_descriptor.getNestedTypes().get(0); internal_static_flow_access_EventsResponse_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_EventsResponse_Result_descriptor, new java.lang.String[] { "BlockId", "BlockHeight", "Events", "BlockTimestamp", }); internal_static_flow_access_GetNetworkParametersRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_flow_access_GetNetworkParametersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetNetworkParametersRequest_descriptor, new java.lang.String[] { }); internal_static_flow_access_GetNetworkParametersResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_flow_access_GetNetworkParametersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetNetworkParametersResponse_descriptor, new java.lang.String[] { "ChainId", }); internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetLatestProtocolStateSnapshotRequest_descriptor, new java.lang.String[] { }); internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetProtocolStateSnapshotByBlockIDRequest_descriptor, new java.lang.String[] { "BlockId", }); internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetProtocolStateSnapshotByHeightRequest_descriptor, new java.lang.String[] { "BlockHeight", }); internal_static_flow_access_ProtocolStateSnapshotResponse_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_flow_access_ProtocolStateSnapshotResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ProtocolStateSnapshotResponse_descriptor, new java.lang.String[] { "SerializedSnapshot", "Metadata", }); internal_static_flow_access_GetExecutionResultForBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_flow_access_GetExecutionResultForBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetExecutionResultForBlockIDRequest_descriptor, new java.lang.String[] { "BlockId", }); internal_static_flow_access_ExecutionResultForBlockIDResponse_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_flow_access_ExecutionResultForBlockIDResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecutionResultForBlockIDResponse_descriptor, new java.lang.String[] { "ExecutionResult", "Metadata", }); internal_static_flow_access_GetExecutionResultByIDRequest_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_flow_access_GetExecutionResultByIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_GetExecutionResultByIDRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flow_access_ExecutionResultByIDResponse_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_flow_access_ExecutionResultByIDResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_ExecutionResultByIDResponse_descriptor, new java.lang.String[] { "ExecutionResult", "Metadata", }); internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlocksFromStartBlockIDRequest_descriptor, new java.lang.String[] { "StartBlockId", "BlockStatus", "FullBlockResponse", }); internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlocksFromStartHeightRequest_descriptor, new java.lang.String[] { "StartBlockHeight", "BlockStatus", "FullBlockResponse", }); internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_flow_access_SubscribeBlocksFromLatestRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlocksFromLatestRequest_descriptor, new java.lang.String[] { "BlockStatus", "FullBlockResponse", }); internal_static_flow_access_SubscribeBlocksResponse_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_flow_access_SubscribeBlocksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlocksResponse_descriptor, new java.lang.String[] { "Block", }); internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockHeadersFromStartBlockIDRequest_descriptor, new java.lang.String[] { "StartBlockId", "BlockStatus", }); internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockHeadersFromStartHeightRequest_descriptor, new java.lang.String[] { "StartBlockHeight", "BlockStatus", }); internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockHeadersFromLatestRequest_descriptor, new java.lang.String[] { "BlockStatus", }); internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_flow_access_SubscribeBlockHeadersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockHeadersResponse_descriptor, new java.lang.String[] { "Header", }); internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockDigestsFromStartBlockIDRequest_descriptor, new java.lang.String[] { "StartBlockId", "BlockStatus", }); internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockDigestsFromStartHeightRequest_descriptor, new java.lang.String[] { "StartBlockHeight", "BlockStatus", }); internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockDigestsFromLatestRequest_descriptor, new java.lang.String[] { "BlockStatus", }); internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_flow_access_SubscribeBlockDigestsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SubscribeBlockDigestsResponse_descriptor, new java.lang.String[] { "BlockId", "BlockHeight", "BlockTimestamp", }); internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SendAndSubscribeTransactionStatusesRequest_descriptor, new java.lang.String[] { "Transaction", "EventEncodingVersion", }); internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flow_access_SendAndSubscribeTransactionStatusesResponse_descriptor, new java.lang.String[] { "TransactionResults", "MessageIndex", }); org.onflow.protobuf.entities.AccountOuterClass.getDescriptor(); org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor(); org.onflow.protobuf.entities.BlockOuterClass.getDescriptor(); org.onflow.protobuf.entities.CollectionOuterClass.getDescriptor(); org.onflow.protobuf.entities.EventOuterClass.getDescriptor(); org.onflow.protobuf.entities.ExecutionResultOuterClass.getDescriptor(); org.onflow.protobuf.entities.MetadataOuterClass.getDescriptor(); org.onflow.protobuf.entities.NodeVersionInfoOuterClass.getDescriptor(); org.onflow.protobuf.entities.TransactionOuterClass.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy