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

tendermint.abci.Types Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tendermint/abci/types.proto

package tendermint.abci;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code tendermint.abci.CheckTxType}
   */
  public enum CheckTxType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NEW = 0 [(.gogoproto.enumvalue_customname) = "New"];
     */
    NEW(0),
    /**
     * RECHECK = 1 [(.gogoproto.enumvalue_customname) = "Recheck"];
     */
    RECHECK(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * NEW = 0 [(.gogoproto.enumvalue_customname) = "New"];
     */
    public static final int NEW_VALUE = 0;
    /**
     * RECHECK = 1 [(.gogoproto.enumvalue_customname) = "Recheck"];
     */
    public static final int RECHECK_VALUE = 1;


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

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static CheckTxType valueOf(int value) {
      return forNumber(value);
    }

    public static CheckTxType forNumber(int value) {
      switch (value) {
        case 0: return NEW;
        case 1: return RECHECK;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return tendermint.abci.Types.getDescriptor().getEnumTypes().get(0);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:tendermint.abci.CheckTxType)
  }

  /**
   * Protobuf enum {@code tendermint.abci.EvidenceType}
   */
  public enum EvidenceType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNKNOWN = 0;
     */
    UNKNOWN(0),
    /**
     * DUPLICATE_VOTE = 1;
     */
    DUPLICATE_VOTE(1),
    /**
     * LIGHT_CLIENT_ATTACK = 2;
     */
    LIGHT_CLIENT_ATTACK(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * UNKNOWN = 0;
     */
    public static final int UNKNOWN_VALUE = 0;
    /**
     * DUPLICATE_VOTE = 1;
     */
    public static final int DUPLICATE_VOTE_VALUE = 1;
    /**
     * LIGHT_CLIENT_ATTACK = 2;
     */
    public static final int LIGHT_CLIENT_ATTACK_VALUE = 2;


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

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static EvidenceType valueOf(int value) {
      return forNumber(value);
    }

    public static EvidenceType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return DUPLICATE_VOTE;
        case 2: return LIGHT_CLIENT_ATTACK;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return tendermint.abci.Types.getDescriptor().getEnumTypes().get(1);
    }

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

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

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:tendermint.abci.EvidenceType)
  }

  public interface RequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tendermint.abci.Request)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    boolean hasEcho();
    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    tendermint.abci.Types.RequestEcho getEcho();
    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    tendermint.abci.Types.RequestEchoOrBuilder getEchoOrBuilder();

    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    boolean hasFlush();
    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    tendermint.abci.Types.RequestFlush getFlush();
    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    tendermint.abci.Types.RequestFlushOrBuilder getFlushOrBuilder();

    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    boolean hasInfo();
    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    tendermint.abci.Types.RequestInfo getInfo();
    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    tendermint.abci.Types.RequestInfoOrBuilder getInfoOrBuilder();

    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    boolean hasSetOption();
    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    tendermint.abci.Types.RequestSetOption getSetOption();
    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    tendermint.abci.Types.RequestSetOptionOrBuilder getSetOptionOrBuilder();

    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    boolean hasInitChain();
    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    tendermint.abci.Types.RequestInitChain getInitChain();
    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    tendermint.abci.Types.RequestInitChainOrBuilder getInitChainOrBuilder();

    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    boolean hasQuery();
    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    tendermint.abci.Types.RequestQuery getQuery();
    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    tendermint.abci.Types.RequestQueryOrBuilder getQueryOrBuilder();

    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    boolean hasBeginBlock();
    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    tendermint.abci.Types.RequestBeginBlock getBeginBlock();
    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    tendermint.abci.Types.RequestBeginBlockOrBuilder getBeginBlockOrBuilder();

    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    boolean hasCheckTx();
    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    tendermint.abci.Types.RequestCheckTx getCheckTx();
    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    tendermint.abci.Types.RequestCheckTxOrBuilder getCheckTxOrBuilder();

    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    boolean hasDeliverTx();
    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    tendermint.abci.Types.RequestDeliverTx getDeliverTx();
    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    tendermint.abci.Types.RequestDeliverTxOrBuilder getDeliverTxOrBuilder();

    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    boolean hasEndBlock();
    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    tendermint.abci.Types.RequestEndBlock getEndBlock();
    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    tendermint.abci.Types.RequestEndBlockOrBuilder getEndBlockOrBuilder();

    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    boolean hasCommit();
    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    tendermint.abci.Types.RequestCommit getCommit();
    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    tendermint.abci.Types.RequestCommitOrBuilder getCommitOrBuilder();

    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    boolean hasListSnapshots();
    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    tendermint.abci.Types.RequestListSnapshots getListSnapshots();
    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    tendermint.abci.Types.RequestListSnapshotsOrBuilder getListSnapshotsOrBuilder();

    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    boolean hasOfferSnapshot();
    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    tendermint.abci.Types.RequestOfferSnapshot getOfferSnapshot();
    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    tendermint.abci.Types.RequestOfferSnapshotOrBuilder getOfferSnapshotOrBuilder();

    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    boolean hasLoadSnapshotChunk();
    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    tendermint.abci.Types.RequestLoadSnapshotChunk getLoadSnapshotChunk();
    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder();

    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    boolean hasApplySnapshotChunk();
    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    tendermint.abci.Types.RequestApplySnapshotChunk getApplySnapshotChunk();
    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder();

    public tendermint.abci.Types.Request.ValueCase getValueCase();
  }
  /**
   * Protobuf type {@code tendermint.abci.Request}
   */
  public  static final class Request extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tendermint.abci.Request)
      RequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Request.newBuilder() to construct.
    private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Request() {
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Request(
        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: {
              tendermint.abci.Types.RequestEcho.Builder subBuilder = null;
              if (valueCase_ == 1) {
                subBuilder = ((tendermint.abci.Types.RequestEcho) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestEcho.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestEcho) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 1;
              break;
            }
            case 18: {
              tendermint.abci.Types.RequestFlush.Builder subBuilder = null;
              if (valueCase_ == 2) {
                subBuilder = ((tendermint.abci.Types.RequestFlush) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestFlush.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestFlush) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 2;
              break;
            }
            case 26: {
              tendermint.abci.Types.RequestInfo.Builder subBuilder = null;
              if (valueCase_ == 3) {
                subBuilder = ((tendermint.abci.Types.RequestInfo) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestInfo) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 3;
              break;
            }
            case 34: {
              tendermint.abci.Types.RequestSetOption.Builder subBuilder = null;
              if (valueCase_ == 4) {
                subBuilder = ((tendermint.abci.Types.RequestSetOption) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestSetOption.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestSetOption) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 4;
              break;
            }
            case 42: {
              tendermint.abci.Types.RequestInitChain.Builder subBuilder = null;
              if (valueCase_ == 5) {
                subBuilder = ((tendermint.abci.Types.RequestInitChain) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestInitChain.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestInitChain) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 5;
              break;
            }
            case 50: {
              tendermint.abci.Types.RequestQuery.Builder subBuilder = null;
              if (valueCase_ == 6) {
                subBuilder = ((tendermint.abci.Types.RequestQuery) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestQuery.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestQuery) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 6;
              break;
            }
            case 58: {
              tendermint.abci.Types.RequestBeginBlock.Builder subBuilder = null;
              if (valueCase_ == 7) {
                subBuilder = ((tendermint.abci.Types.RequestBeginBlock) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestBeginBlock.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestBeginBlock) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 7;
              break;
            }
            case 66: {
              tendermint.abci.Types.RequestCheckTx.Builder subBuilder = null;
              if (valueCase_ == 8) {
                subBuilder = ((tendermint.abci.Types.RequestCheckTx) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestCheckTx.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestCheckTx) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 8;
              break;
            }
            case 74: {
              tendermint.abci.Types.RequestDeliverTx.Builder subBuilder = null;
              if (valueCase_ == 9) {
                subBuilder = ((tendermint.abci.Types.RequestDeliverTx) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestDeliverTx.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestDeliverTx) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 9;
              break;
            }
            case 82: {
              tendermint.abci.Types.RequestEndBlock.Builder subBuilder = null;
              if (valueCase_ == 10) {
                subBuilder = ((tendermint.abci.Types.RequestEndBlock) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestEndBlock.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestEndBlock) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 10;
              break;
            }
            case 90: {
              tendermint.abci.Types.RequestCommit.Builder subBuilder = null;
              if (valueCase_ == 11) {
                subBuilder = ((tendermint.abci.Types.RequestCommit) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestCommit.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestCommit) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 11;
              break;
            }
            case 98: {
              tendermint.abci.Types.RequestListSnapshots.Builder subBuilder = null;
              if (valueCase_ == 12) {
                subBuilder = ((tendermint.abci.Types.RequestListSnapshots) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestListSnapshots.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestListSnapshots) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 12;
              break;
            }
            case 106: {
              tendermint.abci.Types.RequestOfferSnapshot.Builder subBuilder = null;
              if (valueCase_ == 13) {
                subBuilder = ((tendermint.abci.Types.RequestOfferSnapshot) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestOfferSnapshot.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestOfferSnapshot) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 13;
              break;
            }
            case 114: {
              tendermint.abci.Types.RequestLoadSnapshotChunk.Builder subBuilder = null;
              if (valueCase_ == 14) {
                subBuilder = ((tendermint.abci.Types.RequestLoadSnapshotChunk) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestLoadSnapshotChunk.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestLoadSnapshotChunk) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 14;
              break;
            }
            case 122: {
              tendermint.abci.Types.RequestApplySnapshotChunk.Builder subBuilder = null;
              if (valueCase_ == 15) {
                subBuilder = ((tendermint.abci.Types.RequestApplySnapshotChunk) value_).toBuilder();
              }
              value_ =
                  input.readMessage(tendermint.abci.Types.RequestApplySnapshotChunk.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((tendermint.abci.Types.RequestApplySnapshotChunk) value_);
                value_ = subBuilder.buildPartial();
              }
              valueCase_ = 15;
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  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 tendermint.abci.Types.internal_static_tendermint_abci_Request_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tendermint.abci.Types.internal_static_tendermint_abci_Request_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tendermint.abci.Types.Request.class, tendermint.abci.Types.Request.Builder.class);
    }

    private int valueCase_ = 0;
    private java.lang.Object value_;
    public enum ValueCase
        implements com.google.protobuf.Internal.EnumLite {
      ECHO(1),
      FLUSH(2),
      INFO(3),
      SET_OPTION(4),
      INIT_CHAIN(5),
      QUERY(6),
      BEGIN_BLOCK(7),
      CHECK_TX(8),
      DELIVER_TX(9),
      END_BLOCK(10),
      COMMIT(11),
      LIST_SNAPSHOTS(12),
      OFFER_SNAPSHOT(13),
      LOAD_SNAPSHOT_CHUNK(14),
      APPLY_SNAPSHOT_CHUNK(15),
      VALUE_NOT_SET(0);
      private final int value;
      private ValueCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ValueCase valueOf(int value) {
        return forNumber(value);
      }

      public static ValueCase forNumber(int value) {
        switch (value) {
          case 1: return ECHO;
          case 2: return FLUSH;
          case 3: return INFO;
          case 4: return SET_OPTION;
          case 5: return INIT_CHAIN;
          case 6: return QUERY;
          case 7: return BEGIN_BLOCK;
          case 8: return CHECK_TX;
          case 9: return DELIVER_TX;
          case 10: return END_BLOCK;
          case 11: return COMMIT;
          case 12: return LIST_SNAPSHOTS;
          case 13: return OFFER_SNAPSHOT;
          case 14: return LOAD_SNAPSHOT_CHUNK;
          case 15: return APPLY_SNAPSHOT_CHUNK;
          case 0: return VALUE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ValueCase
    getValueCase() {
      return ValueCase.forNumber(
          valueCase_);
    }

    public static final int ECHO_FIELD_NUMBER = 1;
    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    public boolean hasEcho() {
      return valueCase_ == 1;
    }
    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    public tendermint.abci.Types.RequestEcho getEcho() {
      if (valueCase_ == 1) {
         return (tendermint.abci.Types.RequestEcho) value_;
      }
      return tendermint.abci.Types.RequestEcho.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestEcho echo = 1;
     */
    public tendermint.abci.Types.RequestEchoOrBuilder getEchoOrBuilder() {
      if (valueCase_ == 1) {
         return (tendermint.abci.Types.RequestEcho) value_;
      }
      return tendermint.abci.Types.RequestEcho.getDefaultInstance();
    }

    public static final int FLUSH_FIELD_NUMBER = 2;
    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    public boolean hasFlush() {
      return valueCase_ == 2;
    }
    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    public tendermint.abci.Types.RequestFlush getFlush() {
      if (valueCase_ == 2) {
         return (tendermint.abci.Types.RequestFlush) value_;
      }
      return tendermint.abci.Types.RequestFlush.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestFlush flush = 2;
     */
    public tendermint.abci.Types.RequestFlushOrBuilder getFlushOrBuilder() {
      if (valueCase_ == 2) {
         return (tendermint.abci.Types.RequestFlush) value_;
      }
      return tendermint.abci.Types.RequestFlush.getDefaultInstance();
    }

    public static final int INFO_FIELD_NUMBER = 3;
    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    public boolean hasInfo() {
      return valueCase_ == 3;
    }
    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    public tendermint.abci.Types.RequestInfo getInfo() {
      if (valueCase_ == 3) {
         return (tendermint.abci.Types.RequestInfo) value_;
      }
      return tendermint.abci.Types.RequestInfo.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestInfo info = 3;
     */
    public tendermint.abci.Types.RequestInfoOrBuilder getInfoOrBuilder() {
      if (valueCase_ == 3) {
         return (tendermint.abci.Types.RequestInfo) value_;
      }
      return tendermint.abci.Types.RequestInfo.getDefaultInstance();
    }

    public static final int SET_OPTION_FIELD_NUMBER = 4;
    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    public boolean hasSetOption() {
      return valueCase_ == 4;
    }
    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    public tendermint.abci.Types.RequestSetOption getSetOption() {
      if (valueCase_ == 4) {
         return (tendermint.abci.Types.RequestSetOption) value_;
      }
      return tendermint.abci.Types.RequestSetOption.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestSetOption set_option = 4;
     */
    public tendermint.abci.Types.RequestSetOptionOrBuilder getSetOptionOrBuilder() {
      if (valueCase_ == 4) {
         return (tendermint.abci.Types.RequestSetOption) value_;
      }
      return tendermint.abci.Types.RequestSetOption.getDefaultInstance();
    }

    public static final int INIT_CHAIN_FIELD_NUMBER = 5;
    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    public boolean hasInitChain() {
      return valueCase_ == 5;
    }
    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    public tendermint.abci.Types.RequestInitChain getInitChain() {
      if (valueCase_ == 5) {
         return (tendermint.abci.Types.RequestInitChain) value_;
      }
      return tendermint.abci.Types.RequestInitChain.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestInitChain init_chain = 5;
     */
    public tendermint.abci.Types.RequestInitChainOrBuilder getInitChainOrBuilder() {
      if (valueCase_ == 5) {
         return (tendermint.abci.Types.RequestInitChain) value_;
      }
      return tendermint.abci.Types.RequestInitChain.getDefaultInstance();
    }

    public static final int QUERY_FIELD_NUMBER = 6;
    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    public boolean hasQuery() {
      return valueCase_ == 6;
    }
    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    public tendermint.abci.Types.RequestQuery getQuery() {
      if (valueCase_ == 6) {
         return (tendermint.abci.Types.RequestQuery) value_;
      }
      return tendermint.abci.Types.RequestQuery.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestQuery query = 6;
     */
    public tendermint.abci.Types.RequestQueryOrBuilder getQueryOrBuilder() {
      if (valueCase_ == 6) {
         return (tendermint.abci.Types.RequestQuery) value_;
      }
      return tendermint.abci.Types.RequestQuery.getDefaultInstance();
    }

    public static final int BEGIN_BLOCK_FIELD_NUMBER = 7;
    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    public boolean hasBeginBlock() {
      return valueCase_ == 7;
    }
    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    public tendermint.abci.Types.RequestBeginBlock getBeginBlock() {
      if (valueCase_ == 7) {
         return (tendermint.abci.Types.RequestBeginBlock) value_;
      }
      return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestBeginBlock begin_block = 7;
     */
    public tendermint.abci.Types.RequestBeginBlockOrBuilder getBeginBlockOrBuilder() {
      if (valueCase_ == 7) {
         return (tendermint.abci.Types.RequestBeginBlock) value_;
      }
      return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
    }

    public static final int CHECK_TX_FIELD_NUMBER = 8;
    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    public boolean hasCheckTx() {
      return valueCase_ == 8;
    }
    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    public tendermint.abci.Types.RequestCheckTx getCheckTx() {
      if (valueCase_ == 8) {
         return (tendermint.abci.Types.RequestCheckTx) value_;
      }
      return tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestCheckTx check_tx = 8;
     */
    public tendermint.abci.Types.RequestCheckTxOrBuilder getCheckTxOrBuilder() {
      if (valueCase_ == 8) {
         return (tendermint.abci.Types.RequestCheckTx) value_;
      }
      return tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
    }

    public static final int DELIVER_TX_FIELD_NUMBER = 9;
    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    public boolean hasDeliverTx() {
      return valueCase_ == 9;
    }
    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    public tendermint.abci.Types.RequestDeliverTx getDeliverTx() {
      if (valueCase_ == 9) {
         return (tendermint.abci.Types.RequestDeliverTx) value_;
      }
      return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
     */
    public tendermint.abci.Types.RequestDeliverTxOrBuilder getDeliverTxOrBuilder() {
      if (valueCase_ == 9) {
         return (tendermint.abci.Types.RequestDeliverTx) value_;
      }
      return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
    }

    public static final int END_BLOCK_FIELD_NUMBER = 10;
    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    public boolean hasEndBlock() {
      return valueCase_ == 10;
    }
    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    public tendermint.abci.Types.RequestEndBlock getEndBlock() {
      if (valueCase_ == 10) {
         return (tendermint.abci.Types.RequestEndBlock) value_;
      }
      return tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestEndBlock end_block = 10;
     */
    public tendermint.abci.Types.RequestEndBlockOrBuilder getEndBlockOrBuilder() {
      if (valueCase_ == 10) {
         return (tendermint.abci.Types.RequestEndBlock) value_;
      }
      return tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
    }

    public static final int COMMIT_FIELD_NUMBER = 11;
    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    public boolean hasCommit() {
      return valueCase_ == 11;
    }
    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    public tendermint.abci.Types.RequestCommit getCommit() {
      if (valueCase_ == 11) {
         return (tendermint.abci.Types.RequestCommit) value_;
      }
      return tendermint.abci.Types.RequestCommit.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestCommit commit = 11;
     */
    public tendermint.abci.Types.RequestCommitOrBuilder getCommitOrBuilder() {
      if (valueCase_ == 11) {
         return (tendermint.abci.Types.RequestCommit) value_;
      }
      return tendermint.abci.Types.RequestCommit.getDefaultInstance();
    }

    public static final int LIST_SNAPSHOTS_FIELD_NUMBER = 12;
    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    public boolean hasListSnapshots() {
      return valueCase_ == 12;
    }
    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    public tendermint.abci.Types.RequestListSnapshots getListSnapshots() {
      if (valueCase_ == 12) {
         return (tendermint.abci.Types.RequestListSnapshots) value_;
      }
      return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
     */
    public tendermint.abci.Types.RequestListSnapshotsOrBuilder getListSnapshotsOrBuilder() {
      if (valueCase_ == 12) {
         return (tendermint.abci.Types.RequestListSnapshots) value_;
      }
      return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
    }

    public static final int OFFER_SNAPSHOT_FIELD_NUMBER = 13;
    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    public boolean hasOfferSnapshot() {
      return valueCase_ == 13;
    }
    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    public tendermint.abci.Types.RequestOfferSnapshot getOfferSnapshot() {
      if (valueCase_ == 13) {
         return (tendermint.abci.Types.RequestOfferSnapshot) value_;
      }
      return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
     */
    public tendermint.abci.Types.RequestOfferSnapshotOrBuilder getOfferSnapshotOrBuilder() {
      if (valueCase_ == 13) {
         return (tendermint.abci.Types.RequestOfferSnapshot) value_;
      }
      return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
    }

    public static final int LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER = 14;
    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    public boolean hasLoadSnapshotChunk() {
      return valueCase_ == 14;
    }
    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    public tendermint.abci.Types.RequestLoadSnapshotChunk getLoadSnapshotChunk() {
      if (valueCase_ == 14) {
         return (tendermint.abci.Types.RequestLoadSnapshotChunk) value_;
      }
      return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
     */
    public tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder() {
      if (valueCase_ == 14) {
         return (tendermint.abci.Types.RequestLoadSnapshotChunk) value_;
      }
      return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
    }

    public static final int APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER = 15;
    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    public boolean hasApplySnapshotChunk() {
      return valueCase_ == 15;
    }
    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    public tendermint.abci.Types.RequestApplySnapshotChunk getApplySnapshotChunk() {
      if (valueCase_ == 15) {
         return (tendermint.abci.Types.RequestApplySnapshotChunk) value_;
      }
      return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
    }
    /**
     * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
     */
    public tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder() {
      if (valueCase_ == 15) {
         return (tendermint.abci.Types.RequestApplySnapshotChunk) value_;
      }
      return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
    }

    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 (valueCase_ == 1) {
        output.writeMessage(1, (tendermint.abci.Types.RequestEcho) value_);
      }
      if (valueCase_ == 2) {
        output.writeMessage(2, (tendermint.abci.Types.RequestFlush) value_);
      }
      if (valueCase_ == 3) {
        output.writeMessage(3, (tendermint.abci.Types.RequestInfo) value_);
      }
      if (valueCase_ == 4) {
        output.writeMessage(4, (tendermint.abci.Types.RequestSetOption) value_);
      }
      if (valueCase_ == 5) {
        output.writeMessage(5, (tendermint.abci.Types.RequestInitChain) value_);
      }
      if (valueCase_ == 6) {
        output.writeMessage(6, (tendermint.abci.Types.RequestQuery) value_);
      }
      if (valueCase_ == 7) {
        output.writeMessage(7, (tendermint.abci.Types.RequestBeginBlock) value_);
      }
      if (valueCase_ == 8) {
        output.writeMessage(8, (tendermint.abci.Types.RequestCheckTx) value_);
      }
      if (valueCase_ == 9) {
        output.writeMessage(9, (tendermint.abci.Types.RequestDeliverTx) value_);
      }
      if (valueCase_ == 10) {
        output.writeMessage(10, (tendermint.abci.Types.RequestEndBlock) value_);
      }
      if (valueCase_ == 11) {
        output.writeMessage(11, (tendermint.abci.Types.RequestCommit) value_);
      }
      if (valueCase_ == 12) {
        output.writeMessage(12, (tendermint.abci.Types.RequestListSnapshots) value_);
      }
      if (valueCase_ == 13) {
        output.writeMessage(13, (tendermint.abci.Types.RequestOfferSnapshot) value_);
      }
      if (valueCase_ == 14) {
        output.writeMessage(14, (tendermint.abci.Types.RequestLoadSnapshotChunk) value_);
      }
      if (valueCase_ == 15) {
        output.writeMessage(15, (tendermint.abci.Types.RequestApplySnapshotChunk) value_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (valueCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (tendermint.abci.Types.RequestEcho) value_);
      }
      if (valueCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (tendermint.abci.Types.RequestFlush) value_);
      }
      if (valueCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (tendermint.abci.Types.RequestInfo) value_);
      }
      if (valueCase_ == 4) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, (tendermint.abci.Types.RequestSetOption) value_);
      }
      if (valueCase_ == 5) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, (tendermint.abci.Types.RequestInitChain) value_);
      }
      if (valueCase_ == 6) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, (tendermint.abci.Types.RequestQuery) value_);
      }
      if (valueCase_ == 7) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, (tendermint.abci.Types.RequestBeginBlock) value_);
      }
      if (valueCase_ == 8) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, (tendermint.abci.Types.RequestCheckTx) value_);
      }
      if (valueCase_ == 9) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, (tendermint.abci.Types.RequestDeliverTx) value_);
      }
      if (valueCase_ == 10) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, (tendermint.abci.Types.RequestEndBlock) value_);
      }
      if (valueCase_ == 11) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, (tendermint.abci.Types.RequestCommit) value_);
      }
      if (valueCase_ == 12) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, (tendermint.abci.Types.RequestListSnapshots) value_);
      }
      if (valueCase_ == 13) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, (tendermint.abci.Types.RequestOfferSnapshot) value_);
      }
      if (valueCase_ == 14) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, (tendermint.abci.Types.RequestLoadSnapshotChunk) value_);
      }
      if (valueCase_ == 15) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, (tendermint.abci.Types.RequestApplySnapshotChunk) value_);
      }
      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 tendermint.abci.Types.Request)) {
        return super.equals(obj);
      }
      tendermint.abci.Types.Request other = (tendermint.abci.Types.Request) obj;

      boolean result = true;
      result = result && getValueCase().equals(
          other.getValueCase());
      if (!result) return false;
      switch (valueCase_) {
        case 1:
          result = result && getEcho()
              .equals(other.getEcho());
          break;
        case 2:
          result = result && getFlush()
              .equals(other.getFlush());
          break;
        case 3:
          result = result && getInfo()
              .equals(other.getInfo());
          break;
        case 4:
          result = result && getSetOption()
              .equals(other.getSetOption());
          break;
        case 5:
          result = result && getInitChain()
              .equals(other.getInitChain());
          break;
        case 6:
          result = result && getQuery()
              .equals(other.getQuery());
          break;
        case 7:
          result = result && getBeginBlock()
              .equals(other.getBeginBlock());
          break;
        case 8:
          result = result && getCheckTx()
              .equals(other.getCheckTx());
          break;
        case 9:
          result = result && getDeliverTx()
              .equals(other.getDeliverTx());
          break;
        case 10:
          result = result && getEndBlock()
              .equals(other.getEndBlock());
          break;
        case 11:
          result = result && getCommit()
              .equals(other.getCommit());
          break;
        case 12:
          result = result && getListSnapshots()
              .equals(other.getListSnapshots());
          break;
        case 13:
          result = result && getOfferSnapshot()
              .equals(other.getOfferSnapshot());
          break;
        case 14:
          result = result && getLoadSnapshotChunk()
              .equals(other.getLoadSnapshotChunk());
          break;
        case 15:
          result = result && getApplySnapshotChunk()
              .equals(other.getApplySnapshotChunk());
          break;
        case 0:
        default:
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      switch (valueCase_) {
        case 1:
          hash = (37 * hash) + ECHO_FIELD_NUMBER;
          hash = (53 * hash) + getEcho().hashCode();
          break;
        case 2:
          hash = (37 * hash) + FLUSH_FIELD_NUMBER;
          hash = (53 * hash) + getFlush().hashCode();
          break;
        case 3:
          hash = (37 * hash) + INFO_FIELD_NUMBER;
          hash = (53 * hash) + getInfo().hashCode();
          break;
        case 4:
          hash = (37 * hash) + SET_OPTION_FIELD_NUMBER;
          hash = (53 * hash) + getSetOption().hashCode();
          break;
        case 5:
          hash = (37 * hash) + INIT_CHAIN_FIELD_NUMBER;
          hash = (53 * hash) + getInitChain().hashCode();
          break;
        case 6:
          hash = (37 * hash) + QUERY_FIELD_NUMBER;
          hash = (53 * hash) + getQuery().hashCode();
          break;
        case 7:
          hash = (37 * hash) + BEGIN_BLOCK_FIELD_NUMBER;
          hash = (53 * hash) + getBeginBlock().hashCode();
          break;
        case 8:
          hash = (37 * hash) + CHECK_TX_FIELD_NUMBER;
          hash = (53 * hash) + getCheckTx().hashCode();
          break;
        case 9:
          hash = (37 * hash) + DELIVER_TX_FIELD_NUMBER;
          hash = (53 * hash) + getDeliverTx().hashCode();
          break;
        case 10:
          hash = (37 * hash) + END_BLOCK_FIELD_NUMBER;
          hash = (53 * hash) + getEndBlock().hashCode();
          break;
        case 11:
          hash = (37 * hash) + COMMIT_FIELD_NUMBER;
          hash = (53 * hash) + getCommit().hashCode();
          break;
        case 12:
          hash = (37 * hash) + LIST_SNAPSHOTS_FIELD_NUMBER;
          hash = (53 * hash) + getListSnapshots().hashCode();
          break;
        case 13:
          hash = (37 * hash) + OFFER_SNAPSHOT_FIELD_NUMBER;
          hash = (53 * hash) + getOfferSnapshot().hashCode();
          break;
        case 14:
          hash = (37 * hash) + LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER;
          hash = (53 * hash) + getLoadSnapshotChunk().hashCode();
          break;
        case 15:
          hash = (37 * hash) + APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER;
          hash = (53 * hash) + getApplySnapshotChunk().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tendermint.abci.Types.internal_static_tendermint_abci_Request_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tendermint.abci.Types.Request.class, tendermint.abci.Types.Request.Builder.class);
      }

      // Construct using tendermint.abci.Types.Request.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();
        valueCase_ = 0;
        value_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tendermint.abci.Types.internal_static_tendermint_abci_Request_descriptor;
      }

      @java.lang.Override
      public tendermint.abci.Types.Request getDefaultInstanceForType() {
        return tendermint.abci.Types.Request.getDefaultInstance();
      }

      @java.lang.Override
      public tendermint.abci.Types.Request build() {
        tendermint.abci.Types.Request result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public tendermint.abci.Types.Request buildPartial() {
        tendermint.abci.Types.Request result = new tendermint.abci.Types.Request(this);
        if (valueCase_ == 1) {
          if (echoBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = echoBuilder_.build();
          }
        }
        if (valueCase_ == 2) {
          if (flushBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = flushBuilder_.build();
          }
        }
        if (valueCase_ == 3) {
          if (infoBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = infoBuilder_.build();
          }
        }
        if (valueCase_ == 4) {
          if (setOptionBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = setOptionBuilder_.build();
          }
        }
        if (valueCase_ == 5) {
          if (initChainBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = initChainBuilder_.build();
          }
        }
        if (valueCase_ == 6) {
          if (queryBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = queryBuilder_.build();
          }
        }
        if (valueCase_ == 7) {
          if (beginBlockBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = beginBlockBuilder_.build();
          }
        }
        if (valueCase_ == 8) {
          if (checkTxBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = checkTxBuilder_.build();
          }
        }
        if (valueCase_ == 9) {
          if (deliverTxBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = deliverTxBuilder_.build();
          }
        }
        if (valueCase_ == 10) {
          if (endBlockBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = endBlockBuilder_.build();
          }
        }
        if (valueCase_ == 11) {
          if (commitBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = commitBuilder_.build();
          }
        }
        if (valueCase_ == 12) {
          if (listSnapshotsBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = listSnapshotsBuilder_.build();
          }
        }
        if (valueCase_ == 13) {
          if (offerSnapshotBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = offerSnapshotBuilder_.build();
          }
        }
        if (valueCase_ == 14) {
          if (loadSnapshotChunkBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = loadSnapshotChunkBuilder_.build();
          }
        }
        if (valueCase_ == 15) {
          if (applySnapshotChunkBuilder_ == null) {
            result.value_ = value_;
          } else {
            result.value_ = applySnapshotChunkBuilder_.build();
          }
        }
        result.valueCase_ = valueCase_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(tendermint.abci.Types.Request other) {
        if (other == tendermint.abci.Types.Request.getDefaultInstance()) return this;
        switch (other.getValueCase()) {
          case ECHO: {
            mergeEcho(other.getEcho());
            break;
          }
          case FLUSH: {
            mergeFlush(other.getFlush());
            break;
          }
          case INFO: {
            mergeInfo(other.getInfo());
            break;
          }
          case SET_OPTION: {
            mergeSetOption(other.getSetOption());
            break;
          }
          case INIT_CHAIN: {
            mergeInitChain(other.getInitChain());
            break;
          }
          case QUERY: {
            mergeQuery(other.getQuery());
            break;
          }
          case BEGIN_BLOCK: {
            mergeBeginBlock(other.getBeginBlock());
            break;
          }
          case CHECK_TX: {
            mergeCheckTx(other.getCheckTx());
            break;
          }
          case DELIVER_TX: {
            mergeDeliverTx(other.getDeliverTx());
            break;
          }
          case END_BLOCK: {
            mergeEndBlock(other.getEndBlock());
            break;
          }
          case COMMIT: {
            mergeCommit(other.getCommit());
            break;
          }
          case LIST_SNAPSHOTS: {
            mergeListSnapshots(other.getListSnapshots());
            break;
          }
          case OFFER_SNAPSHOT: {
            mergeOfferSnapshot(other.getOfferSnapshot());
            break;
          }
          case LOAD_SNAPSHOT_CHUNK: {
            mergeLoadSnapshotChunk(other.getLoadSnapshotChunk());
            break;
          }
          case APPLY_SNAPSHOT_CHUNK: {
            mergeApplySnapshotChunk(other.getApplySnapshotChunk());
            break;
          }
          case VALUE_NOT_SET: {
            break;
          }
        }
        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 {
        tendermint.abci.Types.Request parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (tendermint.abci.Types.Request) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int valueCase_ = 0;
      private java.lang.Object value_;
      public ValueCase
          getValueCase() {
        return ValueCase.forNumber(
            valueCase_);
      }

      public Builder clearValue() {
        valueCase_ = 0;
        value_ = null;
        onChanged();
        return this;
      }


      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestEcho, tendermint.abci.Types.RequestEcho.Builder, tendermint.abci.Types.RequestEchoOrBuilder> echoBuilder_;
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public boolean hasEcho() {
        return valueCase_ == 1;
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public tendermint.abci.Types.RequestEcho getEcho() {
        if (echoBuilder_ == null) {
          if (valueCase_ == 1) {
            return (tendermint.abci.Types.RequestEcho) value_;
          }
          return tendermint.abci.Types.RequestEcho.getDefaultInstance();
        } else {
          if (valueCase_ == 1) {
            return echoBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestEcho.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public Builder setEcho(tendermint.abci.Types.RequestEcho value) {
        if (echoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          echoBuilder_.setMessage(value);
        }
        valueCase_ = 1;
        return this;
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public Builder setEcho(
          tendermint.abci.Types.RequestEcho.Builder builderForValue) {
        if (echoBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          echoBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 1;
        return this;
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public Builder mergeEcho(tendermint.abci.Types.RequestEcho value) {
        if (echoBuilder_ == null) {
          if (valueCase_ == 1 &&
              value_ != tendermint.abci.Types.RequestEcho.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestEcho.newBuilder((tendermint.abci.Types.RequestEcho) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 1) {
            echoBuilder_.mergeFrom(value);
          }
          echoBuilder_.setMessage(value);
        }
        valueCase_ = 1;
        return this;
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public Builder clearEcho() {
        if (echoBuilder_ == null) {
          if (valueCase_ == 1) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 1) {
            valueCase_ = 0;
            value_ = null;
          }
          echoBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public tendermint.abci.Types.RequestEcho.Builder getEchoBuilder() {
        return getEchoFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      public tendermint.abci.Types.RequestEchoOrBuilder getEchoOrBuilder() {
        if ((valueCase_ == 1) && (echoBuilder_ != null)) {
          return echoBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 1) {
            return (tendermint.abci.Types.RequestEcho) value_;
          }
          return tendermint.abci.Types.RequestEcho.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestEcho echo = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestEcho, tendermint.abci.Types.RequestEcho.Builder, tendermint.abci.Types.RequestEchoOrBuilder> 
          getEchoFieldBuilder() {
        if (echoBuilder_ == null) {
          if (!(valueCase_ == 1)) {
            value_ = tendermint.abci.Types.RequestEcho.getDefaultInstance();
          }
          echoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestEcho, tendermint.abci.Types.RequestEcho.Builder, tendermint.abci.Types.RequestEchoOrBuilder>(
                  (tendermint.abci.Types.RequestEcho) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 1;
        onChanged();;
        return echoBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestFlush, tendermint.abci.Types.RequestFlush.Builder, tendermint.abci.Types.RequestFlushOrBuilder> flushBuilder_;
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public boolean hasFlush() {
        return valueCase_ == 2;
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public tendermint.abci.Types.RequestFlush getFlush() {
        if (flushBuilder_ == null) {
          if (valueCase_ == 2) {
            return (tendermint.abci.Types.RequestFlush) value_;
          }
          return tendermint.abci.Types.RequestFlush.getDefaultInstance();
        } else {
          if (valueCase_ == 2) {
            return flushBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestFlush.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public Builder setFlush(tendermint.abci.Types.RequestFlush value) {
        if (flushBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          flushBuilder_.setMessage(value);
        }
        valueCase_ = 2;
        return this;
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public Builder setFlush(
          tendermint.abci.Types.RequestFlush.Builder builderForValue) {
        if (flushBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          flushBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 2;
        return this;
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public Builder mergeFlush(tendermint.abci.Types.RequestFlush value) {
        if (flushBuilder_ == null) {
          if (valueCase_ == 2 &&
              value_ != tendermint.abci.Types.RequestFlush.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestFlush.newBuilder((tendermint.abci.Types.RequestFlush) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 2) {
            flushBuilder_.mergeFrom(value);
          }
          flushBuilder_.setMessage(value);
        }
        valueCase_ = 2;
        return this;
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public Builder clearFlush() {
        if (flushBuilder_ == null) {
          if (valueCase_ == 2) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 2) {
            valueCase_ = 0;
            value_ = null;
          }
          flushBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public tendermint.abci.Types.RequestFlush.Builder getFlushBuilder() {
        return getFlushFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      public tendermint.abci.Types.RequestFlushOrBuilder getFlushOrBuilder() {
        if ((valueCase_ == 2) && (flushBuilder_ != null)) {
          return flushBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 2) {
            return (tendermint.abci.Types.RequestFlush) value_;
          }
          return tendermint.abci.Types.RequestFlush.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestFlush flush = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestFlush, tendermint.abci.Types.RequestFlush.Builder, tendermint.abci.Types.RequestFlushOrBuilder> 
          getFlushFieldBuilder() {
        if (flushBuilder_ == null) {
          if (!(valueCase_ == 2)) {
            value_ = tendermint.abci.Types.RequestFlush.getDefaultInstance();
          }
          flushBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestFlush, tendermint.abci.Types.RequestFlush.Builder, tendermint.abci.Types.RequestFlushOrBuilder>(
                  (tendermint.abci.Types.RequestFlush) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 2;
        onChanged();;
        return flushBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestInfo, tendermint.abci.Types.RequestInfo.Builder, tendermint.abci.Types.RequestInfoOrBuilder> infoBuilder_;
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public boolean hasInfo() {
        return valueCase_ == 3;
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public tendermint.abci.Types.RequestInfo getInfo() {
        if (infoBuilder_ == null) {
          if (valueCase_ == 3) {
            return (tendermint.abci.Types.RequestInfo) value_;
          }
          return tendermint.abci.Types.RequestInfo.getDefaultInstance();
        } else {
          if (valueCase_ == 3) {
            return infoBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestInfo.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public Builder setInfo(tendermint.abci.Types.RequestInfo value) {
        if (infoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          infoBuilder_.setMessage(value);
        }
        valueCase_ = 3;
        return this;
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public Builder setInfo(
          tendermint.abci.Types.RequestInfo.Builder builderForValue) {
        if (infoBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          infoBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 3;
        return this;
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public Builder mergeInfo(tendermint.abci.Types.RequestInfo value) {
        if (infoBuilder_ == null) {
          if (valueCase_ == 3 &&
              value_ != tendermint.abci.Types.RequestInfo.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestInfo.newBuilder((tendermint.abci.Types.RequestInfo) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 3) {
            infoBuilder_.mergeFrom(value);
          }
          infoBuilder_.setMessage(value);
        }
        valueCase_ = 3;
        return this;
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public Builder clearInfo() {
        if (infoBuilder_ == null) {
          if (valueCase_ == 3) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 3) {
            valueCase_ = 0;
            value_ = null;
          }
          infoBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public tendermint.abci.Types.RequestInfo.Builder getInfoBuilder() {
        return getInfoFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      public tendermint.abci.Types.RequestInfoOrBuilder getInfoOrBuilder() {
        if ((valueCase_ == 3) && (infoBuilder_ != null)) {
          return infoBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 3) {
            return (tendermint.abci.Types.RequestInfo) value_;
          }
          return tendermint.abci.Types.RequestInfo.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestInfo info = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestInfo, tendermint.abci.Types.RequestInfo.Builder, tendermint.abci.Types.RequestInfoOrBuilder> 
          getInfoFieldBuilder() {
        if (infoBuilder_ == null) {
          if (!(valueCase_ == 3)) {
            value_ = tendermint.abci.Types.RequestInfo.getDefaultInstance();
          }
          infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestInfo, tendermint.abci.Types.RequestInfo.Builder, tendermint.abci.Types.RequestInfoOrBuilder>(
                  (tendermint.abci.Types.RequestInfo) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 3;
        onChanged();;
        return infoBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestSetOption, tendermint.abci.Types.RequestSetOption.Builder, tendermint.abci.Types.RequestSetOptionOrBuilder> setOptionBuilder_;
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public boolean hasSetOption() {
        return valueCase_ == 4;
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public tendermint.abci.Types.RequestSetOption getSetOption() {
        if (setOptionBuilder_ == null) {
          if (valueCase_ == 4) {
            return (tendermint.abci.Types.RequestSetOption) value_;
          }
          return tendermint.abci.Types.RequestSetOption.getDefaultInstance();
        } else {
          if (valueCase_ == 4) {
            return setOptionBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestSetOption.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public Builder setSetOption(tendermint.abci.Types.RequestSetOption value) {
        if (setOptionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          setOptionBuilder_.setMessage(value);
        }
        valueCase_ = 4;
        return this;
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public Builder setSetOption(
          tendermint.abci.Types.RequestSetOption.Builder builderForValue) {
        if (setOptionBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          setOptionBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 4;
        return this;
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public Builder mergeSetOption(tendermint.abci.Types.RequestSetOption value) {
        if (setOptionBuilder_ == null) {
          if (valueCase_ == 4 &&
              value_ != tendermint.abci.Types.RequestSetOption.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestSetOption.newBuilder((tendermint.abci.Types.RequestSetOption) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 4) {
            setOptionBuilder_.mergeFrom(value);
          }
          setOptionBuilder_.setMessage(value);
        }
        valueCase_ = 4;
        return this;
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public Builder clearSetOption() {
        if (setOptionBuilder_ == null) {
          if (valueCase_ == 4) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 4) {
            valueCase_ = 0;
            value_ = null;
          }
          setOptionBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public tendermint.abci.Types.RequestSetOption.Builder getSetOptionBuilder() {
        return getSetOptionFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      public tendermint.abci.Types.RequestSetOptionOrBuilder getSetOptionOrBuilder() {
        if ((valueCase_ == 4) && (setOptionBuilder_ != null)) {
          return setOptionBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 4) {
            return (tendermint.abci.Types.RequestSetOption) value_;
          }
          return tendermint.abci.Types.RequestSetOption.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestSetOption set_option = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestSetOption, tendermint.abci.Types.RequestSetOption.Builder, tendermint.abci.Types.RequestSetOptionOrBuilder> 
          getSetOptionFieldBuilder() {
        if (setOptionBuilder_ == null) {
          if (!(valueCase_ == 4)) {
            value_ = tendermint.abci.Types.RequestSetOption.getDefaultInstance();
          }
          setOptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestSetOption, tendermint.abci.Types.RequestSetOption.Builder, tendermint.abci.Types.RequestSetOptionOrBuilder>(
                  (tendermint.abci.Types.RequestSetOption) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 4;
        onChanged();;
        return setOptionBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestInitChain, tendermint.abci.Types.RequestInitChain.Builder, tendermint.abci.Types.RequestInitChainOrBuilder> initChainBuilder_;
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public boolean hasInitChain() {
        return valueCase_ == 5;
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public tendermint.abci.Types.RequestInitChain getInitChain() {
        if (initChainBuilder_ == null) {
          if (valueCase_ == 5) {
            return (tendermint.abci.Types.RequestInitChain) value_;
          }
          return tendermint.abci.Types.RequestInitChain.getDefaultInstance();
        } else {
          if (valueCase_ == 5) {
            return initChainBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestInitChain.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public Builder setInitChain(tendermint.abci.Types.RequestInitChain value) {
        if (initChainBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          initChainBuilder_.setMessage(value);
        }
        valueCase_ = 5;
        return this;
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public Builder setInitChain(
          tendermint.abci.Types.RequestInitChain.Builder builderForValue) {
        if (initChainBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          initChainBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 5;
        return this;
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public Builder mergeInitChain(tendermint.abci.Types.RequestInitChain value) {
        if (initChainBuilder_ == null) {
          if (valueCase_ == 5 &&
              value_ != tendermint.abci.Types.RequestInitChain.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestInitChain.newBuilder((tendermint.abci.Types.RequestInitChain) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 5) {
            initChainBuilder_.mergeFrom(value);
          }
          initChainBuilder_.setMessage(value);
        }
        valueCase_ = 5;
        return this;
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public Builder clearInitChain() {
        if (initChainBuilder_ == null) {
          if (valueCase_ == 5) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 5) {
            valueCase_ = 0;
            value_ = null;
          }
          initChainBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public tendermint.abci.Types.RequestInitChain.Builder getInitChainBuilder() {
        return getInitChainFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      public tendermint.abci.Types.RequestInitChainOrBuilder getInitChainOrBuilder() {
        if ((valueCase_ == 5) && (initChainBuilder_ != null)) {
          return initChainBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 5) {
            return (tendermint.abci.Types.RequestInitChain) value_;
          }
          return tendermint.abci.Types.RequestInitChain.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestInitChain init_chain = 5;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestInitChain, tendermint.abci.Types.RequestInitChain.Builder, tendermint.abci.Types.RequestInitChainOrBuilder> 
          getInitChainFieldBuilder() {
        if (initChainBuilder_ == null) {
          if (!(valueCase_ == 5)) {
            value_ = tendermint.abci.Types.RequestInitChain.getDefaultInstance();
          }
          initChainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestInitChain, tendermint.abci.Types.RequestInitChain.Builder, tendermint.abci.Types.RequestInitChainOrBuilder>(
                  (tendermint.abci.Types.RequestInitChain) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 5;
        onChanged();;
        return initChainBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestQuery, tendermint.abci.Types.RequestQuery.Builder, tendermint.abci.Types.RequestQueryOrBuilder> queryBuilder_;
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public boolean hasQuery() {
        return valueCase_ == 6;
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public tendermint.abci.Types.RequestQuery getQuery() {
        if (queryBuilder_ == null) {
          if (valueCase_ == 6) {
            return (tendermint.abci.Types.RequestQuery) value_;
          }
          return tendermint.abci.Types.RequestQuery.getDefaultInstance();
        } else {
          if (valueCase_ == 6) {
            return queryBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestQuery.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public Builder setQuery(tendermint.abci.Types.RequestQuery value) {
        if (queryBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          queryBuilder_.setMessage(value);
        }
        valueCase_ = 6;
        return this;
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public Builder setQuery(
          tendermint.abci.Types.RequestQuery.Builder builderForValue) {
        if (queryBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          queryBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 6;
        return this;
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public Builder mergeQuery(tendermint.abci.Types.RequestQuery value) {
        if (queryBuilder_ == null) {
          if (valueCase_ == 6 &&
              value_ != tendermint.abci.Types.RequestQuery.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestQuery.newBuilder((tendermint.abci.Types.RequestQuery) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 6) {
            queryBuilder_.mergeFrom(value);
          }
          queryBuilder_.setMessage(value);
        }
        valueCase_ = 6;
        return this;
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public Builder clearQuery() {
        if (queryBuilder_ == null) {
          if (valueCase_ == 6) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 6) {
            valueCase_ = 0;
            value_ = null;
          }
          queryBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public tendermint.abci.Types.RequestQuery.Builder getQueryBuilder() {
        return getQueryFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      public tendermint.abci.Types.RequestQueryOrBuilder getQueryOrBuilder() {
        if ((valueCase_ == 6) && (queryBuilder_ != null)) {
          return queryBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 6) {
            return (tendermint.abci.Types.RequestQuery) value_;
          }
          return tendermint.abci.Types.RequestQuery.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestQuery query = 6;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestQuery, tendermint.abci.Types.RequestQuery.Builder, tendermint.abci.Types.RequestQueryOrBuilder> 
          getQueryFieldBuilder() {
        if (queryBuilder_ == null) {
          if (!(valueCase_ == 6)) {
            value_ = tendermint.abci.Types.RequestQuery.getDefaultInstance();
          }
          queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestQuery, tendermint.abci.Types.RequestQuery.Builder, tendermint.abci.Types.RequestQueryOrBuilder>(
                  (tendermint.abci.Types.RequestQuery) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 6;
        onChanged();;
        return queryBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestBeginBlock, tendermint.abci.Types.RequestBeginBlock.Builder, tendermint.abci.Types.RequestBeginBlockOrBuilder> beginBlockBuilder_;
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public boolean hasBeginBlock() {
        return valueCase_ == 7;
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public tendermint.abci.Types.RequestBeginBlock getBeginBlock() {
        if (beginBlockBuilder_ == null) {
          if (valueCase_ == 7) {
            return (tendermint.abci.Types.RequestBeginBlock) value_;
          }
          return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
        } else {
          if (valueCase_ == 7) {
            return beginBlockBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public Builder setBeginBlock(tendermint.abci.Types.RequestBeginBlock value) {
        if (beginBlockBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          beginBlockBuilder_.setMessage(value);
        }
        valueCase_ = 7;
        return this;
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public Builder setBeginBlock(
          tendermint.abci.Types.RequestBeginBlock.Builder builderForValue) {
        if (beginBlockBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          beginBlockBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 7;
        return this;
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public Builder mergeBeginBlock(tendermint.abci.Types.RequestBeginBlock value) {
        if (beginBlockBuilder_ == null) {
          if (valueCase_ == 7 &&
              value_ != tendermint.abci.Types.RequestBeginBlock.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestBeginBlock.newBuilder((tendermint.abci.Types.RequestBeginBlock) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 7) {
            beginBlockBuilder_.mergeFrom(value);
          }
          beginBlockBuilder_.setMessage(value);
        }
        valueCase_ = 7;
        return this;
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public Builder clearBeginBlock() {
        if (beginBlockBuilder_ == null) {
          if (valueCase_ == 7) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 7) {
            valueCase_ = 0;
            value_ = null;
          }
          beginBlockBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public tendermint.abci.Types.RequestBeginBlock.Builder getBeginBlockBuilder() {
        return getBeginBlockFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      public tendermint.abci.Types.RequestBeginBlockOrBuilder getBeginBlockOrBuilder() {
        if ((valueCase_ == 7) && (beginBlockBuilder_ != null)) {
          return beginBlockBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 7) {
            return (tendermint.abci.Types.RequestBeginBlock) value_;
          }
          return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestBeginBlock begin_block = 7;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestBeginBlock, tendermint.abci.Types.RequestBeginBlock.Builder, tendermint.abci.Types.RequestBeginBlockOrBuilder> 
          getBeginBlockFieldBuilder() {
        if (beginBlockBuilder_ == null) {
          if (!(valueCase_ == 7)) {
            value_ = tendermint.abci.Types.RequestBeginBlock.getDefaultInstance();
          }
          beginBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestBeginBlock, tendermint.abci.Types.RequestBeginBlock.Builder, tendermint.abci.Types.RequestBeginBlockOrBuilder>(
                  (tendermint.abci.Types.RequestBeginBlock) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 7;
        onChanged();;
        return beginBlockBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestCheckTx, tendermint.abci.Types.RequestCheckTx.Builder, tendermint.abci.Types.RequestCheckTxOrBuilder> checkTxBuilder_;
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public boolean hasCheckTx() {
        return valueCase_ == 8;
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public tendermint.abci.Types.RequestCheckTx getCheckTx() {
        if (checkTxBuilder_ == null) {
          if (valueCase_ == 8) {
            return (tendermint.abci.Types.RequestCheckTx) value_;
          }
          return tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
        } else {
          if (valueCase_ == 8) {
            return checkTxBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public Builder setCheckTx(tendermint.abci.Types.RequestCheckTx value) {
        if (checkTxBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          checkTxBuilder_.setMessage(value);
        }
        valueCase_ = 8;
        return this;
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public Builder setCheckTx(
          tendermint.abci.Types.RequestCheckTx.Builder builderForValue) {
        if (checkTxBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          checkTxBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 8;
        return this;
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public Builder mergeCheckTx(tendermint.abci.Types.RequestCheckTx value) {
        if (checkTxBuilder_ == null) {
          if (valueCase_ == 8 &&
              value_ != tendermint.abci.Types.RequestCheckTx.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestCheckTx.newBuilder((tendermint.abci.Types.RequestCheckTx) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 8) {
            checkTxBuilder_.mergeFrom(value);
          }
          checkTxBuilder_.setMessage(value);
        }
        valueCase_ = 8;
        return this;
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public Builder clearCheckTx() {
        if (checkTxBuilder_ == null) {
          if (valueCase_ == 8) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 8) {
            valueCase_ = 0;
            value_ = null;
          }
          checkTxBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public tendermint.abci.Types.RequestCheckTx.Builder getCheckTxBuilder() {
        return getCheckTxFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      public tendermint.abci.Types.RequestCheckTxOrBuilder getCheckTxOrBuilder() {
        if ((valueCase_ == 8) && (checkTxBuilder_ != null)) {
          return checkTxBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 8) {
            return (tendermint.abci.Types.RequestCheckTx) value_;
          }
          return tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestCheckTx check_tx = 8;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestCheckTx, tendermint.abci.Types.RequestCheckTx.Builder, tendermint.abci.Types.RequestCheckTxOrBuilder> 
          getCheckTxFieldBuilder() {
        if (checkTxBuilder_ == null) {
          if (!(valueCase_ == 8)) {
            value_ = tendermint.abci.Types.RequestCheckTx.getDefaultInstance();
          }
          checkTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestCheckTx, tendermint.abci.Types.RequestCheckTx.Builder, tendermint.abci.Types.RequestCheckTxOrBuilder>(
                  (tendermint.abci.Types.RequestCheckTx) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 8;
        onChanged();;
        return checkTxBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestDeliverTx, tendermint.abci.Types.RequestDeliverTx.Builder, tendermint.abci.Types.RequestDeliverTxOrBuilder> deliverTxBuilder_;
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public boolean hasDeliverTx() {
        return valueCase_ == 9;
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public tendermint.abci.Types.RequestDeliverTx getDeliverTx() {
        if (deliverTxBuilder_ == null) {
          if (valueCase_ == 9) {
            return (tendermint.abci.Types.RequestDeliverTx) value_;
          }
          return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
        } else {
          if (valueCase_ == 9) {
            return deliverTxBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public Builder setDeliverTx(tendermint.abci.Types.RequestDeliverTx value) {
        if (deliverTxBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          deliverTxBuilder_.setMessage(value);
        }
        valueCase_ = 9;
        return this;
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public Builder setDeliverTx(
          tendermint.abci.Types.RequestDeliverTx.Builder builderForValue) {
        if (deliverTxBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          deliverTxBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 9;
        return this;
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public Builder mergeDeliverTx(tendermint.abci.Types.RequestDeliverTx value) {
        if (deliverTxBuilder_ == null) {
          if (valueCase_ == 9 &&
              value_ != tendermint.abci.Types.RequestDeliverTx.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestDeliverTx.newBuilder((tendermint.abci.Types.RequestDeliverTx) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 9) {
            deliverTxBuilder_.mergeFrom(value);
          }
          deliverTxBuilder_.setMessage(value);
        }
        valueCase_ = 9;
        return this;
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public Builder clearDeliverTx() {
        if (deliverTxBuilder_ == null) {
          if (valueCase_ == 9) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 9) {
            valueCase_ = 0;
            value_ = null;
          }
          deliverTxBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public tendermint.abci.Types.RequestDeliverTx.Builder getDeliverTxBuilder() {
        return getDeliverTxFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      public tendermint.abci.Types.RequestDeliverTxOrBuilder getDeliverTxOrBuilder() {
        if ((valueCase_ == 9) && (deliverTxBuilder_ != null)) {
          return deliverTxBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 9) {
            return (tendermint.abci.Types.RequestDeliverTx) value_;
          }
          return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestDeliverTx deliver_tx = 9;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestDeliverTx, tendermint.abci.Types.RequestDeliverTx.Builder, tendermint.abci.Types.RequestDeliverTxOrBuilder> 
          getDeliverTxFieldBuilder() {
        if (deliverTxBuilder_ == null) {
          if (!(valueCase_ == 9)) {
            value_ = tendermint.abci.Types.RequestDeliverTx.getDefaultInstance();
          }
          deliverTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestDeliverTx, tendermint.abci.Types.RequestDeliverTx.Builder, tendermint.abci.Types.RequestDeliverTxOrBuilder>(
                  (tendermint.abci.Types.RequestDeliverTx) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 9;
        onChanged();;
        return deliverTxBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestEndBlock, tendermint.abci.Types.RequestEndBlock.Builder, tendermint.abci.Types.RequestEndBlockOrBuilder> endBlockBuilder_;
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public boolean hasEndBlock() {
        return valueCase_ == 10;
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public tendermint.abci.Types.RequestEndBlock getEndBlock() {
        if (endBlockBuilder_ == null) {
          if (valueCase_ == 10) {
            return (tendermint.abci.Types.RequestEndBlock) value_;
          }
          return tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
        } else {
          if (valueCase_ == 10) {
            return endBlockBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public Builder setEndBlock(tendermint.abci.Types.RequestEndBlock value) {
        if (endBlockBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          endBlockBuilder_.setMessage(value);
        }
        valueCase_ = 10;
        return this;
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public Builder setEndBlock(
          tendermint.abci.Types.RequestEndBlock.Builder builderForValue) {
        if (endBlockBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          endBlockBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 10;
        return this;
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public Builder mergeEndBlock(tendermint.abci.Types.RequestEndBlock value) {
        if (endBlockBuilder_ == null) {
          if (valueCase_ == 10 &&
              value_ != tendermint.abci.Types.RequestEndBlock.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestEndBlock.newBuilder((tendermint.abci.Types.RequestEndBlock) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 10) {
            endBlockBuilder_.mergeFrom(value);
          }
          endBlockBuilder_.setMessage(value);
        }
        valueCase_ = 10;
        return this;
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public Builder clearEndBlock() {
        if (endBlockBuilder_ == null) {
          if (valueCase_ == 10) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 10) {
            valueCase_ = 0;
            value_ = null;
          }
          endBlockBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public tendermint.abci.Types.RequestEndBlock.Builder getEndBlockBuilder() {
        return getEndBlockFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      public tendermint.abci.Types.RequestEndBlockOrBuilder getEndBlockOrBuilder() {
        if ((valueCase_ == 10) && (endBlockBuilder_ != null)) {
          return endBlockBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 10) {
            return (tendermint.abci.Types.RequestEndBlock) value_;
          }
          return tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestEndBlock end_block = 10;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestEndBlock, tendermint.abci.Types.RequestEndBlock.Builder, tendermint.abci.Types.RequestEndBlockOrBuilder> 
          getEndBlockFieldBuilder() {
        if (endBlockBuilder_ == null) {
          if (!(valueCase_ == 10)) {
            value_ = tendermint.abci.Types.RequestEndBlock.getDefaultInstance();
          }
          endBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestEndBlock, tendermint.abci.Types.RequestEndBlock.Builder, tendermint.abci.Types.RequestEndBlockOrBuilder>(
                  (tendermint.abci.Types.RequestEndBlock) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 10;
        onChanged();;
        return endBlockBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestCommit, tendermint.abci.Types.RequestCommit.Builder, tendermint.abci.Types.RequestCommitOrBuilder> commitBuilder_;
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public boolean hasCommit() {
        return valueCase_ == 11;
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public tendermint.abci.Types.RequestCommit getCommit() {
        if (commitBuilder_ == null) {
          if (valueCase_ == 11) {
            return (tendermint.abci.Types.RequestCommit) value_;
          }
          return tendermint.abci.Types.RequestCommit.getDefaultInstance();
        } else {
          if (valueCase_ == 11) {
            return commitBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestCommit.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public Builder setCommit(tendermint.abci.Types.RequestCommit value) {
        if (commitBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          commitBuilder_.setMessage(value);
        }
        valueCase_ = 11;
        return this;
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public Builder setCommit(
          tendermint.abci.Types.RequestCommit.Builder builderForValue) {
        if (commitBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          commitBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 11;
        return this;
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public Builder mergeCommit(tendermint.abci.Types.RequestCommit value) {
        if (commitBuilder_ == null) {
          if (valueCase_ == 11 &&
              value_ != tendermint.abci.Types.RequestCommit.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestCommit.newBuilder((tendermint.abci.Types.RequestCommit) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 11) {
            commitBuilder_.mergeFrom(value);
          }
          commitBuilder_.setMessage(value);
        }
        valueCase_ = 11;
        return this;
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public Builder clearCommit() {
        if (commitBuilder_ == null) {
          if (valueCase_ == 11) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 11) {
            valueCase_ = 0;
            value_ = null;
          }
          commitBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public tendermint.abci.Types.RequestCommit.Builder getCommitBuilder() {
        return getCommitFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      public tendermint.abci.Types.RequestCommitOrBuilder getCommitOrBuilder() {
        if ((valueCase_ == 11) && (commitBuilder_ != null)) {
          return commitBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 11) {
            return (tendermint.abci.Types.RequestCommit) value_;
          }
          return tendermint.abci.Types.RequestCommit.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestCommit commit = 11;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestCommit, tendermint.abci.Types.RequestCommit.Builder, tendermint.abci.Types.RequestCommitOrBuilder> 
          getCommitFieldBuilder() {
        if (commitBuilder_ == null) {
          if (!(valueCase_ == 11)) {
            value_ = tendermint.abci.Types.RequestCommit.getDefaultInstance();
          }
          commitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestCommit, tendermint.abci.Types.RequestCommit.Builder, tendermint.abci.Types.RequestCommitOrBuilder>(
                  (tendermint.abci.Types.RequestCommit) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 11;
        onChanged();;
        return commitBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestListSnapshots, tendermint.abci.Types.RequestListSnapshots.Builder, tendermint.abci.Types.RequestListSnapshotsOrBuilder> listSnapshotsBuilder_;
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public boolean hasListSnapshots() {
        return valueCase_ == 12;
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public tendermint.abci.Types.RequestListSnapshots getListSnapshots() {
        if (listSnapshotsBuilder_ == null) {
          if (valueCase_ == 12) {
            return (tendermint.abci.Types.RequestListSnapshots) value_;
          }
          return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
        } else {
          if (valueCase_ == 12) {
            return listSnapshotsBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public Builder setListSnapshots(tendermint.abci.Types.RequestListSnapshots value) {
        if (listSnapshotsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          listSnapshotsBuilder_.setMessage(value);
        }
        valueCase_ = 12;
        return this;
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public Builder setListSnapshots(
          tendermint.abci.Types.RequestListSnapshots.Builder builderForValue) {
        if (listSnapshotsBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          listSnapshotsBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 12;
        return this;
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public Builder mergeListSnapshots(tendermint.abci.Types.RequestListSnapshots value) {
        if (listSnapshotsBuilder_ == null) {
          if (valueCase_ == 12 &&
              value_ != tendermint.abci.Types.RequestListSnapshots.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestListSnapshots.newBuilder((tendermint.abci.Types.RequestListSnapshots) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 12) {
            listSnapshotsBuilder_.mergeFrom(value);
          }
          listSnapshotsBuilder_.setMessage(value);
        }
        valueCase_ = 12;
        return this;
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public Builder clearListSnapshots() {
        if (listSnapshotsBuilder_ == null) {
          if (valueCase_ == 12) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 12) {
            valueCase_ = 0;
            value_ = null;
          }
          listSnapshotsBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public tendermint.abci.Types.RequestListSnapshots.Builder getListSnapshotsBuilder() {
        return getListSnapshotsFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      public tendermint.abci.Types.RequestListSnapshotsOrBuilder getListSnapshotsOrBuilder() {
        if ((valueCase_ == 12) && (listSnapshotsBuilder_ != null)) {
          return listSnapshotsBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 12) {
            return (tendermint.abci.Types.RequestListSnapshots) value_;
          }
          return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestListSnapshots list_snapshots = 12;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestListSnapshots, tendermint.abci.Types.RequestListSnapshots.Builder, tendermint.abci.Types.RequestListSnapshotsOrBuilder> 
          getListSnapshotsFieldBuilder() {
        if (listSnapshotsBuilder_ == null) {
          if (!(valueCase_ == 12)) {
            value_ = tendermint.abci.Types.RequestListSnapshots.getDefaultInstance();
          }
          listSnapshotsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestListSnapshots, tendermint.abci.Types.RequestListSnapshots.Builder, tendermint.abci.Types.RequestListSnapshotsOrBuilder>(
                  (tendermint.abci.Types.RequestListSnapshots) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 12;
        onChanged();;
        return listSnapshotsBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestOfferSnapshot, tendermint.abci.Types.RequestOfferSnapshot.Builder, tendermint.abci.Types.RequestOfferSnapshotOrBuilder> offerSnapshotBuilder_;
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public boolean hasOfferSnapshot() {
        return valueCase_ == 13;
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public tendermint.abci.Types.RequestOfferSnapshot getOfferSnapshot() {
        if (offerSnapshotBuilder_ == null) {
          if (valueCase_ == 13) {
            return (tendermint.abci.Types.RequestOfferSnapshot) value_;
          }
          return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
        } else {
          if (valueCase_ == 13) {
            return offerSnapshotBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public Builder setOfferSnapshot(tendermint.abci.Types.RequestOfferSnapshot value) {
        if (offerSnapshotBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          offerSnapshotBuilder_.setMessage(value);
        }
        valueCase_ = 13;
        return this;
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public Builder setOfferSnapshot(
          tendermint.abci.Types.RequestOfferSnapshot.Builder builderForValue) {
        if (offerSnapshotBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          offerSnapshotBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 13;
        return this;
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public Builder mergeOfferSnapshot(tendermint.abci.Types.RequestOfferSnapshot value) {
        if (offerSnapshotBuilder_ == null) {
          if (valueCase_ == 13 &&
              value_ != tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestOfferSnapshot.newBuilder((tendermint.abci.Types.RequestOfferSnapshot) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 13) {
            offerSnapshotBuilder_.mergeFrom(value);
          }
          offerSnapshotBuilder_.setMessage(value);
        }
        valueCase_ = 13;
        return this;
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public Builder clearOfferSnapshot() {
        if (offerSnapshotBuilder_ == null) {
          if (valueCase_ == 13) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 13) {
            valueCase_ = 0;
            value_ = null;
          }
          offerSnapshotBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public tendermint.abci.Types.RequestOfferSnapshot.Builder getOfferSnapshotBuilder() {
        return getOfferSnapshotFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      public tendermint.abci.Types.RequestOfferSnapshotOrBuilder getOfferSnapshotOrBuilder() {
        if ((valueCase_ == 13) && (offerSnapshotBuilder_ != null)) {
          return offerSnapshotBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 13) {
            return (tendermint.abci.Types.RequestOfferSnapshot) value_;
          }
          return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestOfferSnapshot offer_snapshot = 13;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestOfferSnapshot, tendermint.abci.Types.RequestOfferSnapshot.Builder, tendermint.abci.Types.RequestOfferSnapshotOrBuilder> 
          getOfferSnapshotFieldBuilder() {
        if (offerSnapshotBuilder_ == null) {
          if (!(valueCase_ == 13)) {
            value_ = tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance();
          }
          offerSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestOfferSnapshot, tendermint.abci.Types.RequestOfferSnapshot.Builder, tendermint.abci.Types.RequestOfferSnapshotOrBuilder>(
                  (tendermint.abci.Types.RequestOfferSnapshot) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 13;
        onChanged();;
        return offerSnapshotBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestLoadSnapshotChunk, tendermint.abci.Types.RequestLoadSnapshotChunk.Builder, tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder> loadSnapshotChunkBuilder_;
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public boolean hasLoadSnapshotChunk() {
        return valueCase_ == 14;
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public tendermint.abci.Types.RequestLoadSnapshotChunk getLoadSnapshotChunk() {
        if (loadSnapshotChunkBuilder_ == null) {
          if (valueCase_ == 14) {
            return (tendermint.abci.Types.RequestLoadSnapshotChunk) value_;
          }
          return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
        } else {
          if (valueCase_ == 14) {
            return loadSnapshotChunkBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public Builder setLoadSnapshotChunk(tendermint.abci.Types.RequestLoadSnapshotChunk value) {
        if (loadSnapshotChunkBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          loadSnapshotChunkBuilder_.setMessage(value);
        }
        valueCase_ = 14;
        return this;
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public Builder setLoadSnapshotChunk(
          tendermint.abci.Types.RequestLoadSnapshotChunk.Builder builderForValue) {
        if (loadSnapshotChunkBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          loadSnapshotChunkBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 14;
        return this;
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public Builder mergeLoadSnapshotChunk(tendermint.abci.Types.RequestLoadSnapshotChunk value) {
        if (loadSnapshotChunkBuilder_ == null) {
          if (valueCase_ == 14 &&
              value_ != tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestLoadSnapshotChunk.newBuilder((tendermint.abci.Types.RequestLoadSnapshotChunk) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 14) {
            loadSnapshotChunkBuilder_.mergeFrom(value);
          }
          loadSnapshotChunkBuilder_.setMessage(value);
        }
        valueCase_ = 14;
        return this;
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public Builder clearLoadSnapshotChunk() {
        if (loadSnapshotChunkBuilder_ == null) {
          if (valueCase_ == 14) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 14) {
            valueCase_ = 0;
            value_ = null;
          }
          loadSnapshotChunkBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public tendermint.abci.Types.RequestLoadSnapshotChunk.Builder getLoadSnapshotChunkBuilder() {
        return getLoadSnapshotChunkFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      public tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder() {
        if ((valueCase_ == 14) && (loadSnapshotChunkBuilder_ != null)) {
          return loadSnapshotChunkBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 14) {
            return (tendermint.abci.Types.RequestLoadSnapshotChunk) value_;
          }
          return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestLoadSnapshotChunk load_snapshot_chunk = 14;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestLoadSnapshotChunk, tendermint.abci.Types.RequestLoadSnapshotChunk.Builder, tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder> 
          getLoadSnapshotChunkFieldBuilder() {
        if (loadSnapshotChunkBuilder_ == null) {
          if (!(valueCase_ == 14)) {
            value_ = tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance();
          }
          loadSnapshotChunkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestLoadSnapshotChunk, tendermint.abci.Types.RequestLoadSnapshotChunk.Builder, tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder>(
                  (tendermint.abci.Types.RequestLoadSnapshotChunk) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 14;
        onChanged();;
        return loadSnapshotChunkBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestApplySnapshotChunk, tendermint.abci.Types.RequestApplySnapshotChunk.Builder, tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder> applySnapshotChunkBuilder_;
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public boolean hasApplySnapshotChunk() {
        return valueCase_ == 15;
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public tendermint.abci.Types.RequestApplySnapshotChunk getApplySnapshotChunk() {
        if (applySnapshotChunkBuilder_ == null) {
          if (valueCase_ == 15) {
            return (tendermint.abci.Types.RequestApplySnapshotChunk) value_;
          }
          return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
        } else {
          if (valueCase_ == 15) {
            return applySnapshotChunkBuilder_.getMessage();
          }
          return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public Builder setApplySnapshotChunk(tendermint.abci.Types.RequestApplySnapshotChunk value) {
        if (applySnapshotChunkBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          value_ = value;
          onChanged();
        } else {
          applySnapshotChunkBuilder_.setMessage(value);
        }
        valueCase_ = 15;
        return this;
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public Builder setApplySnapshotChunk(
          tendermint.abci.Types.RequestApplySnapshotChunk.Builder builderForValue) {
        if (applySnapshotChunkBuilder_ == null) {
          value_ = builderForValue.build();
          onChanged();
        } else {
          applySnapshotChunkBuilder_.setMessage(builderForValue.build());
        }
        valueCase_ = 15;
        return this;
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public Builder mergeApplySnapshotChunk(tendermint.abci.Types.RequestApplySnapshotChunk value) {
        if (applySnapshotChunkBuilder_ == null) {
          if (valueCase_ == 15 &&
              value_ != tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance()) {
            value_ = tendermint.abci.Types.RequestApplySnapshotChunk.newBuilder((tendermint.abci.Types.RequestApplySnapshotChunk) value_)
                .mergeFrom(value).buildPartial();
          } else {
            value_ = value;
          }
          onChanged();
        } else {
          if (valueCase_ == 15) {
            applySnapshotChunkBuilder_.mergeFrom(value);
          }
          applySnapshotChunkBuilder_.setMessage(value);
        }
        valueCase_ = 15;
        return this;
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public Builder clearApplySnapshotChunk() {
        if (applySnapshotChunkBuilder_ == null) {
          if (valueCase_ == 15) {
            valueCase_ = 0;
            value_ = null;
            onChanged();
          }
        } else {
          if (valueCase_ == 15) {
            valueCase_ = 0;
            value_ = null;
          }
          applySnapshotChunkBuilder_.clear();
        }
        return this;
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public tendermint.abci.Types.RequestApplySnapshotChunk.Builder getApplySnapshotChunkBuilder() {
        return getApplySnapshotChunkFieldBuilder().getBuilder();
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      public tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder() {
        if ((valueCase_ == 15) && (applySnapshotChunkBuilder_ != null)) {
          return applySnapshotChunkBuilder_.getMessageOrBuilder();
        } else {
          if (valueCase_ == 15) {
            return (tendermint.abci.Types.RequestApplySnapshotChunk) value_;
          }
          return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
        }
      }
      /**
       * .tendermint.abci.RequestApplySnapshotChunk apply_snapshot_chunk = 15;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          tendermint.abci.Types.RequestApplySnapshotChunk, tendermint.abci.Types.RequestApplySnapshotChunk.Builder, tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder> 
          getApplySnapshotChunkFieldBuilder() {
        if (applySnapshotChunkBuilder_ == null) {
          if (!(valueCase_ == 15)) {
            value_ = tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance();
          }
          applySnapshotChunkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              tendermint.abci.Types.RequestApplySnapshotChunk, tendermint.abci.Types.RequestApplySnapshotChunk.Builder, tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder>(
                  (tendermint.abci.Types.RequestApplySnapshotChunk) value_,
                  getParentForChildren(),
                  isClean());
          value_ = null;
        }
        valueCase_ = 15;
        onChanged();;
        return applySnapshotChunkBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tendermint.abci.Request)
    }

    // @@protoc_insertion_point(class_scope:tendermint.abci.Request)
    private static final tendermint.abci.Types.Request DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tendermint.abci.Types.Request();
    }

    public static tendermint.abci.Types.Request getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface RequestEchoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestEcho)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string message = 1;
     */
    java.lang.String getMessage();
    /**
     * string message = 1;
     */
    com.google.protobuf.ByteString
        getMessageBytes();
  }
  /**
   * Protobuf type {@code tendermint.abci.RequestEcho}
   */
  public  static final class RequestEcho extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tendermint.abci.RequestEcho)
      RequestEchoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RequestEcho.newBuilder() to construct.
    private RequestEcho(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RequestEcho() {
      message_ = "";
    }

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

              message_ = s;
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  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 tendermint.abci.Types.internal_static_tendermint_abci_RequestEcho_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tendermint.abci.Types.internal_static_tendermint_abci_RequestEcho_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tendermint.abci.Types.RequestEcho.class, tendermint.abci.Types.RequestEcho.Builder.class);
    }

    public static final int MESSAGE_FIELD_NUMBER = 1;
    private volatile java.lang.Object message_;
    /**
     * string message = 1;
     */
    public java.lang.String getMessage() {
      java.lang.Object ref = message_;
      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();
        message_ = s;
        return s;
      }
    }
    /**
     * string message = 1;
     */
    public com.google.protobuf.ByteString
        getMessageBytes() {
      java.lang.Object ref = message_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        message_ = 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 (!getMessageBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getMessageBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
      }
      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 tendermint.abci.Types.RequestEcho)) {
        return super.equals(obj);
      }
      tendermint.abci.Types.RequestEcho other = (tendermint.abci.Types.RequestEcho) obj;

      boolean result = true;
      result = result && getMessage()
          .equals(other.getMessage());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
      hash = (53 * hash) + getMessage().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tendermint.abci.Types.internal_static_tendermint_abci_RequestEcho_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tendermint.abci.Types.RequestEcho.class, tendermint.abci.Types.RequestEcho.Builder.class);
      }

      // Construct using tendermint.abci.Types.RequestEcho.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();
        message_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tendermint.abci.Types.internal_static_tendermint_abci_RequestEcho_descriptor;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestEcho getDefaultInstanceForType() {
        return tendermint.abci.Types.RequestEcho.getDefaultInstance();
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestEcho build() {
        tendermint.abci.Types.RequestEcho result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestEcho buildPartial() {
        tendermint.abci.Types.RequestEcho result = new tendermint.abci.Types.RequestEcho(this);
        result.message_ = message_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(tendermint.abci.Types.RequestEcho other) {
        if (other == tendermint.abci.Types.RequestEcho.getDefaultInstance()) return this;
        if (!other.getMessage().isEmpty()) {
          message_ = other.message_;
          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 {
        tendermint.abci.Types.RequestEcho parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (tendermint.abci.Types.RequestEcho) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object message_ = "";
      /**
       * string message = 1;
       */
      public java.lang.String getMessage() {
        java.lang.Object ref = message_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          message_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string message = 1;
       */
      public com.google.protobuf.ByteString
          getMessageBytes() {
        java.lang.Object ref = message_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          message_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string message = 1;
       */
      public Builder setMessage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        message_ = value;
        onChanged();
        return this;
      }
      /**
       * string message = 1;
       */
      public Builder clearMessage() {
        
        message_ = getDefaultInstance().getMessage();
        onChanged();
        return this;
      }
      /**
       * string message = 1;
       */
      public Builder setMessageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        message_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestEcho)
    }

    // @@protoc_insertion_point(class_scope:tendermint.abci.RequestEcho)
    private static final tendermint.abci.Types.RequestEcho DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tendermint.abci.Types.RequestEcho();
    }

    public static tendermint.abci.Types.RequestEcho getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RequestFlush(
        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 (!parseUnknownFieldProto3(
                  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 tendermint.abci.Types.internal_static_tendermint_abci_RequestFlush_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tendermint.abci.Types.internal_static_tendermint_abci_RequestFlush_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tendermint.abci.Types.RequestFlush.class, tendermint.abci.Types.RequestFlush.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 tendermint.abci.Types.RequestFlush)) {
        return super.equals(obj);
      }
      tendermint.abci.Types.RequestFlush other = (tendermint.abci.Types.RequestFlush) obj;

      boolean result = true;
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tendermint.abci.Types.internal_static_tendermint_abci_RequestFlush_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tendermint.abci.Types.RequestFlush.class, tendermint.abci.Types.RequestFlush.Builder.class);
      }

      // Construct using tendermint.abci.Types.RequestFlush.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 tendermint.abci.Types.internal_static_tendermint_abci_RequestFlush_descriptor;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestFlush getDefaultInstanceForType() {
        return tendermint.abci.Types.RequestFlush.getDefaultInstance();
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestFlush build() {
        tendermint.abci.Types.RequestFlush result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestFlush buildPartial() {
        tendermint.abci.Types.RequestFlush result = new tendermint.abci.Types.RequestFlush(this);
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(tendermint.abci.Types.RequestFlush other) {
        if (other == tendermint.abci.Types.RequestFlush.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 {
        tendermint.abci.Types.RequestFlush parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (tendermint.abci.Types.RequestFlush) 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.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestFlush)
    }

    // @@protoc_insertion_point(class_scope:tendermint.abci.RequestFlush)
    private static final tendermint.abci.Types.RequestFlush DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tendermint.abci.Types.RequestFlush();
    }

    public static tendermint.abci.Types.RequestFlush getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface RequestInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string version = 1;
     */
    java.lang.String getVersion();
    /**
     * string version = 1;
     */
    com.google.protobuf.ByteString
        getVersionBytes();

    /**
     * uint64 block_version = 2;
     */
    long getBlockVersion();

    /**
     * uint64 p2p_version = 3;
     */
    long getP2PVersion();
  }
  /**
   * Protobuf type {@code tendermint.abci.RequestInfo}
   */
  public  static final class RequestInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tendermint.abci.RequestInfo)
      RequestInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RequestInfo.newBuilder() to construct.
    private RequestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private RequestInfo() {
      version_ = "";
      blockVersion_ = 0L;
      p2PVersion_ = 0L;
    }

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

              version_ = s;
              break;
            }
            case 16: {

              blockVersion_ = input.readUInt64();
              break;
            }
            case 24: {

              p2PVersion_ = input.readUInt64();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  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 tendermint.abci.Types.internal_static_tendermint_abci_RequestInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return tendermint.abci.Types.internal_static_tendermint_abci_RequestInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              tendermint.abci.Types.RequestInfo.class, tendermint.abci.Types.RequestInfo.Builder.class);
    }

    public static final int VERSION_FIELD_NUMBER = 1;
    private volatile java.lang.Object version_;
    /**
     * string version = 1;
     */
    public java.lang.String getVersion() {
      java.lang.Object ref = version_;
      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();
        version_ = s;
        return s;
      }
    }
    /**
     * string version = 1;
     */
    public com.google.protobuf.ByteString
        getVersionBytes() {
      java.lang.Object ref = version_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        version_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BLOCK_VERSION_FIELD_NUMBER = 2;
    private long blockVersion_;
    /**
     * uint64 block_version = 2;
     */
    public long getBlockVersion() {
      return blockVersion_;
    }

    public static final int P2P_VERSION_FIELD_NUMBER = 3;
    private long p2PVersion_;
    /**
     * uint64 p2p_version = 3;
     */
    public long getP2PVersion() {
      return p2PVersion_;
    }

    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 (!getVersionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
      }
      if (blockVersion_ != 0L) {
        output.writeUInt64(2, blockVersion_);
      }
      if (p2PVersion_ != 0L) {
        output.writeUInt64(3, p2PVersion_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getVersionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_);
      }
      if (blockVersion_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(2, blockVersion_);
      }
      if (p2PVersion_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, p2PVersion_);
      }
      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 tendermint.abci.Types.RequestInfo)) {
        return super.equals(obj);
      }
      tendermint.abci.Types.RequestInfo other = (tendermint.abci.Types.RequestInfo) obj;

      boolean result = true;
      result = result && getVersion()
          .equals(other.getVersion());
      result = result && (getBlockVersion()
          == other.getBlockVersion());
      result = result && (getP2PVersion()
          == other.getP2PVersion());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + VERSION_FIELD_NUMBER;
      hash = (53 * hash) + getVersion().hashCode();
      hash = (37 * hash) + BLOCK_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getBlockVersion());
      hash = (37 * hash) + P2P_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getP2PVersion());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return tendermint.abci.Types.internal_static_tendermint_abci_RequestInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                tendermint.abci.Types.RequestInfo.class, tendermint.abci.Types.RequestInfo.Builder.class);
      }

      // Construct using tendermint.abci.Types.RequestInfo.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();
        version_ = "";

        blockVersion_ = 0L;

        p2PVersion_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return tendermint.abci.Types.internal_static_tendermint_abci_RequestInfo_descriptor;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestInfo getDefaultInstanceForType() {
        return tendermint.abci.Types.RequestInfo.getDefaultInstance();
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestInfo build() {
        tendermint.abci.Types.RequestInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public tendermint.abci.Types.RequestInfo buildPartial() {
        tendermint.abci.Types.RequestInfo result = new tendermint.abci.Types.RequestInfo(this);
        result.version_ = version_;
        result.blockVersion_ = blockVersion_;
        result.p2PVersion_ = p2PVersion_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(tendermint.abci.Types.RequestInfo other) {
        if (other == tendermint.abci.Types.RequestInfo.getDefaultInstance()) return this;
        if (!other.getVersion().isEmpty()) {
          version_ = other.version_;
          onChanged();
        }
        if (other.getBlockVersion() != 0L) {
          setBlockVersion(other.getBlockVersion());
        }
        if (other.getP2PVersion() != 0L) {
          setP2PVersion(other.getP2PVersion());
        }
        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 {
        tendermint.abci.Types.RequestInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (tendermint.abci.Types.RequestInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object version_ = "";
      /**
       * string version = 1;
       */
      public java.lang.String getVersion() {
        java.lang.Object ref = version_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          version_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string version = 1;
       */
      public com.google.protobuf.ByteString
          getVersionBytes() {
        java.lang.Object ref = version_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          version_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string version = 1;
       */
      public Builder setVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        version_ = value;
        onChanged();
        return this;
      }
      /**
       * string version = 1;
       */
      public Builder clearVersion() {
        
        version_ = getDefaultInstance().getVersion();
        onChanged();
        return this;
      }
      /**
       * string version = 1;
       */
      public Builder setVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        version_ = value;
        onChanged();
        return this;
      }

      private long blockVersion_ ;
      /**
       * uint64 block_version = 2;
       */
      public long getBlockVersion() {
        return blockVersion_;
      }
      /**
       * uint64 block_version = 2;
       */
      public Builder setBlockVersion(long value) {
        
        blockVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 block_version = 2;
       */
      public Builder clearBlockVersion() {
        
        blockVersion_ = 0L;
        onChanged();
        return this;
      }

      private long p2PVersion_ ;
      /**
       * uint64 p2p_version = 3;
       */
      public long getP2PVersion() {
        return p2PVersion_;
      }
      /**
       * uint64 p2p_version = 3;
       */
      public Builder setP2PVersion(long value) {
        
        p2PVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * uint64 p2p_version = 3;
       */
      public Builder clearP2PVersion() {
        
        p2PVersion_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestInfo)
    }

    // @@protoc_insertion_point(class_scope:tendermint.abci.RequestInfo)
    private static final tendermint.abci.Types.RequestInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new tendermint.abci.Types.RequestInfo();
    }

    public static tendermint.abci.Types.RequestInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

  }

  public interface RequestSetOptionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestSetOption)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string key = 1;
     */
    java.lang.String getKey();
    /**
     * string key = 1;
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * string value = 2;
     */
    java.lang.String getValue();
    /**
     * string value = 2;
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * 
   * nondeterministic
   * 
* * Protobuf type {@code tendermint.abci.RequestSetOption} */ public static final class RequestSetOption extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestSetOption) RequestSetOptionOrBuilder { private static final long serialVersionUID = 0L; // Use RequestSetOption.newBuilder() to construct. private RequestSetOption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestSetOption() { key_ = ""; value_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestSetOption( 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(); key_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); value_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestSetOption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestSetOption_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestSetOption.class, tendermint.abci.Types.RequestSetOption.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** * string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; 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(); key_ = s; return s; } } /** * string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** * string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; } } /** * string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = 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 (!getKeyBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!getValueBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getKeyBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (!getValueBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } 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 tendermint.abci.Types.RequestSetOption)) { return super.equals(obj); } tendermint.abci.Types.RequestSetOption other = (tendermint.abci.Types.RequestSetOption) obj; boolean result = true; result = result && getKey() .equals(other.getKey()); result = result && getValue() .equals(other.getValue()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestSetOption parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestSetOption parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestSetOption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestSetOption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestSetOption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestSetOption parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestSetOption parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestSetOption 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 tendermint.abci.Types.RequestSetOption parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestSetOption 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 tendermint.abci.Types.RequestSetOption parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestSetOption 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(tendermint.abci.Types.RequestSetOption 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; } /** *
     * nondeterministic
     * 
* * Protobuf type {@code tendermint.abci.RequestSetOption} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestSetOption) tendermint.abci.Types.RequestSetOptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestSetOption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestSetOption_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestSetOption.class, tendermint.abci.Types.RequestSetOption.Builder.class); } // Construct using tendermint.abci.Types.RequestSetOption.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(); key_ = ""; value_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestSetOption_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestSetOption getDefaultInstanceForType() { return tendermint.abci.Types.RequestSetOption.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestSetOption build() { tendermint.abci.Types.RequestSetOption result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestSetOption buildPartial() { tendermint.abci.Types.RequestSetOption result = new tendermint.abci.Types.RequestSetOption(this); result.key_ = key_; result.value_ = value_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestSetOption) { return mergeFrom((tendermint.abci.Types.RequestSetOption)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestSetOption other) { if (other == tendermint.abci.Types.RequestSetOption.getDefaultInstance()) return this; if (!other.getKey().isEmpty()) { key_ = other.key_; onChanged(); } if (!other.getValue().isEmpty()) { value_ = other.value_; 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 { tendermint.abci.Types.RequestSetOption parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestSetOption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object key_ = ""; /** * string key = 1; */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } else { return (java.lang.String) ref; } } /** * string key = 1; */ public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); key_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string key = 1; */ public Builder setKey( java.lang.String value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** * string key = 1; */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** * string key = 1; */ public Builder setKeyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); key_ = value; onChanged(); return this; } private java.lang.Object value_ = ""; /** * string value = 2; */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } else { return (java.lang.String) ref; } } /** * string value = 2; */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string value = 2; */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /** * string value = 2; */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** * string value = 2; */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestSetOption) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestSetOption) private static final tendermint.abci.Types.RequestSetOption DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestSetOption(); } public static tendermint.abci.Types.RequestSetOption getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestSetOption parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestSetOption(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 tendermint.abci.Types.RequestSetOption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestInitChainOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestInitChain) com.google.protobuf.MessageOrBuilder { /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ boolean hasTime(); /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ com.google.protobuf.Timestamp getTime(); /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ com.google.protobuf.TimestampOrBuilder getTimeOrBuilder(); /** * string chain_id = 2; */ java.lang.String getChainId(); /** * string chain_id = 2; */ com.google.protobuf.ByteString getChainIdBytes(); /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ boolean hasConsensusParams(); /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ tendermint.abci.Types.ConsensusParams getConsensusParams(); /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorsList(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdate getValidators(int index); /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ int getValidatorsCount(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorsOrBuilderList(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index); /** * bytes app_state_bytes = 5; */ com.google.protobuf.ByteString getAppStateBytes(); /** * int64 initial_height = 6; */ long getInitialHeight(); } /** * Protobuf type {@code tendermint.abci.RequestInitChain} */ public static final class RequestInitChain extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestInitChain) RequestInitChainOrBuilder { private static final long serialVersionUID = 0L; // Use RequestInitChain.newBuilder() to construct. private RequestInitChain(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestInitChain() { chainId_ = ""; validators_ = java.util.Collections.emptyList(); appStateBytes_ = com.google.protobuf.ByteString.EMPTY; initialHeight_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestInitChain( 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: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (time_ != null) { subBuilder = time_.toBuilder(); } time_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(time_); time_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); chainId_ = s; break; } case 26: { tendermint.abci.Types.ConsensusParams.Builder subBuilder = null; if (consensusParams_ != null) { subBuilder = consensusParams_.toBuilder(); } consensusParams_ = input.readMessage(tendermint.abci.Types.ConsensusParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusParams_); consensusParams_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { validators_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } validators_.add( input.readMessage(tendermint.abci.Types.ValidatorUpdate.parser(), extensionRegistry)); break; } case 42: { appStateBytes_ = input.readBytes(); break; } case 48: { initialHeight_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000008) == 0x00000008)) { validators_ = java.util.Collections.unmodifiableList(validators_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestInitChain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestInitChain_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestInitChain.class, tendermint.abci.Types.RequestInitChain.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp time_; /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public boolean hasTime() { return time_ != null; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp getTime() { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { return getTime(); } public static final int CHAIN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object chainId_; /** * string chain_id = 2; */ 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 = 2; */ 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; } } public static final int CONSENSUS_PARAMS_FIELD_NUMBER = 3; private tendermint.abci.Types.ConsensusParams consensusParams_; /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public boolean hasConsensusParams() { return consensusParams_ != null; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public tendermint.abci.Types.ConsensusParams getConsensusParams() { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder() { return getConsensusParams(); } public static final int VALIDATORS_FIELD_NUMBER = 4; private java.util.List validators_; /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsList() { return validators_; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsOrBuilderList() { return validators_; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public int getValidatorsCount() { return validators_.size(); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidators(int index) { return validators_.get(index); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index) { return validators_.get(index); } public static final int APP_STATE_BYTES_FIELD_NUMBER = 5; private com.google.protobuf.ByteString appStateBytes_; /** * bytes app_state_bytes = 5; */ public com.google.protobuf.ByteString getAppStateBytes() { return appStateBytes_; } public static final int INITIAL_HEIGHT_FIELD_NUMBER = 6; private long initialHeight_; /** * int64 initial_height = 6; */ public long getInitialHeight() { return initialHeight_; } 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 (time_ != null) { output.writeMessage(1, getTime()); } if (!getChainIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, chainId_); } if (consensusParams_ != null) { output.writeMessage(3, getConsensusParams()); } for (int i = 0; i < validators_.size(); i++) { output.writeMessage(4, validators_.get(i)); } if (!appStateBytes_.isEmpty()) { output.writeBytes(5, appStateBytes_); } if (initialHeight_ != 0L) { output.writeInt64(6, initialHeight_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (time_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTime()); } if (!getChainIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, chainId_); } if (consensusParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getConsensusParams()); } for (int i = 0; i < validators_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, validators_.get(i)); } if (!appStateBytes_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, appStateBytes_); } if (initialHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, initialHeight_); } 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 tendermint.abci.Types.RequestInitChain)) { return super.equals(obj); } tendermint.abci.Types.RequestInitChain other = (tendermint.abci.Types.RequestInitChain) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && getChainId() .equals(other.getChainId()); result = result && (hasConsensusParams() == other.hasConsensusParams()); if (hasConsensusParams()) { result = result && getConsensusParams() .equals(other.getConsensusParams()); } result = result && getValidatorsList() .equals(other.getValidatorsList()); result = result && getAppStateBytes() .equals(other.getAppStateBytes()); result = result && (getInitialHeight() == other.getInitialHeight()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; hash = (53 * hash) + getChainId().hashCode(); if (hasConsensusParams()) { hash = (37 * hash) + CONSENSUS_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getConsensusParams().hashCode(); } if (getValidatorsCount() > 0) { hash = (37 * hash) + VALIDATORS_FIELD_NUMBER; hash = (53 * hash) + getValidatorsList().hashCode(); } hash = (37 * hash) + APP_STATE_BYTES_FIELD_NUMBER; hash = (53 * hash) + getAppStateBytes().hashCode(); hash = (37 * hash) + INITIAL_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInitialHeight()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestInitChain parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestInitChain parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestInitChain parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestInitChain parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestInitChain parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestInitChain parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestInitChain parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestInitChain 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 tendermint.abci.Types.RequestInitChain parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestInitChain 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 tendermint.abci.Types.RequestInitChain parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestInitChain 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(tendermint.abci.Types.RequestInitChain 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 tendermint.abci.RequestInitChain} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestInitChain) tendermint.abci.Types.RequestInitChainOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestInitChain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestInitChain_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestInitChain.class, tendermint.abci.Types.RequestInitChain.Builder.class); } // Construct using tendermint.abci.Types.RequestInitChain.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidatorsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (timeBuilder_ == null) { time_ = null; } else { time_ = null; timeBuilder_ = null; } chainId_ = ""; if (consensusParamsBuilder_ == null) { consensusParams_ = null; } else { consensusParams_ = null; consensusParamsBuilder_ = null; } if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { validatorsBuilder_.clear(); } appStateBytes_ = com.google.protobuf.ByteString.EMPTY; initialHeight_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestInitChain_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestInitChain getDefaultInstanceForType() { return tendermint.abci.Types.RequestInitChain.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestInitChain build() { tendermint.abci.Types.RequestInitChain result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestInitChain buildPartial() { tendermint.abci.Types.RequestInitChain result = new tendermint.abci.Types.RequestInitChain(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (timeBuilder_ == null) { result.time_ = time_; } else { result.time_ = timeBuilder_.build(); } result.chainId_ = chainId_; if (consensusParamsBuilder_ == null) { result.consensusParams_ = consensusParams_; } else { result.consensusParams_ = consensusParamsBuilder_.build(); } if (validatorsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { validators_ = java.util.Collections.unmodifiableList(validators_); bitField0_ = (bitField0_ & ~0x00000008); } result.validators_ = validators_; } else { result.validators_ = validatorsBuilder_.build(); } result.appStateBytes_ = appStateBytes_; result.initialHeight_ = initialHeight_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestInitChain) { return mergeFrom((tendermint.abci.Types.RequestInitChain)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestInitChain other) { if (other == tendermint.abci.Types.RequestInitChain.getDefaultInstance()) return this; if (other.hasTime()) { mergeTime(other.getTime()); } if (!other.getChainId().isEmpty()) { chainId_ = other.chainId_; onChanged(); } if (other.hasConsensusParams()) { mergeConsensusParams(other.getConsensusParams()); } if (validatorsBuilder_ == null) { if (!other.validators_.isEmpty()) { if (validators_.isEmpty()) { validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureValidatorsIsMutable(); validators_.addAll(other.validators_); } onChanged(); } } else { if (!other.validators_.isEmpty()) { if (validatorsBuilder_.isEmpty()) { validatorsBuilder_.dispose(); validatorsBuilder_ = null; validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000008); validatorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidatorsFieldBuilder() : null; } else { validatorsBuilder_.addAllMessages(other.validators_); } } } if (other.getAppStateBytes() != com.google.protobuf.ByteString.EMPTY) { setAppStateBytes(other.getAppStateBytes()); } if (other.getInitialHeight() != 0L) { setInitialHeight(other.getInitialHeight()); } 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 { tendermint.abci.Types.RequestInitChain parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestInitChain) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Timestamp time_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeBuilder_; /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public boolean hasTime() { return timeBuilder_ != null || time_ != null; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp getTime() { if (timeBuilder_ == null) { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } else { return timeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder setTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } time_ = value; onChanged(); } else { timeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder setTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (timeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); } else { timeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder mergeTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (time_ != null) { time_ = com.google.protobuf.Timestamp.newBuilder(time_).mergeFrom(value).buildPartial(); } else { time_ = value; } onChanged(); } else { timeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder clearTime() { if (timeBuilder_ == null) { time_ = null; onChanged(); } else { time_ = null; timeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp.Builder getTimeBuilder() { onChanged(); return getTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } } /** * .google.protobuf.Timestamp time = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getTime(), getParentForChildren(), isClean()); time_ = null; } return timeBuilder_; } private java.lang.Object chainId_ = ""; /** * string chain_id = 2; */ 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 = 2; */ 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 = 2; */ public Builder setChainId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } chainId_ = value; onChanged(); return this; } /** * string chain_id = 2; */ public Builder clearChainId() { chainId_ = getDefaultInstance().getChainId(); onChanged(); return this; } /** * string chain_id = 2; */ public Builder setChainIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); chainId_ = value; onChanged(); return this; } private tendermint.abci.Types.ConsensusParams consensusParams_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> consensusParamsBuilder_; /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public boolean hasConsensusParams() { return consensusParamsBuilder_ != null || consensusParams_ != null; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public tendermint.abci.Types.ConsensusParams getConsensusParams() { if (consensusParamsBuilder_ == null) { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } else { return consensusParamsBuilder_.getMessage(); } } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public Builder setConsensusParams(tendermint.abci.Types.ConsensusParams value) { if (consensusParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusParams_ = value; onChanged(); } else { consensusParamsBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public Builder setConsensusParams( tendermint.abci.Types.ConsensusParams.Builder builderForValue) { if (consensusParamsBuilder_ == null) { consensusParams_ = builderForValue.build(); onChanged(); } else { consensusParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public Builder mergeConsensusParams(tendermint.abci.Types.ConsensusParams value) { if (consensusParamsBuilder_ == null) { if (consensusParams_ != null) { consensusParams_ = tendermint.abci.Types.ConsensusParams.newBuilder(consensusParams_).mergeFrom(value).buildPartial(); } else { consensusParams_ = value; } onChanged(); } else { consensusParamsBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public Builder clearConsensusParams() { if (consensusParamsBuilder_ == null) { consensusParams_ = null; onChanged(); } else { consensusParams_ = null; consensusParamsBuilder_ = null; } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public tendermint.abci.Types.ConsensusParams.Builder getConsensusParamsBuilder() { onChanged(); return getConsensusParamsFieldBuilder().getBuilder(); } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder() { if (consensusParamsBuilder_ != null) { return consensusParamsBuilder_.getMessageOrBuilder(); } else { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } } /** * .tendermint.abci.ConsensusParams consensus_params = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> getConsensusParamsFieldBuilder() { if (consensusParamsBuilder_ == null) { consensusParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder>( getConsensusParams(), getParentForChildren(), isClean()); consensusParams_ = null; } return consensusParamsBuilder_; } private java.util.List validators_ = java.util.Collections.emptyList(); private void ensureValidatorsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { validators_ = new java.util.ArrayList(validators_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> validatorsBuilder_; /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsList() { if (validatorsBuilder_ == null) { return java.util.Collections.unmodifiableList(validators_); } else { return validatorsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public int getValidatorsCount() { if (validatorsBuilder_ == null) { return validators_.size(); } else { return validatorsBuilder_.getCount(); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidators(int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder setValidators( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.set(index, value); onChanged(); } else { validatorsBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder setValidators( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.set(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addValidators(tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(value); onChanged(); } else { validatorsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addValidators( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(index, value); onChanged(); } else { validatorsBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addValidators( tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addValidators( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addAllValidators( java.lang.Iterable values) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validators_); onChanged(); } else { validatorsBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder clearValidators() { if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { validatorsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public Builder removeValidators(int index) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.remove(index); onChanged(); } else { validatorsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder getValidatorsBuilder( int index) { return getValidatorsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsOrBuilderList() { if (validatorsBuilder_ != null) { return validatorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validators_); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorsBuilder() { return getValidatorsFieldBuilder().addBuilder( tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorsBuilder( int index) { return getValidatorsFieldBuilder().addBuilder( index, tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsBuilderList() { return getValidatorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> getValidatorsFieldBuilder() { if (validatorsBuilder_ == null) { validatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder>( validators_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); validators_ = null; } return validatorsBuilder_; } private com.google.protobuf.ByteString appStateBytes_ = com.google.protobuf.ByteString.EMPTY; /** * bytes app_state_bytes = 5; */ public com.google.protobuf.ByteString getAppStateBytes() { return appStateBytes_; } /** * bytes app_state_bytes = 5; */ public Builder setAppStateBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appStateBytes_ = value; onChanged(); return this; } /** * bytes app_state_bytes = 5; */ public Builder clearAppStateBytes() { appStateBytes_ = getDefaultInstance().getAppStateBytes(); onChanged(); return this; } private long initialHeight_ ; /** * int64 initial_height = 6; */ public long getInitialHeight() { return initialHeight_; } /** * int64 initial_height = 6; */ public Builder setInitialHeight(long value) { initialHeight_ = value; onChanged(); return this; } /** * int64 initial_height = 6; */ public Builder clearInitialHeight() { initialHeight_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestInitChain) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestInitChain) private static final tendermint.abci.Types.RequestInitChain DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestInitChain(); } public static tendermint.abci.Types.RequestInitChain getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestInitChain parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestInitChain(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 tendermint.abci.Types.RequestInitChain getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestQuery) com.google.protobuf.MessageOrBuilder { /** * bytes data = 1; */ com.google.protobuf.ByteString getData(); /** * string path = 2; */ java.lang.String getPath(); /** * string path = 2; */ com.google.protobuf.ByteString getPathBytes(); /** * int64 height = 3; */ long getHeight(); /** * bool prove = 4; */ boolean getProve(); } /** * Protobuf type {@code tendermint.abci.RequestQuery} */ public static final class RequestQuery extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestQuery) RequestQueryOrBuilder { private static final long serialVersionUID = 0L; // Use RequestQuery.newBuilder() to construct. private RequestQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestQuery() { data_ = com.google.protobuf.ByteString.EMPTY; path_ = ""; height_ = 0L; prove_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestQuery( 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: { data_ = input.readBytes(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 24: { height_ = input.readInt64(); break; } case 32: { prove_ = input.readBool(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestQuery.class, tendermint.abci.Types.RequestQuery.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** * bytes data = 1; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** * string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HEIGHT_FIELD_NUMBER = 3; private long height_; /** * int64 height = 3; */ public long getHeight() { return height_; } public static final int PROVE_FIELD_NUMBER = 4; private boolean prove_; /** * bool prove = 4; */ public boolean getProve() { return prove_; } 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 (!data_.isEmpty()) { output.writeBytes(1, data_); } if (!getPathBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (height_ != 0L) { output.writeInt64(3, height_); } if (prove_ != false) { output.writeBool(4, prove_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } if (!getPathBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (height_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, height_); } if (prove_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, prove_); } 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 tendermint.abci.Types.RequestQuery)) { return super.equals(obj); } tendermint.abci.Types.RequestQuery other = (tendermint.abci.Types.RequestQuery) obj; boolean result = true; result = result && getData() .equals(other.getData()); result = result && getPath() .equals(other.getPath()); result = result && (getHeight() == other.getHeight()); result = result && (getProve() == other.getProve()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeight()); hash = (37 * hash) + PROVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getProve()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestQuery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestQuery parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestQuery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestQuery parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestQuery 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 tendermint.abci.Types.RequestQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestQuery 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 tendermint.abci.Types.RequestQuery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestQuery 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(tendermint.abci.Types.RequestQuery 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 tendermint.abci.RequestQuery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestQuery) tendermint.abci.Types.RequestQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestQuery.class, tendermint.abci.Types.RequestQuery.Builder.class); } // Construct using tendermint.abci.Types.RequestQuery.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(); data_ = com.google.protobuf.ByteString.EMPTY; path_ = ""; height_ = 0L; prove_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestQuery_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestQuery getDefaultInstanceForType() { return tendermint.abci.Types.RequestQuery.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestQuery build() { tendermint.abci.Types.RequestQuery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestQuery buildPartial() { tendermint.abci.Types.RequestQuery result = new tendermint.abci.Types.RequestQuery(this); result.data_ = data_; result.path_ = path_; result.height_ = height_; result.prove_ = prove_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestQuery) { return mergeFrom((tendermint.abci.Types.RequestQuery)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestQuery other) { if (other == tendermint.abci.Types.RequestQuery.getDefaultInstance()) return this; if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (other.getProve() != false) { setProve(other.getProve()); } 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 { tendermint.abci.Types.RequestQuery parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 1; */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 1; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 1; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object path_ = ""; /** * string path = 2; */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 2; */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 2; */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 2; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 2; */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private long height_ ; /** * int64 height = 3; */ public long getHeight() { return height_; } /** * int64 height = 3; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** * int64 height = 3; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private boolean prove_ ; /** * bool prove = 4; */ public boolean getProve() { return prove_; } /** * bool prove = 4; */ public Builder setProve(boolean value) { prove_ = value; onChanged(); return this; } /** * bool prove = 4; */ public Builder clearProve() { prove_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestQuery) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestQuery) private static final tendermint.abci.Types.RequestQuery DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestQuery(); } public static tendermint.abci.Types.RequestQuery getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestQuery(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 tendermint.abci.Types.RequestQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestBeginBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestBeginBlock) com.google.protobuf.MessageOrBuilder { /** * bytes hash = 1; */ com.google.protobuf.ByteString getHash(); /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ boolean hasHeader(); /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ tendermint.types.Types.Header getHeader(); /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ tendermint.types.Types.HeaderOrBuilder getHeaderOrBuilder(); /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ boolean hasLastCommitInfo(); /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.LastCommitInfo getLastCommitInfo(); /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.LastCommitInfoOrBuilder getLastCommitInfoOrBuilder(); /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ java.util.List getByzantineValidatorsList(); /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.Evidence getByzantineValidators(int index); /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ int getByzantineValidatorsCount(); /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ java.util.List getByzantineValidatorsOrBuilderList(); /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.EvidenceOrBuilder getByzantineValidatorsOrBuilder( int index); } /** * Protobuf type {@code tendermint.abci.RequestBeginBlock} */ public static final class RequestBeginBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestBeginBlock) RequestBeginBlockOrBuilder { private static final long serialVersionUID = 0L; // Use RequestBeginBlock.newBuilder() to construct. private RequestBeginBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestBeginBlock() { hash_ = com.google.protobuf.ByteString.EMPTY; byzantineValidators_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestBeginBlock( 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: { hash_ = input.readBytes(); break; } case 18: { tendermint.types.Types.Header.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(tendermint.types.Types.Header.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 26: { tendermint.abci.Types.LastCommitInfo.Builder subBuilder = null; if (lastCommitInfo_ != null) { subBuilder = lastCommitInfo_.toBuilder(); } lastCommitInfo_ = input.readMessage(tendermint.abci.Types.LastCommitInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastCommitInfo_); lastCommitInfo_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { byzantineValidators_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } byzantineValidators_.add( input.readMessage(tendermint.abci.Types.Evidence.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000008) == 0x00000008)) { byzantineValidators_ = java.util.Collections.unmodifiableList(byzantineValidators_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestBeginBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestBeginBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestBeginBlock.class, tendermint.abci.Types.RequestBeginBlock.Builder.class); } private int bitField0_; public static final int HASH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString hash_; /** * bytes hash = 1; */ public com.google.protobuf.ByteString getHash() { return hash_; } public static final int HEADER_FIELD_NUMBER = 2; private tendermint.types.Types.Header header_; /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public boolean hasHeader() { return header_ != null; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public tendermint.types.Types.Header getHeader() { return header_ == null ? tendermint.types.Types.Header.getDefaultInstance() : header_; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public tendermint.types.Types.HeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int LAST_COMMIT_INFO_FIELD_NUMBER = 3; private tendermint.abci.Types.LastCommitInfo lastCommitInfo_; /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public boolean hasLastCommitInfo() { return lastCommitInfo_ != null; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.LastCommitInfo getLastCommitInfo() { return lastCommitInfo_ == null ? tendermint.abci.Types.LastCommitInfo.getDefaultInstance() : lastCommitInfo_; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.LastCommitInfoOrBuilder getLastCommitInfoOrBuilder() { return getLastCommitInfo(); } public static final int BYZANTINE_VALIDATORS_FIELD_NUMBER = 4; private java.util.List byzantineValidators_; /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getByzantineValidatorsList() { return byzantineValidators_; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getByzantineValidatorsOrBuilderList() { return byzantineValidators_; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public int getByzantineValidatorsCount() { return byzantineValidators_.size(); } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Evidence getByzantineValidators(int index) { return byzantineValidators_.get(index); } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.EvidenceOrBuilder getByzantineValidatorsOrBuilder( int index) { return byzantineValidators_.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 (!hash_.isEmpty()) { output.writeBytes(1, hash_); } if (header_ != null) { output.writeMessage(2, getHeader()); } if (lastCommitInfo_ != null) { output.writeMessage(3, getLastCommitInfo()); } for (int i = 0; i < byzantineValidators_.size(); i++) { output.writeMessage(4, byzantineValidators_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!hash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, hash_); } if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHeader()); } if (lastCommitInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLastCommitInfo()); } for (int i = 0; i < byzantineValidators_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, byzantineValidators_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.RequestBeginBlock)) { return super.equals(obj); } tendermint.abci.Types.RequestBeginBlock other = (tendermint.abci.Types.RequestBeginBlock) obj; boolean result = true; result = result && getHash() .equals(other.getHash()); result = result && (hasHeader() == other.hasHeader()); if (hasHeader()) { result = result && getHeader() .equals(other.getHeader()); } result = result && (hasLastCommitInfo() == other.hasLastCommitInfo()); if (hasLastCommitInfo()) { result = result && getLastCommitInfo() .equals(other.getLastCommitInfo()); } result = result && getByzantineValidatorsList() .equals(other.getByzantineValidatorsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HASH_FIELD_NUMBER; hash = (53 * hash) + getHash().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (hasLastCommitInfo()) { hash = (37 * hash) + LAST_COMMIT_INFO_FIELD_NUMBER; hash = (53 * hash) + getLastCommitInfo().hashCode(); } if (getByzantineValidatorsCount() > 0) { hash = (37 * hash) + BYZANTINE_VALIDATORS_FIELD_NUMBER; hash = (53 * hash) + getByzantineValidatorsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestBeginBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestBeginBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestBeginBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestBeginBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestBeginBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestBeginBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestBeginBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestBeginBlock 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 tendermint.abci.Types.RequestBeginBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestBeginBlock 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 tendermint.abci.Types.RequestBeginBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestBeginBlock 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(tendermint.abci.Types.RequestBeginBlock 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 tendermint.abci.RequestBeginBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestBeginBlock) tendermint.abci.Types.RequestBeginBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestBeginBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestBeginBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestBeginBlock.class, tendermint.abci.Types.RequestBeginBlock.Builder.class); } // Construct using tendermint.abci.Types.RequestBeginBlock.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getByzantineValidatorsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); hash_ = com.google.protobuf.ByteString.EMPTY; if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (lastCommitInfoBuilder_ == null) { lastCommitInfo_ = null; } else { lastCommitInfo_ = null; lastCommitInfoBuilder_ = null; } if (byzantineValidatorsBuilder_ == null) { byzantineValidators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { byzantineValidatorsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestBeginBlock_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestBeginBlock getDefaultInstanceForType() { return tendermint.abci.Types.RequestBeginBlock.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestBeginBlock build() { tendermint.abci.Types.RequestBeginBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestBeginBlock buildPartial() { tendermint.abci.Types.RequestBeginBlock result = new tendermint.abci.Types.RequestBeginBlock(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.hash_ = hash_; if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (lastCommitInfoBuilder_ == null) { result.lastCommitInfo_ = lastCommitInfo_; } else { result.lastCommitInfo_ = lastCommitInfoBuilder_.build(); } if (byzantineValidatorsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { byzantineValidators_ = java.util.Collections.unmodifiableList(byzantineValidators_); bitField0_ = (bitField0_ & ~0x00000008); } result.byzantineValidators_ = byzantineValidators_; } else { result.byzantineValidators_ = byzantineValidatorsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestBeginBlock) { return mergeFrom((tendermint.abci.Types.RequestBeginBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestBeginBlock other) { if (other == tendermint.abci.Types.RequestBeginBlock.getDefaultInstance()) return this; if (other.getHash() != com.google.protobuf.ByteString.EMPTY) { setHash(other.getHash()); } if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasLastCommitInfo()) { mergeLastCommitInfo(other.getLastCommitInfo()); } if (byzantineValidatorsBuilder_ == null) { if (!other.byzantineValidators_.isEmpty()) { if (byzantineValidators_.isEmpty()) { byzantineValidators_ = other.byzantineValidators_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureByzantineValidatorsIsMutable(); byzantineValidators_.addAll(other.byzantineValidators_); } onChanged(); } } else { if (!other.byzantineValidators_.isEmpty()) { if (byzantineValidatorsBuilder_.isEmpty()) { byzantineValidatorsBuilder_.dispose(); byzantineValidatorsBuilder_ = null; byzantineValidators_ = other.byzantineValidators_; bitField0_ = (bitField0_ & ~0x00000008); byzantineValidatorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getByzantineValidatorsFieldBuilder() : null; } else { byzantineValidatorsBuilder_.addAllMessages(other.byzantineValidators_); } } } 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 { tendermint.abci.Types.RequestBeginBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestBeginBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString hash_ = com.google.protobuf.ByteString.EMPTY; /** * bytes hash = 1; */ public com.google.protobuf.ByteString getHash() { return hash_; } /** * bytes hash = 1; */ public Builder setHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } hash_ = value; onChanged(); return this; } /** * bytes hash = 1; */ public Builder clearHash() { hash_ = getDefaultInstance().getHash(); onChanged(); return this; } private tendermint.types.Types.Header header_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Types.Header, tendermint.types.Types.Header.Builder, tendermint.types.Types.HeaderOrBuilder> headerBuilder_; /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public tendermint.types.Types.Header getHeader() { if (headerBuilder_ == null) { return header_ == null ? tendermint.types.Types.Header.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeader(tendermint.types.Types.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeader( tendermint.types.Types.Header.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeHeader(tendermint.types.Types.Header value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = tendermint.types.Types.Header.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public tendermint.types.Types.Header.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ public tendermint.types.Types.HeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? tendermint.types.Types.Header.getDefaultInstance() : header_; } } /** * .tendermint.types.Header header = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Types.Header, tendermint.types.Types.Header.Builder, tendermint.types.Types.HeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Types.Header, tendermint.types.Types.Header.Builder, tendermint.types.Types.HeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private tendermint.abci.Types.LastCommitInfo lastCommitInfo_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.LastCommitInfo, tendermint.abci.Types.LastCommitInfo.Builder, tendermint.abci.Types.LastCommitInfoOrBuilder> lastCommitInfoBuilder_; /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public boolean hasLastCommitInfo() { return lastCommitInfoBuilder_ != null || lastCommitInfo_ != null; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.LastCommitInfo getLastCommitInfo() { if (lastCommitInfoBuilder_ == null) { return lastCommitInfo_ == null ? tendermint.abci.Types.LastCommitInfo.getDefaultInstance() : lastCommitInfo_; } else { return lastCommitInfoBuilder_.getMessage(); } } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public Builder setLastCommitInfo(tendermint.abci.Types.LastCommitInfo value) { if (lastCommitInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastCommitInfo_ = value; onChanged(); } else { lastCommitInfoBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public Builder setLastCommitInfo( tendermint.abci.Types.LastCommitInfo.Builder builderForValue) { if (lastCommitInfoBuilder_ == null) { lastCommitInfo_ = builderForValue.build(); onChanged(); } else { lastCommitInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeLastCommitInfo(tendermint.abci.Types.LastCommitInfo value) { if (lastCommitInfoBuilder_ == null) { if (lastCommitInfo_ != null) { lastCommitInfo_ = tendermint.abci.Types.LastCommitInfo.newBuilder(lastCommitInfo_).mergeFrom(value).buildPartial(); } else { lastCommitInfo_ = value; } onChanged(); } else { lastCommitInfoBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public Builder clearLastCommitInfo() { if (lastCommitInfoBuilder_ == null) { lastCommitInfo_ = null; onChanged(); } else { lastCommitInfo_ = null; lastCommitInfoBuilder_ = null; } return this; } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.LastCommitInfo.Builder getLastCommitInfoBuilder() { onChanged(); return getLastCommitInfoFieldBuilder().getBuilder(); } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.LastCommitInfoOrBuilder getLastCommitInfoOrBuilder() { if (lastCommitInfoBuilder_ != null) { return lastCommitInfoBuilder_.getMessageOrBuilder(); } else { return lastCommitInfo_ == null ? tendermint.abci.Types.LastCommitInfo.getDefaultInstance() : lastCommitInfo_; } } /** * .tendermint.abci.LastCommitInfo last_commit_info = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.LastCommitInfo, tendermint.abci.Types.LastCommitInfo.Builder, tendermint.abci.Types.LastCommitInfoOrBuilder> getLastCommitInfoFieldBuilder() { if (lastCommitInfoBuilder_ == null) { lastCommitInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.LastCommitInfo, tendermint.abci.Types.LastCommitInfo.Builder, tendermint.abci.Types.LastCommitInfoOrBuilder>( getLastCommitInfo(), getParentForChildren(), isClean()); lastCommitInfo_ = null; } return lastCommitInfoBuilder_; } private java.util.List byzantineValidators_ = java.util.Collections.emptyList(); private void ensureByzantineValidatorsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { byzantineValidators_ = new java.util.ArrayList(byzantineValidators_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Evidence, tendermint.abci.Types.Evidence.Builder, tendermint.abci.Types.EvidenceOrBuilder> byzantineValidatorsBuilder_; /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getByzantineValidatorsList() { if (byzantineValidatorsBuilder_ == null) { return java.util.Collections.unmodifiableList(byzantineValidators_); } else { return byzantineValidatorsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public int getByzantineValidatorsCount() { if (byzantineValidatorsBuilder_ == null) { return byzantineValidators_.size(); } else { return byzantineValidatorsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Evidence getByzantineValidators(int index) { if (byzantineValidatorsBuilder_ == null) { return byzantineValidators_.get(index); } else { return byzantineValidatorsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder setByzantineValidators( int index, tendermint.abci.Types.Evidence value) { if (byzantineValidatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureByzantineValidatorsIsMutable(); byzantineValidators_.set(index, value); onChanged(); } else { byzantineValidatorsBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder setByzantineValidators( int index, tendermint.abci.Types.Evidence.Builder builderForValue) { if (byzantineValidatorsBuilder_ == null) { ensureByzantineValidatorsIsMutable(); byzantineValidators_.set(index, builderForValue.build()); onChanged(); } else { byzantineValidatorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addByzantineValidators(tendermint.abci.Types.Evidence value) { if (byzantineValidatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureByzantineValidatorsIsMutable(); byzantineValidators_.add(value); onChanged(); } else { byzantineValidatorsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addByzantineValidators( int index, tendermint.abci.Types.Evidence value) { if (byzantineValidatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureByzantineValidatorsIsMutable(); byzantineValidators_.add(index, value); onChanged(); } else { byzantineValidatorsBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addByzantineValidators( tendermint.abci.Types.Evidence.Builder builderForValue) { if (byzantineValidatorsBuilder_ == null) { ensureByzantineValidatorsIsMutable(); byzantineValidators_.add(builderForValue.build()); onChanged(); } else { byzantineValidatorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addByzantineValidators( int index, tendermint.abci.Types.Evidence.Builder builderForValue) { if (byzantineValidatorsBuilder_ == null) { ensureByzantineValidatorsIsMutable(); byzantineValidators_.add(index, builderForValue.build()); onChanged(); } else { byzantineValidatorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder addAllByzantineValidators( java.lang.Iterable values) { if (byzantineValidatorsBuilder_ == null) { ensureByzantineValidatorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, byzantineValidators_); onChanged(); } else { byzantineValidatorsBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder clearByzantineValidators() { if (byzantineValidatorsBuilder_ == null) { byzantineValidators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { byzantineValidatorsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public Builder removeByzantineValidators(int index) { if (byzantineValidatorsBuilder_ == null) { ensureByzantineValidatorsIsMutable(); byzantineValidators_.remove(index); onChanged(); } else { byzantineValidatorsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Evidence.Builder getByzantineValidatorsBuilder( int index) { return getByzantineValidatorsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.EvidenceOrBuilder getByzantineValidatorsOrBuilder( int index) { if (byzantineValidatorsBuilder_ == null) { return byzantineValidators_.get(index); } else { return byzantineValidatorsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getByzantineValidatorsOrBuilderList() { if (byzantineValidatorsBuilder_ != null) { return byzantineValidatorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(byzantineValidators_); } } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Evidence.Builder addByzantineValidatorsBuilder() { return getByzantineValidatorsFieldBuilder().addBuilder( tendermint.abci.Types.Evidence.getDefaultInstance()); } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Evidence.Builder addByzantineValidatorsBuilder( int index) { return getByzantineValidatorsFieldBuilder().addBuilder( index, tendermint.abci.Types.Evidence.getDefaultInstance()); } /** * repeated .tendermint.abci.Evidence byzantine_validators = 4 [(.gogoproto.nullable) = false]; */ public java.util.List getByzantineValidatorsBuilderList() { return getByzantineValidatorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Evidence, tendermint.abci.Types.Evidence.Builder, tendermint.abci.Types.EvidenceOrBuilder> getByzantineValidatorsFieldBuilder() { if (byzantineValidatorsBuilder_ == null) { byzantineValidatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Evidence, tendermint.abci.Types.Evidence.Builder, tendermint.abci.Types.EvidenceOrBuilder>( byzantineValidators_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); byzantineValidators_ = null; } return byzantineValidatorsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestBeginBlock) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestBeginBlock) private static final tendermint.abci.Types.RequestBeginBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestBeginBlock(); } public static tendermint.abci.Types.RequestBeginBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestBeginBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestBeginBlock(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 tendermint.abci.Types.RequestBeginBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestCheckTxOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestCheckTx) com.google.protobuf.MessageOrBuilder { /** * bytes tx = 1; */ com.google.protobuf.ByteString getTx(); /** * .tendermint.abci.CheckTxType type = 2; */ int getTypeValue(); /** * .tendermint.abci.CheckTxType type = 2; */ tendermint.abci.Types.CheckTxType getType(); } /** * Protobuf type {@code tendermint.abci.RequestCheckTx} */ public static final class RequestCheckTx extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestCheckTx) RequestCheckTxOrBuilder { private static final long serialVersionUID = 0L; // Use RequestCheckTx.newBuilder() to construct. private RequestCheckTx(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestCheckTx() { tx_ = com.google.protobuf.ByteString.EMPTY; type_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestCheckTx( 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: { tx_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); type_ = rawValue; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestCheckTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCheckTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestCheckTx.class, tendermint.abci.Types.RequestCheckTx.Builder.class); } public static final int TX_FIELD_NUMBER = 1; private com.google.protobuf.ByteString tx_; /** * bytes tx = 1; */ public com.google.protobuf.ByteString getTx() { return tx_; } public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** * .tendermint.abci.CheckTxType type = 2; */ public int getTypeValue() { return type_; } /** * .tendermint.abci.CheckTxType type = 2; */ public tendermint.abci.Types.CheckTxType getType() { @SuppressWarnings("deprecation") tendermint.abci.Types.CheckTxType result = tendermint.abci.Types.CheckTxType.valueOf(type_); return result == null ? tendermint.abci.Types.CheckTxType.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 (!tx_.isEmpty()) { output.writeBytes(1, tx_); } if (type_ != tendermint.abci.Types.CheckTxType.NEW.getNumber()) { output.writeEnum(2, type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!tx_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, tx_); } if (type_ != tendermint.abci.Types.CheckTxType.NEW.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, type_); } 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 tendermint.abci.Types.RequestCheckTx)) { return super.equals(obj); } tendermint.abci.Types.RequestCheckTx other = (tendermint.abci.Types.RequestCheckTx) obj; boolean result = true; result = result && getTx() .equals(other.getTx()); result = result && type_ == other.type_; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestCheckTx parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCheckTx parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCheckTx parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCheckTx parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCheckTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCheckTx parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCheckTx parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCheckTx 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 tendermint.abci.Types.RequestCheckTx parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCheckTx 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 tendermint.abci.Types.RequestCheckTx parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCheckTx 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(tendermint.abci.Types.RequestCheckTx 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 tendermint.abci.RequestCheckTx} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestCheckTx) tendermint.abci.Types.RequestCheckTxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCheckTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCheckTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestCheckTx.class, tendermint.abci.Types.RequestCheckTx.Builder.class); } // Construct using tendermint.abci.Types.RequestCheckTx.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(); tx_ = com.google.protobuf.ByteString.EMPTY; type_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCheckTx_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestCheckTx getDefaultInstanceForType() { return tendermint.abci.Types.RequestCheckTx.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestCheckTx build() { tendermint.abci.Types.RequestCheckTx result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestCheckTx buildPartial() { tendermint.abci.Types.RequestCheckTx result = new tendermint.abci.Types.RequestCheckTx(this); result.tx_ = tx_; result.type_ = type_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestCheckTx) { return mergeFrom((tendermint.abci.Types.RequestCheckTx)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestCheckTx other) { if (other == tendermint.abci.Types.RequestCheckTx.getDefaultInstance()) return this; if (other.getTx() != com.google.protobuf.ByteString.EMPTY) { setTx(other.getTx()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } 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 { tendermint.abci.Types.RequestCheckTx parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestCheckTx) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString tx_ = com.google.protobuf.ByteString.EMPTY; /** * bytes tx = 1; */ public com.google.protobuf.ByteString getTx() { return tx_; } /** * bytes tx = 1; */ public Builder setTx(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); return this; } /** * bytes tx = 1; */ public Builder clearTx() { tx_ = getDefaultInstance().getTx(); onChanged(); return this; } private int type_ = 0; /** * .tendermint.abci.CheckTxType type = 2; */ public int getTypeValue() { return type_; } /** * .tendermint.abci.CheckTxType type = 2; */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .tendermint.abci.CheckTxType type = 2; */ public tendermint.abci.Types.CheckTxType getType() { @SuppressWarnings("deprecation") tendermint.abci.Types.CheckTxType result = tendermint.abci.Types.CheckTxType.valueOf(type_); return result == null ? tendermint.abci.Types.CheckTxType.UNRECOGNIZED : result; } /** * .tendermint.abci.CheckTxType type = 2; */ public Builder setType(tendermint.abci.Types.CheckTxType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .tendermint.abci.CheckTxType type = 2; */ public Builder clearType() { type_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestCheckTx) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestCheckTx) private static final tendermint.abci.Types.RequestCheckTx DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestCheckTx(); } public static tendermint.abci.Types.RequestCheckTx getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestCheckTx parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestCheckTx(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 tendermint.abci.Types.RequestCheckTx getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestDeliverTxOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestDeliverTx) com.google.protobuf.MessageOrBuilder { /** * bytes tx = 1; */ com.google.protobuf.ByteString getTx(); } /** * Protobuf type {@code tendermint.abci.RequestDeliverTx} */ public static final class RequestDeliverTx extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestDeliverTx) RequestDeliverTxOrBuilder { private static final long serialVersionUID = 0L; // Use RequestDeliverTx.newBuilder() to construct. private RequestDeliverTx(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestDeliverTx() { tx_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestDeliverTx( 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: { tx_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestDeliverTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestDeliverTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestDeliverTx.class, tendermint.abci.Types.RequestDeliverTx.Builder.class); } public static final int TX_FIELD_NUMBER = 1; private com.google.protobuf.ByteString tx_; /** * bytes tx = 1; */ public com.google.protobuf.ByteString getTx() { return tx_; } 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 (!tx_.isEmpty()) { output.writeBytes(1, tx_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!tx_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, tx_); } 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 tendermint.abci.Types.RequestDeliverTx)) { return super.equals(obj); } tendermint.abci.Types.RequestDeliverTx other = (tendermint.abci.Types.RequestDeliverTx) obj; boolean result = true; result = result && getTx() .equals(other.getTx()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestDeliverTx parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestDeliverTx parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestDeliverTx parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestDeliverTx parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestDeliverTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestDeliverTx parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestDeliverTx parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestDeliverTx 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 tendermint.abci.Types.RequestDeliverTx parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestDeliverTx 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 tendermint.abci.Types.RequestDeliverTx parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestDeliverTx 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(tendermint.abci.Types.RequestDeliverTx 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 tendermint.abci.RequestDeliverTx} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestDeliverTx) tendermint.abci.Types.RequestDeliverTxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestDeliverTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestDeliverTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestDeliverTx.class, tendermint.abci.Types.RequestDeliverTx.Builder.class); } // Construct using tendermint.abci.Types.RequestDeliverTx.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(); tx_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestDeliverTx_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestDeliverTx getDefaultInstanceForType() { return tendermint.abci.Types.RequestDeliverTx.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestDeliverTx build() { tendermint.abci.Types.RequestDeliverTx result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestDeliverTx buildPartial() { tendermint.abci.Types.RequestDeliverTx result = new tendermint.abci.Types.RequestDeliverTx(this); result.tx_ = tx_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestDeliverTx) { return mergeFrom((tendermint.abci.Types.RequestDeliverTx)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestDeliverTx other) { if (other == tendermint.abci.Types.RequestDeliverTx.getDefaultInstance()) return this; if (other.getTx() != com.google.protobuf.ByteString.EMPTY) { setTx(other.getTx()); } 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 { tendermint.abci.Types.RequestDeliverTx parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestDeliverTx) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString tx_ = com.google.protobuf.ByteString.EMPTY; /** * bytes tx = 1; */ public com.google.protobuf.ByteString getTx() { return tx_; } /** * bytes tx = 1; */ public Builder setTx(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); return this; } /** * bytes tx = 1; */ public Builder clearTx() { tx_ = getDefaultInstance().getTx(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestDeliverTx) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestDeliverTx) private static final tendermint.abci.Types.RequestDeliverTx DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestDeliverTx(); } public static tendermint.abci.Types.RequestDeliverTx getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestDeliverTx parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestDeliverTx(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 tendermint.abci.Types.RequestDeliverTx getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestEndBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestEndBlock) com.google.protobuf.MessageOrBuilder { /** * int64 height = 1; */ long getHeight(); } /** * Protobuf type {@code tendermint.abci.RequestEndBlock} */ public static final class RequestEndBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestEndBlock) RequestEndBlockOrBuilder { private static final long serialVersionUID = 0L; // Use RequestEndBlock.newBuilder() to construct. private RequestEndBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestEndBlock() { height_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestEndBlock( 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: { height_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestEndBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestEndBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestEndBlock.class, tendermint.abci.Types.RequestEndBlock.Builder.class); } public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** * int64 height = 1; */ 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.writeInt64(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 .computeInt64Size(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 tendermint.abci.Types.RequestEndBlock)) { return super.equals(obj); } tendermint.abci.Types.RequestEndBlock other = (tendermint.abci.Types.RequestEndBlock) obj; boolean result = true; result = result && (getHeight() == other.getHeight()); result = result && unknownFields.equals(other.unknownFields); return result; } @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 tendermint.abci.Types.RequestEndBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestEndBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestEndBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestEndBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestEndBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestEndBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestEndBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestEndBlock 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 tendermint.abci.Types.RequestEndBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestEndBlock 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 tendermint.abci.Types.RequestEndBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestEndBlock 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(tendermint.abci.Types.RequestEndBlock 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 tendermint.abci.RequestEndBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestEndBlock) tendermint.abci.Types.RequestEndBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestEndBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestEndBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestEndBlock.class, tendermint.abci.Types.RequestEndBlock.Builder.class); } // Construct using tendermint.abci.Types.RequestEndBlock.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 tendermint.abci.Types.internal_static_tendermint_abci_RequestEndBlock_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestEndBlock getDefaultInstanceForType() { return tendermint.abci.Types.RequestEndBlock.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestEndBlock build() { tendermint.abci.Types.RequestEndBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestEndBlock buildPartial() { tendermint.abci.Types.RequestEndBlock result = new tendermint.abci.Types.RequestEndBlock(this); result.height_ = height_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestEndBlock) { return mergeFrom((tendermint.abci.Types.RequestEndBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestEndBlock other) { if (other == tendermint.abci.Types.RequestEndBlock.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 { tendermint.abci.Types.RequestEndBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestEndBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long height_ ; /** * int64 height = 1; */ public long getHeight() { return height_; } /** * int64 height = 1; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** * int64 height = 1; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestEndBlock) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestEndBlock) private static final tendermint.abci.Types.RequestEndBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestEndBlock(); } public static tendermint.abci.Types.RequestEndBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestEndBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestEndBlock(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 tendermint.abci.Types.RequestEndBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestCommitOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestCommit) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code tendermint.abci.RequestCommit} */ public static final class RequestCommit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestCommit) RequestCommitOrBuilder { private static final long serialVersionUID = 0L; // Use RequestCommit.newBuilder() to construct. private RequestCommit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestCommit() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestCommit( 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 (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestCommit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCommit_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestCommit.class, tendermint.abci.Types.RequestCommit.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 tendermint.abci.Types.RequestCommit)) { return super.equals(obj); } tendermint.abci.Types.RequestCommit other = (tendermint.abci.Types.RequestCommit) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @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 tendermint.abci.Types.RequestCommit parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCommit parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCommit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCommit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCommit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestCommit parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestCommit parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCommit 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 tendermint.abci.Types.RequestCommit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCommit 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 tendermint.abci.Types.RequestCommit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestCommit 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(tendermint.abci.Types.RequestCommit 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 tendermint.abci.RequestCommit} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestCommit) tendermint.abci.Types.RequestCommitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCommit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestCommit_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestCommit.class, tendermint.abci.Types.RequestCommit.Builder.class); } // Construct using tendermint.abci.Types.RequestCommit.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 tendermint.abci.Types.internal_static_tendermint_abci_RequestCommit_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestCommit getDefaultInstanceForType() { return tendermint.abci.Types.RequestCommit.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestCommit build() { tendermint.abci.Types.RequestCommit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestCommit buildPartial() { tendermint.abci.Types.RequestCommit result = new tendermint.abci.Types.RequestCommit(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestCommit) { return mergeFrom((tendermint.abci.Types.RequestCommit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestCommit other) { if (other == tendermint.abci.Types.RequestCommit.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 { tendermint.abci.Types.RequestCommit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestCommit) 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.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestCommit) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestCommit) private static final tendermint.abci.Types.RequestCommit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestCommit(); } public static tendermint.abci.Types.RequestCommit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestCommit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestCommit(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 tendermint.abci.Types.RequestCommit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestListSnapshotsOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestListSnapshots) com.google.protobuf.MessageOrBuilder { } /** *
   * lists available snapshots
   * 
* * Protobuf type {@code tendermint.abci.RequestListSnapshots} */ public static final class RequestListSnapshots extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestListSnapshots) RequestListSnapshotsOrBuilder { private static final long serialVersionUID = 0L; // Use RequestListSnapshots.newBuilder() to construct. private RequestListSnapshots(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestListSnapshots() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestListSnapshots( 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 (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestListSnapshots_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestListSnapshots_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestListSnapshots.class, tendermint.abci.Types.RequestListSnapshots.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 tendermint.abci.Types.RequestListSnapshots)) { return super.equals(obj); } tendermint.abci.Types.RequestListSnapshots other = (tendermint.abci.Types.RequestListSnapshots) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @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 tendermint.abci.Types.RequestListSnapshots parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestListSnapshots parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestListSnapshots parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestListSnapshots parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestListSnapshots parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestListSnapshots parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestListSnapshots parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestListSnapshots 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 tendermint.abci.Types.RequestListSnapshots parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestListSnapshots 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 tendermint.abci.Types.RequestListSnapshots parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestListSnapshots 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(tendermint.abci.Types.RequestListSnapshots 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; } /** *
     * lists available snapshots
     * 
* * Protobuf type {@code tendermint.abci.RequestListSnapshots} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestListSnapshots) tendermint.abci.Types.RequestListSnapshotsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestListSnapshots_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestListSnapshots_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestListSnapshots.class, tendermint.abci.Types.RequestListSnapshots.Builder.class); } // Construct using tendermint.abci.Types.RequestListSnapshots.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 tendermint.abci.Types.internal_static_tendermint_abci_RequestListSnapshots_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestListSnapshots getDefaultInstanceForType() { return tendermint.abci.Types.RequestListSnapshots.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestListSnapshots build() { tendermint.abci.Types.RequestListSnapshots result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestListSnapshots buildPartial() { tendermint.abci.Types.RequestListSnapshots result = new tendermint.abci.Types.RequestListSnapshots(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestListSnapshots) { return mergeFrom((tendermint.abci.Types.RequestListSnapshots)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestListSnapshots other) { if (other == tendermint.abci.Types.RequestListSnapshots.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 { tendermint.abci.Types.RequestListSnapshots parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestListSnapshots) 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.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestListSnapshots) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestListSnapshots) private static final tendermint.abci.Types.RequestListSnapshots DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestListSnapshots(); } public static tendermint.abci.Types.RequestListSnapshots getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestListSnapshots parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestListSnapshots(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 tendermint.abci.Types.RequestListSnapshots getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestOfferSnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestOfferSnapshot) com.google.protobuf.MessageOrBuilder { /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ boolean hasSnapshot(); /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ tendermint.abci.Types.Snapshot getSnapshot(); /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ tendermint.abci.Types.SnapshotOrBuilder getSnapshotOrBuilder(); /** *
     * light client-verified app hash for snapshot height
     * 
* * bytes app_hash = 2; */ com.google.protobuf.ByteString getAppHash(); } /** *
   * offers a snapshot to the application
   * 
* * Protobuf type {@code tendermint.abci.RequestOfferSnapshot} */ public static final class RequestOfferSnapshot extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestOfferSnapshot) RequestOfferSnapshotOrBuilder { private static final long serialVersionUID = 0L; // Use RequestOfferSnapshot.newBuilder() to construct. private RequestOfferSnapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestOfferSnapshot() { appHash_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestOfferSnapshot( 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: { tendermint.abci.Types.Snapshot.Builder subBuilder = null; if (snapshot_ != null) { subBuilder = snapshot_.toBuilder(); } snapshot_ = input.readMessage(tendermint.abci.Types.Snapshot.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(snapshot_); snapshot_ = subBuilder.buildPartial(); } break; } case 18: { appHash_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestOfferSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestOfferSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestOfferSnapshot.class, tendermint.abci.Types.RequestOfferSnapshot.Builder.class); } public static final int SNAPSHOT_FIELD_NUMBER = 1; private tendermint.abci.Types.Snapshot snapshot_; /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public boolean hasSnapshot() { return snapshot_ != null; } /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public tendermint.abci.Types.Snapshot getSnapshot() { return snapshot_ == null ? tendermint.abci.Types.Snapshot.getDefaultInstance() : snapshot_; } /** *
     * snapshot offered by peers
     * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public tendermint.abci.Types.SnapshotOrBuilder getSnapshotOrBuilder() { return getSnapshot(); } public static final int APP_HASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString appHash_; /** *
     * light client-verified app hash for snapshot height
     * 
* * bytes app_hash = 2; */ public com.google.protobuf.ByteString getAppHash() { return appHash_; } 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 (snapshot_ != null) { output.writeMessage(1, getSnapshot()); } if (!appHash_.isEmpty()) { output.writeBytes(2, appHash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (snapshot_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSnapshot()); } if (!appHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, appHash_); } 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 tendermint.abci.Types.RequestOfferSnapshot)) { return super.equals(obj); } tendermint.abci.Types.RequestOfferSnapshot other = (tendermint.abci.Types.RequestOfferSnapshot) obj; boolean result = true; result = result && (hasSnapshot() == other.hasSnapshot()); if (hasSnapshot()) { result = result && getSnapshot() .equals(other.getSnapshot()); } result = result && getAppHash() .equals(other.getAppHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSnapshot()) { hash = (37 * hash) + SNAPSHOT_FIELD_NUMBER; hash = (53 * hash) + getSnapshot().hashCode(); } hash = (37 * hash) + APP_HASH_FIELD_NUMBER; hash = (53 * hash) + getAppHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestOfferSnapshot parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestOfferSnapshot 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 tendermint.abci.Types.RequestOfferSnapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestOfferSnapshot 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 tendermint.abci.Types.RequestOfferSnapshot parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestOfferSnapshot 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(tendermint.abci.Types.RequestOfferSnapshot 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; } /** *
     * offers a snapshot to the application
     * 
* * Protobuf type {@code tendermint.abci.RequestOfferSnapshot} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestOfferSnapshot) tendermint.abci.Types.RequestOfferSnapshotOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestOfferSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestOfferSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestOfferSnapshot.class, tendermint.abci.Types.RequestOfferSnapshot.Builder.class); } // Construct using tendermint.abci.Types.RequestOfferSnapshot.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 (snapshotBuilder_ == null) { snapshot_ = null; } else { snapshot_ = null; snapshotBuilder_ = null; } appHash_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestOfferSnapshot_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestOfferSnapshot getDefaultInstanceForType() { return tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestOfferSnapshot build() { tendermint.abci.Types.RequestOfferSnapshot result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestOfferSnapshot buildPartial() { tendermint.abci.Types.RequestOfferSnapshot result = new tendermint.abci.Types.RequestOfferSnapshot(this); if (snapshotBuilder_ == null) { result.snapshot_ = snapshot_; } else { result.snapshot_ = snapshotBuilder_.build(); } result.appHash_ = appHash_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestOfferSnapshot) { return mergeFrom((tendermint.abci.Types.RequestOfferSnapshot)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestOfferSnapshot other) { if (other == tendermint.abci.Types.RequestOfferSnapshot.getDefaultInstance()) return this; if (other.hasSnapshot()) { mergeSnapshot(other.getSnapshot()); } if (other.getAppHash() != com.google.protobuf.ByteString.EMPTY) { setAppHash(other.getAppHash()); } 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 { tendermint.abci.Types.RequestOfferSnapshot parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestOfferSnapshot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private tendermint.abci.Types.Snapshot snapshot_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder> snapshotBuilder_; /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public boolean hasSnapshot() { return snapshotBuilder_ != null || snapshot_ != null; } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public tendermint.abci.Types.Snapshot getSnapshot() { if (snapshotBuilder_ == null) { return snapshot_ == null ? tendermint.abci.Types.Snapshot.getDefaultInstance() : snapshot_; } else { return snapshotBuilder_.getMessage(); } } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public Builder setSnapshot(tendermint.abci.Types.Snapshot value) { if (snapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snapshot_ = value; onChanged(); } else { snapshotBuilder_.setMessage(value); } return this; } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public Builder setSnapshot( tendermint.abci.Types.Snapshot.Builder builderForValue) { if (snapshotBuilder_ == null) { snapshot_ = builderForValue.build(); onChanged(); } else { snapshotBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public Builder mergeSnapshot(tendermint.abci.Types.Snapshot value) { if (snapshotBuilder_ == null) { if (snapshot_ != null) { snapshot_ = tendermint.abci.Types.Snapshot.newBuilder(snapshot_).mergeFrom(value).buildPartial(); } else { snapshot_ = value; } onChanged(); } else { snapshotBuilder_.mergeFrom(value); } return this; } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public Builder clearSnapshot() { if (snapshotBuilder_ == null) { snapshot_ = null; onChanged(); } else { snapshot_ = null; snapshotBuilder_ = null; } return this; } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public tendermint.abci.Types.Snapshot.Builder getSnapshotBuilder() { onChanged(); return getSnapshotFieldBuilder().getBuilder(); } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ public tendermint.abci.Types.SnapshotOrBuilder getSnapshotOrBuilder() { if (snapshotBuilder_ != null) { return snapshotBuilder_.getMessageOrBuilder(); } else { return snapshot_ == null ? tendermint.abci.Types.Snapshot.getDefaultInstance() : snapshot_; } } /** *
       * snapshot offered by peers
       * 
* * .tendermint.abci.Snapshot snapshot = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder> getSnapshotFieldBuilder() { if (snapshotBuilder_ == null) { snapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder>( getSnapshot(), getParentForChildren(), isClean()); snapshot_ = null; } return snapshotBuilder_; } private com.google.protobuf.ByteString appHash_ = com.google.protobuf.ByteString.EMPTY; /** *
       * light client-verified app hash for snapshot height
       * 
* * bytes app_hash = 2; */ public com.google.protobuf.ByteString getAppHash() { return appHash_; } /** *
       * light client-verified app hash for snapshot height
       * 
* * bytes app_hash = 2; */ public Builder setAppHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appHash_ = value; onChanged(); return this; } /** *
       * light client-verified app hash for snapshot height
       * 
* * bytes app_hash = 2; */ public Builder clearAppHash() { appHash_ = getDefaultInstance().getAppHash(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestOfferSnapshot) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestOfferSnapshot) private static final tendermint.abci.Types.RequestOfferSnapshot DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestOfferSnapshot(); } public static tendermint.abci.Types.RequestOfferSnapshot getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestOfferSnapshot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestOfferSnapshot(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 tendermint.abci.Types.RequestOfferSnapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestLoadSnapshotChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestLoadSnapshotChunk) com.google.protobuf.MessageOrBuilder { /** * uint64 height = 1; */ long getHeight(); /** * uint32 format = 2; */ int getFormat(); /** * uint32 chunk = 3; */ int getChunk(); } /** *
   * loads a snapshot chunk
   * 
* * Protobuf type {@code tendermint.abci.RequestLoadSnapshotChunk} */ public static final class RequestLoadSnapshotChunk extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestLoadSnapshotChunk) RequestLoadSnapshotChunkOrBuilder { private static final long serialVersionUID = 0L; // Use RequestLoadSnapshotChunk.newBuilder() to construct. private RequestLoadSnapshotChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestLoadSnapshotChunk() { height_ = 0L; format_ = 0; chunk_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestLoadSnapshotChunk( 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: { height_ = input.readUInt64(); break; } case 16: { format_ = input.readUInt32(); break; } case 24: { chunk_ = input.readUInt32(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestLoadSnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestLoadSnapshotChunk.class, tendermint.abci.Types.RequestLoadSnapshotChunk.Builder.class); } public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** * uint64 height = 1; */ public long getHeight() { return height_; } public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** * uint32 format = 2; */ public int getFormat() { return format_; } public static final int CHUNK_FIELD_NUMBER = 3; private int chunk_; /** * uint32 chunk = 3; */ public int getChunk() { return chunk_; } 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 (format_ != 0) { output.writeUInt32(2, format_); } if (chunk_ != 0) { output.writeUInt32(3, chunk_); } 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 (format_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, format_); } if (chunk_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, chunk_); } 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 tendermint.abci.Types.RequestLoadSnapshotChunk)) { return super.equals(obj); } tendermint.abci.Types.RequestLoadSnapshotChunk other = (tendermint.abci.Types.RequestLoadSnapshotChunk) obj; boolean result = true; result = result && (getHeight() == other.getHeight()); result = result && (getFormat() == other.getFormat()); result = result && (getChunk() == other.getChunk()); result = result && unknownFields.equals(other.unknownFields); return result; } @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) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat(); hash = (37 * hash) + CHUNK_FIELD_NUMBER; hash = (53 * hash) + getChunk(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestLoadSnapshotChunk 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 tendermint.abci.Types.RequestLoadSnapshotChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestLoadSnapshotChunk 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 tendermint.abci.Types.RequestLoadSnapshotChunk parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestLoadSnapshotChunk 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(tendermint.abci.Types.RequestLoadSnapshotChunk 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; } /** *
     * loads a snapshot chunk
     * 
* * Protobuf type {@code tendermint.abci.RequestLoadSnapshotChunk} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestLoadSnapshotChunk) tendermint.abci.Types.RequestLoadSnapshotChunkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestLoadSnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestLoadSnapshotChunk.class, tendermint.abci.Types.RequestLoadSnapshotChunk.Builder.class); } // Construct using tendermint.abci.Types.RequestLoadSnapshotChunk.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; format_ = 0; chunk_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestLoadSnapshotChunk getDefaultInstanceForType() { return tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestLoadSnapshotChunk build() { tendermint.abci.Types.RequestLoadSnapshotChunk result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestLoadSnapshotChunk buildPartial() { tendermint.abci.Types.RequestLoadSnapshotChunk result = new tendermint.abci.Types.RequestLoadSnapshotChunk(this); result.height_ = height_; result.format_ = format_; result.chunk_ = chunk_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestLoadSnapshotChunk) { return mergeFrom((tendermint.abci.Types.RequestLoadSnapshotChunk)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestLoadSnapshotChunk other) { if (other == tendermint.abci.Types.RequestLoadSnapshotChunk.getDefaultInstance()) return this; if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (other.getFormat() != 0) { setFormat(other.getFormat()); } if (other.getChunk() != 0) { setChunk(other.getChunk()); } 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 { tendermint.abci.Types.RequestLoadSnapshotChunk parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestLoadSnapshotChunk) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long height_ ; /** * uint64 height = 1; */ public long getHeight() { return height_; } /** * uint64 height = 1; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** * uint64 height = 1; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private int format_ ; /** * uint32 format = 2; */ public int getFormat() { return format_; } /** * uint32 format = 2; */ public Builder setFormat(int value) { format_ = value; onChanged(); return this; } /** * uint32 format = 2; */ public Builder clearFormat() { format_ = 0; onChanged(); return this; } private int chunk_ ; /** * uint32 chunk = 3; */ public int getChunk() { return chunk_; } /** * uint32 chunk = 3; */ public Builder setChunk(int value) { chunk_ = value; onChanged(); return this; } /** * uint32 chunk = 3; */ public Builder clearChunk() { chunk_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestLoadSnapshotChunk) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestLoadSnapshotChunk) private static final tendermint.abci.Types.RequestLoadSnapshotChunk DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestLoadSnapshotChunk(); } public static tendermint.abci.Types.RequestLoadSnapshotChunk getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestLoadSnapshotChunk parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestLoadSnapshotChunk(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 tendermint.abci.Types.RequestLoadSnapshotChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RequestApplySnapshotChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.RequestApplySnapshotChunk) com.google.protobuf.MessageOrBuilder { /** * uint32 index = 1; */ int getIndex(); /** * bytes chunk = 2; */ com.google.protobuf.ByteString getChunk(); /** * string sender = 3; */ java.lang.String getSender(); /** * string sender = 3; */ com.google.protobuf.ByteString getSenderBytes(); } /** *
   * Applies a snapshot chunk
   * 
* * Protobuf type {@code tendermint.abci.RequestApplySnapshotChunk} */ public static final class RequestApplySnapshotChunk extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.RequestApplySnapshotChunk) RequestApplySnapshotChunkOrBuilder { private static final long serialVersionUID = 0L; // Use RequestApplySnapshotChunk.newBuilder() to construct. private RequestApplySnapshotChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RequestApplySnapshotChunk() { index_ = 0; chunk_ = com.google.protobuf.ByteString.EMPTY; sender_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RequestApplySnapshotChunk( 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: { index_ = input.readUInt32(); break; } case 18: { chunk_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); sender_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestApplySnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestApplySnapshotChunk.class, tendermint.abci.Types.RequestApplySnapshotChunk.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** * uint32 index = 1; */ public int getIndex() { return index_; } public static final int CHUNK_FIELD_NUMBER = 2; private com.google.protobuf.ByteString chunk_; /** * bytes chunk = 2; */ public com.google.protobuf.ByteString getChunk() { return chunk_; } public static final int SENDER_FIELD_NUMBER = 3; private volatile java.lang.Object sender_; /** * string sender = 3; */ public java.lang.String getSender() { java.lang.Object ref = sender_; 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(); sender_ = s; return s; } } /** * string sender = 3; */ public com.google.protobuf.ByteString getSenderBytes() { java.lang.Object ref = sender_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sender_ = 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 (index_ != 0) { output.writeUInt32(1, index_); } if (!chunk_.isEmpty()) { output.writeBytes(2, chunk_); } if (!getSenderBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sender_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (index_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, index_); } if (!chunk_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, chunk_); } if (!getSenderBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sender_); } 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 tendermint.abci.Types.RequestApplySnapshotChunk)) { return super.equals(obj); } tendermint.abci.Types.RequestApplySnapshotChunk other = (tendermint.abci.Types.RequestApplySnapshotChunk) obj; boolean result = true; result = result && (getIndex() == other.getIndex()); result = result && getChunk() .equals(other.getChunk()); result = result && getSender() .equals(other.getSender()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); hash = (37 * hash) + CHUNK_FIELD_NUMBER; hash = (53 * hash) + getChunk().hashCode(); hash = (37 * hash) + SENDER_FIELD_NUMBER; hash = (53 * hash) + getSender().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.RequestApplySnapshotChunk parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestApplySnapshotChunk 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 tendermint.abci.Types.RequestApplySnapshotChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestApplySnapshotChunk 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 tendermint.abci.Types.RequestApplySnapshotChunk parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.RequestApplySnapshotChunk 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(tendermint.abci.Types.RequestApplySnapshotChunk 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; } /** *
     * Applies a snapshot chunk
     * 
* * Protobuf type {@code tendermint.abci.RequestApplySnapshotChunk} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.RequestApplySnapshotChunk) tendermint.abci.Types.RequestApplySnapshotChunkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestApplySnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.RequestApplySnapshotChunk.class, tendermint.abci.Types.RequestApplySnapshotChunk.Builder.class); } // Construct using tendermint.abci.Types.RequestApplySnapshotChunk.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(); index_ = 0; chunk_ = com.google.protobuf.ByteString.EMPTY; sender_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor; } @java.lang.Override public tendermint.abci.Types.RequestApplySnapshotChunk getDefaultInstanceForType() { return tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.RequestApplySnapshotChunk build() { tendermint.abci.Types.RequestApplySnapshotChunk result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.RequestApplySnapshotChunk buildPartial() { tendermint.abci.Types.RequestApplySnapshotChunk result = new tendermint.abci.Types.RequestApplySnapshotChunk(this); result.index_ = index_; result.chunk_ = chunk_; result.sender_ = sender_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.RequestApplySnapshotChunk) { return mergeFrom((tendermint.abci.Types.RequestApplySnapshotChunk)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.RequestApplySnapshotChunk other) { if (other == tendermint.abci.Types.RequestApplySnapshotChunk.getDefaultInstance()) return this; if (other.getIndex() != 0) { setIndex(other.getIndex()); } if (other.getChunk() != com.google.protobuf.ByteString.EMPTY) { setChunk(other.getChunk()); } if (!other.getSender().isEmpty()) { sender_ = other.sender_; 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 { tendermint.abci.Types.RequestApplySnapshotChunk parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.RequestApplySnapshotChunk) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int index_ ; /** * uint32 index = 1; */ public int getIndex() { return index_; } /** * uint32 index = 1; */ public Builder setIndex(int value) { index_ = value; onChanged(); return this; } /** * uint32 index = 1; */ public Builder clearIndex() { index_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString chunk_ = com.google.protobuf.ByteString.EMPTY; /** * bytes chunk = 2; */ public com.google.protobuf.ByteString getChunk() { return chunk_; } /** * bytes chunk = 2; */ public Builder setChunk(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } chunk_ = value; onChanged(); return this; } /** * bytes chunk = 2; */ public Builder clearChunk() { chunk_ = getDefaultInstance().getChunk(); onChanged(); return this; } private java.lang.Object sender_ = ""; /** * string sender = 3; */ public java.lang.String getSender() { java.lang.Object ref = sender_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sender_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sender = 3; */ public com.google.protobuf.ByteString getSenderBytes() { java.lang.Object ref = sender_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sender_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sender = 3; */ public Builder setSender( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sender_ = value; onChanged(); return this; } /** * string sender = 3; */ public Builder clearSender() { sender_ = getDefaultInstance().getSender(); onChanged(); return this; } /** * string sender = 3; */ public Builder setSenderBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sender_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.RequestApplySnapshotChunk) } // @@protoc_insertion_point(class_scope:tendermint.abci.RequestApplySnapshotChunk) private static final tendermint.abci.Types.RequestApplySnapshotChunk DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.RequestApplySnapshotChunk(); } public static tendermint.abci.Types.RequestApplySnapshotChunk getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RequestApplySnapshotChunk parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RequestApplySnapshotChunk(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 tendermint.abci.Types.RequestApplySnapshotChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.Response) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.ResponseException exception = 1; */ boolean hasException(); /** * .tendermint.abci.ResponseException exception = 1; */ tendermint.abci.Types.ResponseException getException(); /** * .tendermint.abci.ResponseException exception = 1; */ tendermint.abci.Types.ResponseExceptionOrBuilder getExceptionOrBuilder(); /** * .tendermint.abci.ResponseEcho echo = 2; */ boolean hasEcho(); /** * .tendermint.abci.ResponseEcho echo = 2; */ tendermint.abci.Types.ResponseEcho getEcho(); /** * .tendermint.abci.ResponseEcho echo = 2; */ tendermint.abci.Types.ResponseEchoOrBuilder getEchoOrBuilder(); /** * .tendermint.abci.ResponseFlush flush = 3; */ boolean hasFlush(); /** * .tendermint.abci.ResponseFlush flush = 3; */ tendermint.abci.Types.ResponseFlush getFlush(); /** * .tendermint.abci.ResponseFlush flush = 3; */ tendermint.abci.Types.ResponseFlushOrBuilder getFlushOrBuilder(); /** * .tendermint.abci.ResponseInfo info = 4; */ boolean hasInfo(); /** * .tendermint.abci.ResponseInfo info = 4; */ tendermint.abci.Types.ResponseInfo getInfo(); /** * .tendermint.abci.ResponseInfo info = 4; */ tendermint.abci.Types.ResponseInfoOrBuilder getInfoOrBuilder(); /** * .tendermint.abci.ResponseSetOption set_option = 5; */ boolean hasSetOption(); /** * .tendermint.abci.ResponseSetOption set_option = 5; */ tendermint.abci.Types.ResponseSetOption getSetOption(); /** * .tendermint.abci.ResponseSetOption set_option = 5; */ tendermint.abci.Types.ResponseSetOptionOrBuilder getSetOptionOrBuilder(); /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ boolean hasInitChain(); /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ tendermint.abci.Types.ResponseInitChain getInitChain(); /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ tendermint.abci.Types.ResponseInitChainOrBuilder getInitChainOrBuilder(); /** * .tendermint.abci.ResponseQuery query = 7; */ boolean hasQuery(); /** * .tendermint.abci.ResponseQuery query = 7; */ tendermint.abci.Types.ResponseQuery getQuery(); /** * .tendermint.abci.ResponseQuery query = 7; */ tendermint.abci.Types.ResponseQueryOrBuilder getQueryOrBuilder(); /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ boolean hasBeginBlock(); /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ tendermint.abci.Types.ResponseBeginBlock getBeginBlock(); /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ tendermint.abci.Types.ResponseBeginBlockOrBuilder getBeginBlockOrBuilder(); /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ boolean hasCheckTx(); /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ tendermint.abci.Types.ResponseCheckTx getCheckTx(); /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ tendermint.abci.Types.ResponseCheckTxOrBuilder getCheckTxOrBuilder(); /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ boolean hasDeliverTx(); /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ tendermint.abci.Types.ResponseDeliverTx getDeliverTx(); /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ tendermint.abci.Types.ResponseDeliverTxOrBuilder getDeliverTxOrBuilder(); /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ boolean hasEndBlock(); /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ tendermint.abci.Types.ResponseEndBlock getEndBlock(); /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ tendermint.abci.Types.ResponseEndBlockOrBuilder getEndBlockOrBuilder(); /** * .tendermint.abci.ResponseCommit commit = 12; */ boolean hasCommit(); /** * .tendermint.abci.ResponseCommit commit = 12; */ tendermint.abci.Types.ResponseCommit getCommit(); /** * .tendermint.abci.ResponseCommit commit = 12; */ tendermint.abci.Types.ResponseCommitOrBuilder getCommitOrBuilder(); /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ boolean hasListSnapshots(); /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ tendermint.abci.Types.ResponseListSnapshots getListSnapshots(); /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ tendermint.abci.Types.ResponseListSnapshotsOrBuilder getListSnapshotsOrBuilder(); /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ boolean hasOfferSnapshot(); /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ tendermint.abci.Types.ResponseOfferSnapshot getOfferSnapshot(); /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ tendermint.abci.Types.ResponseOfferSnapshotOrBuilder getOfferSnapshotOrBuilder(); /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ boolean hasLoadSnapshotChunk(); /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ tendermint.abci.Types.ResponseLoadSnapshotChunk getLoadSnapshotChunk(); /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder(); /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ boolean hasApplySnapshotChunk(); /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ tendermint.abci.Types.ResponseApplySnapshotChunk getApplySnapshotChunk(); /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder(); public tendermint.abci.Types.Response.ValueCase getValueCase(); } /** * Protobuf type {@code tendermint.abci.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Response( 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: { tendermint.abci.Types.ResponseException.Builder subBuilder = null; if (valueCase_ == 1) { subBuilder = ((tendermint.abci.Types.ResponseException) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseException.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseException) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 1; break; } case 18: { tendermint.abci.Types.ResponseEcho.Builder subBuilder = null; if (valueCase_ == 2) { subBuilder = ((tendermint.abci.Types.ResponseEcho) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseEcho.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseEcho) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 2; break; } case 26: { tendermint.abci.Types.ResponseFlush.Builder subBuilder = null; if (valueCase_ == 3) { subBuilder = ((tendermint.abci.Types.ResponseFlush) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseFlush.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseFlush) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 3; break; } case 34: { tendermint.abci.Types.ResponseInfo.Builder subBuilder = null; if (valueCase_ == 4) { subBuilder = ((tendermint.abci.Types.ResponseInfo) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseInfo) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 4; break; } case 42: { tendermint.abci.Types.ResponseSetOption.Builder subBuilder = null; if (valueCase_ == 5) { subBuilder = ((tendermint.abci.Types.ResponseSetOption) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseSetOption.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseSetOption) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 5; break; } case 50: { tendermint.abci.Types.ResponseInitChain.Builder subBuilder = null; if (valueCase_ == 6) { subBuilder = ((tendermint.abci.Types.ResponseInitChain) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseInitChain.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseInitChain) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 6; break; } case 58: { tendermint.abci.Types.ResponseQuery.Builder subBuilder = null; if (valueCase_ == 7) { subBuilder = ((tendermint.abci.Types.ResponseQuery) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseQuery.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseQuery) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 7; break; } case 66: { tendermint.abci.Types.ResponseBeginBlock.Builder subBuilder = null; if (valueCase_ == 8) { subBuilder = ((tendermint.abci.Types.ResponseBeginBlock) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseBeginBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseBeginBlock) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 8; break; } case 74: { tendermint.abci.Types.ResponseCheckTx.Builder subBuilder = null; if (valueCase_ == 9) { subBuilder = ((tendermint.abci.Types.ResponseCheckTx) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseCheckTx.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseCheckTx) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 9; break; } case 82: { tendermint.abci.Types.ResponseDeliverTx.Builder subBuilder = null; if (valueCase_ == 10) { subBuilder = ((tendermint.abci.Types.ResponseDeliverTx) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseDeliverTx.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseDeliverTx) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 10; break; } case 90: { tendermint.abci.Types.ResponseEndBlock.Builder subBuilder = null; if (valueCase_ == 11) { subBuilder = ((tendermint.abci.Types.ResponseEndBlock) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseEndBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseEndBlock) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 11; break; } case 98: { tendermint.abci.Types.ResponseCommit.Builder subBuilder = null; if (valueCase_ == 12) { subBuilder = ((tendermint.abci.Types.ResponseCommit) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseCommit.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseCommit) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 12; break; } case 106: { tendermint.abci.Types.ResponseListSnapshots.Builder subBuilder = null; if (valueCase_ == 13) { subBuilder = ((tendermint.abci.Types.ResponseListSnapshots) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseListSnapshots.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseListSnapshots) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 13; break; } case 114: { tendermint.abci.Types.ResponseOfferSnapshot.Builder subBuilder = null; if (valueCase_ == 14) { subBuilder = ((tendermint.abci.Types.ResponseOfferSnapshot) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseOfferSnapshot.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseOfferSnapshot) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 14; break; } case 122: { tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder subBuilder = null; if (valueCase_ == 15) { subBuilder = ((tendermint.abci.Types.ResponseLoadSnapshotChunk) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseLoadSnapshotChunk.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseLoadSnapshotChunk) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 15; break; } case 130: { tendermint.abci.Types.ResponseApplySnapshotChunk.Builder subBuilder = null; if (valueCase_ == 16) { subBuilder = ((tendermint.abci.Types.ResponseApplySnapshotChunk) value_).toBuilder(); } value_ = input.readMessage(tendermint.abci.Types.ResponseApplySnapshotChunk.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((tendermint.abci.Types.ResponseApplySnapshotChunk) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 16; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Response.class, tendermint.abci.Types.Response.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; public enum ValueCase implements com.google.protobuf.Internal.EnumLite { EXCEPTION(1), ECHO(2), FLUSH(3), INFO(4), SET_OPTION(5), INIT_CHAIN(6), QUERY(7), BEGIN_BLOCK(8), CHECK_TX(9), DELIVER_TX(10), END_BLOCK(11), COMMIT(12), LIST_SNAPSHOTS(13), OFFER_SNAPSHOT(14), LOAD_SNAPSHOT_CHUNK(15), APPLY_SNAPSHOT_CHUNK(16), VALUE_NOT_SET(0); private final int value; private ValueCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ValueCase valueOf(int value) { return forNumber(value); } public static ValueCase forNumber(int value) { switch (value) { case 1: return EXCEPTION; case 2: return ECHO; case 3: return FLUSH; case 4: return INFO; case 5: return SET_OPTION; case 6: return INIT_CHAIN; case 7: return QUERY; case 8: return BEGIN_BLOCK; case 9: return CHECK_TX; case 10: return DELIVER_TX; case 11: return END_BLOCK; case 12: return COMMIT; case 13: return LIST_SNAPSHOTS; case 14: return OFFER_SNAPSHOT; case 15: return LOAD_SNAPSHOT_CHUNK; case 16: return APPLY_SNAPSHOT_CHUNK; case 0: return VALUE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public static final int EXCEPTION_FIELD_NUMBER = 1; /** * .tendermint.abci.ResponseException exception = 1; */ public boolean hasException() { return valueCase_ == 1; } /** * .tendermint.abci.ResponseException exception = 1; */ public tendermint.abci.Types.ResponseException getException() { if (valueCase_ == 1) { return (tendermint.abci.Types.ResponseException) value_; } return tendermint.abci.Types.ResponseException.getDefaultInstance(); } /** * .tendermint.abci.ResponseException exception = 1; */ public tendermint.abci.Types.ResponseExceptionOrBuilder getExceptionOrBuilder() { if (valueCase_ == 1) { return (tendermint.abci.Types.ResponseException) value_; } return tendermint.abci.Types.ResponseException.getDefaultInstance(); } public static final int ECHO_FIELD_NUMBER = 2; /** * .tendermint.abci.ResponseEcho echo = 2; */ public boolean hasEcho() { return valueCase_ == 2; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public tendermint.abci.Types.ResponseEcho getEcho() { if (valueCase_ == 2) { return (tendermint.abci.Types.ResponseEcho) value_; } return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } /** * .tendermint.abci.ResponseEcho echo = 2; */ public tendermint.abci.Types.ResponseEchoOrBuilder getEchoOrBuilder() { if (valueCase_ == 2) { return (tendermint.abci.Types.ResponseEcho) value_; } return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } public static final int FLUSH_FIELD_NUMBER = 3; /** * .tendermint.abci.ResponseFlush flush = 3; */ public boolean hasFlush() { return valueCase_ == 3; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public tendermint.abci.Types.ResponseFlush getFlush() { if (valueCase_ == 3) { return (tendermint.abci.Types.ResponseFlush) value_; } return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } /** * .tendermint.abci.ResponseFlush flush = 3; */ public tendermint.abci.Types.ResponseFlushOrBuilder getFlushOrBuilder() { if (valueCase_ == 3) { return (tendermint.abci.Types.ResponseFlush) value_; } return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } public static final int INFO_FIELD_NUMBER = 4; /** * .tendermint.abci.ResponseInfo info = 4; */ public boolean hasInfo() { return valueCase_ == 4; } /** * .tendermint.abci.ResponseInfo info = 4; */ public tendermint.abci.Types.ResponseInfo getInfo() { if (valueCase_ == 4) { return (tendermint.abci.Types.ResponseInfo) value_; } return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } /** * .tendermint.abci.ResponseInfo info = 4; */ public tendermint.abci.Types.ResponseInfoOrBuilder getInfoOrBuilder() { if (valueCase_ == 4) { return (tendermint.abci.Types.ResponseInfo) value_; } return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } public static final int SET_OPTION_FIELD_NUMBER = 5; /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public boolean hasSetOption() { return valueCase_ == 5; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public tendermint.abci.Types.ResponseSetOption getSetOption() { if (valueCase_ == 5) { return (tendermint.abci.Types.ResponseSetOption) value_; } return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public tendermint.abci.Types.ResponseSetOptionOrBuilder getSetOptionOrBuilder() { if (valueCase_ == 5) { return (tendermint.abci.Types.ResponseSetOption) value_; } return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } public static final int INIT_CHAIN_FIELD_NUMBER = 6; /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public boolean hasInitChain() { return valueCase_ == 6; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public tendermint.abci.Types.ResponseInitChain getInitChain() { if (valueCase_ == 6) { return (tendermint.abci.Types.ResponseInitChain) value_; } return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public tendermint.abci.Types.ResponseInitChainOrBuilder getInitChainOrBuilder() { if (valueCase_ == 6) { return (tendermint.abci.Types.ResponseInitChain) value_; } return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } public static final int QUERY_FIELD_NUMBER = 7; /** * .tendermint.abci.ResponseQuery query = 7; */ public boolean hasQuery() { return valueCase_ == 7; } /** * .tendermint.abci.ResponseQuery query = 7; */ public tendermint.abci.Types.ResponseQuery getQuery() { if (valueCase_ == 7) { return (tendermint.abci.Types.ResponseQuery) value_; } return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } /** * .tendermint.abci.ResponseQuery query = 7; */ public tendermint.abci.Types.ResponseQueryOrBuilder getQueryOrBuilder() { if (valueCase_ == 7) { return (tendermint.abci.Types.ResponseQuery) value_; } return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } public static final int BEGIN_BLOCK_FIELD_NUMBER = 8; /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public boolean hasBeginBlock() { return valueCase_ == 8; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public tendermint.abci.Types.ResponseBeginBlock getBeginBlock() { if (valueCase_ == 8) { return (tendermint.abci.Types.ResponseBeginBlock) value_; } return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public tendermint.abci.Types.ResponseBeginBlockOrBuilder getBeginBlockOrBuilder() { if (valueCase_ == 8) { return (tendermint.abci.Types.ResponseBeginBlock) value_; } return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } public static final int CHECK_TX_FIELD_NUMBER = 9; /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public boolean hasCheckTx() { return valueCase_ == 9; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public tendermint.abci.Types.ResponseCheckTx getCheckTx() { if (valueCase_ == 9) { return (tendermint.abci.Types.ResponseCheckTx) value_; } return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public tendermint.abci.Types.ResponseCheckTxOrBuilder getCheckTxOrBuilder() { if (valueCase_ == 9) { return (tendermint.abci.Types.ResponseCheckTx) value_; } return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } public static final int DELIVER_TX_FIELD_NUMBER = 10; /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public boolean hasDeliverTx() { return valueCase_ == 10; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public tendermint.abci.Types.ResponseDeliverTx getDeliverTx() { if (valueCase_ == 10) { return (tendermint.abci.Types.ResponseDeliverTx) value_; } return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public tendermint.abci.Types.ResponseDeliverTxOrBuilder getDeliverTxOrBuilder() { if (valueCase_ == 10) { return (tendermint.abci.Types.ResponseDeliverTx) value_; } return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } public static final int END_BLOCK_FIELD_NUMBER = 11; /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public boolean hasEndBlock() { return valueCase_ == 11; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public tendermint.abci.Types.ResponseEndBlock getEndBlock() { if (valueCase_ == 11) { return (tendermint.abci.Types.ResponseEndBlock) value_; } return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public tendermint.abci.Types.ResponseEndBlockOrBuilder getEndBlockOrBuilder() { if (valueCase_ == 11) { return (tendermint.abci.Types.ResponseEndBlock) value_; } return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } public static final int COMMIT_FIELD_NUMBER = 12; /** * .tendermint.abci.ResponseCommit commit = 12; */ public boolean hasCommit() { return valueCase_ == 12; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public tendermint.abci.Types.ResponseCommit getCommit() { if (valueCase_ == 12) { return (tendermint.abci.Types.ResponseCommit) value_; } return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } /** * .tendermint.abci.ResponseCommit commit = 12; */ public tendermint.abci.Types.ResponseCommitOrBuilder getCommitOrBuilder() { if (valueCase_ == 12) { return (tendermint.abci.Types.ResponseCommit) value_; } return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } public static final int LIST_SNAPSHOTS_FIELD_NUMBER = 13; /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public boolean hasListSnapshots() { return valueCase_ == 13; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public tendermint.abci.Types.ResponseListSnapshots getListSnapshots() { if (valueCase_ == 13) { return (tendermint.abci.Types.ResponseListSnapshots) value_; } return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public tendermint.abci.Types.ResponseListSnapshotsOrBuilder getListSnapshotsOrBuilder() { if (valueCase_ == 13) { return (tendermint.abci.Types.ResponseListSnapshots) value_; } return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } public static final int OFFER_SNAPSHOT_FIELD_NUMBER = 14; /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public boolean hasOfferSnapshot() { return valueCase_ == 14; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public tendermint.abci.Types.ResponseOfferSnapshot getOfferSnapshot() { if (valueCase_ == 14) { return (tendermint.abci.Types.ResponseOfferSnapshot) value_; } return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public tendermint.abci.Types.ResponseOfferSnapshotOrBuilder getOfferSnapshotOrBuilder() { if (valueCase_ == 14) { return (tendermint.abci.Types.ResponseOfferSnapshot) value_; } return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } public static final int LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER = 15; /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public boolean hasLoadSnapshotChunk() { return valueCase_ == 15; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public tendermint.abci.Types.ResponseLoadSnapshotChunk getLoadSnapshotChunk() { if (valueCase_ == 15) { return (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_; } return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder() { if (valueCase_ == 15) { return (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_; } return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } public static final int APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER = 16; /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public boolean hasApplySnapshotChunk() { return valueCase_ == 16; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public tendermint.abci.Types.ResponseApplySnapshotChunk getApplySnapshotChunk() { if (valueCase_ == 16) { return (tendermint.abci.Types.ResponseApplySnapshotChunk) value_; } return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder() { if (valueCase_ == 16) { return (tendermint.abci.Types.ResponseApplySnapshotChunk) value_; } return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } 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 (valueCase_ == 1) { output.writeMessage(1, (tendermint.abci.Types.ResponseException) value_); } if (valueCase_ == 2) { output.writeMessage(2, (tendermint.abci.Types.ResponseEcho) value_); } if (valueCase_ == 3) { output.writeMessage(3, (tendermint.abci.Types.ResponseFlush) value_); } if (valueCase_ == 4) { output.writeMessage(4, (tendermint.abci.Types.ResponseInfo) value_); } if (valueCase_ == 5) { output.writeMessage(5, (tendermint.abci.Types.ResponseSetOption) value_); } if (valueCase_ == 6) { output.writeMessage(6, (tendermint.abci.Types.ResponseInitChain) value_); } if (valueCase_ == 7) { output.writeMessage(7, (tendermint.abci.Types.ResponseQuery) value_); } if (valueCase_ == 8) { output.writeMessage(8, (tendermint.abci.Types.ResponseBeginBlock) value_); } if (valueCase_ == 9) { output.writeMessage(9, (tendermint.abci.Types.ResponseCheckTx) value_); } if (valueCase_ == 10) { output.writeMessage(10, (tendermint.abci.Types.ResponseDeliverTx) value_); } if (valueCase_ == 11) { output.writeMessage(11, (tendermint.abci.Types.ResponseEndBlock) value_); } if (valueCase_ == 12) { output.writeMessage(12, (tendermint.abci.Types.ResponseCommit) value_); } if (valueCase_ == 13) { output.writeMessage(13, (tendermint.abci.Types.ResponseListSnapshots) value_); } if (valueCase_ == 14) { output.writeMessage(14, (tendermint.abci.Types.ResponseOfferSnapshot) value_); } if (valueCase_ == 15) { output.writeMessage(15, (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_); } if (valueCase_ == 16) { output.writeMessage(16, (tendermint.abci.Types.ResponseApplySnapshotChunk) value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valueCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (tendermint.abci.Types.ResponseException) value_); } if (valueCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (tendermint.abci.Types.ResponseEcho) value_); } if (valueCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (tendermint.abci.Types.ResponseFlush) value_); } if (valueCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (tendermint.abci.Types.ResponseInfo) value_); } if (valueCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (tendermint.abci.Types.ResponseSetOption) value_); } if (valueCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (tendermint.abci.Types.ResponseInitChain) value_); } if (valueCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (tendermint.abci.Types.ResponseQuery) value_); } if (valueCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (tendermint.abci.Types.ResponseBeginBlock) value_); } if (valueCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (tendermint.abci.Types.ResponseCheckTx) value_); } if (valueCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (tendermint.abci.Types.ResponseDeliverTx) value_); } if (valueCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (tendermint.abci.Types.ResponseEndBlock) value_); } if (valueCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (tendermint.abci.Types.ResponseCommit) value_); } if (valueCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (tendermint.abci.Types.ResponseListSnapshots) value_); } if (valueCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (tendermint.abci.Types.ResponseOfferSnapshot) value_); } if (valueCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_); } if (valueCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (tendermint.abci.Types.ResponseApplySnapshotChunk) value_); } 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 tendermint.abci.Types.Response)) { return super.equals(obj); } tendermint.abci.Types.Response other = (tendermint.abci.Types.Response) obj; boolean result = true; result = result && getValueCase().equals( other.getValueCase()); if (!result) return false; switch (valueCase_) { case 1: result = result && getException() .equals(other.getException()); break; case 2: result = result && getEcho() .equals(other.getEcho()); break; case 3: result = result && getFlush() .equals(other.getFlush()); break; case 4: result = result && getInfo() .equals(other.getInfo()); break; case 5: result = result && getSetOption() .equals(other.getSetOption()); break; case 6: result = result && getInitChain() .equals(other.getInitChain()); break; case 7: result = result && getQuery() .equals(other.getQuery()); break; case 8: result = result && getBeginBlock() .equals(other.getBeginBlock()); break; case 9: result = result && getCheckTx() .equals(other.getCheckTx()); break; case 10: result = result && getDeliverTx() .equals(other.getDeliverTx()); break; case 11: result = result && getEndBlock() .equals(other.getEndBlock()); break; case 12: result = result && getCommit() .equals(other.getCommit()); break; case 13: result = result && getListSnapshots() .equals(other.getListSnapshots()); break; case 14: result = result && getOfferSnapshot() .equals(other.getOfferSnapshot()); break; case 15: result = result && getLoadSnapshotChunk() .equals(other.getLoadSnapshotChunk()); break; case 16: result = result && getApplySnapshotChunk() .equals(other.getApplySnapshotChunk()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (valueCase_) { case 1: hash = (37 * hash) + EXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getException().hashCode(); break; case 2: hash = (37 * hash) + ECHO_FIELD_NUMBER; hash = (53 * hash) + getEcho().hashCode(); break; case 3: hash = (37 * hash) + FLUSH_FIELD_NUMBER; hash = (53 * hash) + getFlush().hashCode(); break; case 4: hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); break; case 5: hash = (37 * hash) + SET_OPTION_FIELD_NUMBER; hash = (53 * hash) + getSetOption().hashCode(); break; case 6: hash = (37 * hash) + INIT_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getInitChain().hashCode(); break; case 7: hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQuery().hashCode(); break; case 8: hash = (37 * hash) + BEGIN_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getBeginBlock().hashCode(); break; case 9: hash = (37 * hash) + CHECK_TX_FIELD_NUMBER; hash = (53 * hash) + getCheckTx().hashCode(); break; case 10: hash = (37 * hash) + DELIVER_TX_FIELD_NUMBER; hash = (53 * hash) + getDeliverTx().hashCode(); break; case 11: hash = (37 * hash) + END_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getEndBlock().hashCode(); break; case 12: hash = (37 * hash) + COMMIT_FIELD_NUMBER; hash = (53 * hash) + getCommit().hashCode(); break; case 13: hash = (37 * hash) + LIST_SNAPSHOTS_FIELD_NUMBER; hash = (53 * hash) + getListSnapshots().hashCode(); break; case 14: hash = (37 * hash) + OFFER_SNAPSHOT_FIELD_NUMBER; hash = (53 * hash) + getOfferSnapshot().hashCode(); break; case 15: hash = (37 * hash) + LOAD_SNAPSHOT_CHUNK_FIELD_NUMBER; hash = (53 * hash) + getLoadSnapshotChunk().hashCode(); break; case 16: hash = (37 * hash) + APPLY_SNAPSHOT_CHUNK_FIELD_NUMBER; hash = (53 * hash) + getApplySnapshotChunk().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Response parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Response parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Response 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 tendermint.abci.Types.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.Response 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 tendermint.abci.Types.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Response 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(tendermint.abci.Types.Response 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 tendermint.abci.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.Response) tendermint.abci.Types.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Response.class, tendermint.abci.Types.Response.Builder.class); } // Construct using tendermint.abci.Types.Response.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(); valueCase_ = 0; value_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_Response_descriptor; } @java.lang.Override public tendermint.abci.Types.Response getDefaultInstanceForType() { return tendermint.abci.Types.Response.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.Response build() { tendermint.abci.Types.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.Response buildPartial() { tendermint.abci.Types.Response result = new tendermint.abci.Types.Response(this); if (valueCase_ == 1) { if (exceptionBuilder_ == null) { result.value_ = value_; } else { result.value_ = exceptionBuilder_.build(); } } if (valueCase_ == 2) { if (echoBuilder_ == null) { result.value_ = value_; } else { result.value_ = echoBuilder_.build(); } } if (valueCase_ == 3) { if (flushBuilder_ == null) { result.value_ = value_; } else { result.value_ = flushBuilder_.build(); } } if (valueCase_ == 4) { if (infoBuilder_ == null) { result.value_ = value_; } else { result.value_ = infoBuilder_.build(); } } if (valueCase_ == 5) { if (setOptionBuilder_ == null) { result.value_ = value_; } else { result.value_ = setOptionBuilder_.build(); } } if (valueCase_ == 6) { if (initChainBuilder_ == null) { result.value_ = value_; } else { result.value_ = initChainBuilder_.build(); } } if (valueCase_ == 7) { if (queryBuilder_ == null) { result.value_ = value_; } else { result.value_ = queryBuilder_.build(); } } if (valueCase_ == 8) { if (beginBlockBuilder_ == null) { result.value_ = value_; } else { result.value_ = beginBlockBuilder_.build(); } } if (valueCase_ == 9) { if (checkTxBuilder_ == null) { result.value_ = value_; } else { result.value_ = checkTxBuilder_.build(); } } if (valueCase_ == 10) { if (deliverTxBuilder_ == null) { result.value_ = value_; } else { result.value_ = deliverTxBuilder_.build(); } } if (valueCase_ == 11) { if (endBlockBuilder_ == null) { result.value_ = value_; } else { result.value_ = endBlockBuilder_.build(); } } if (valueCase_ == 12) { if (commitBuilder_ == null) { result.value_ = value_; } else { result.value_ = commitBuilder_.build(); } } if (valueCase_ == 13) { if (listSnapshotsBuilder_ == null) { result.value_ = value_; } else { result.value_ = listSnapshotsBuilder_.build(); } } if (valueCase_ == 14) { if (offerSnapshotBuilder_ == null) { result.value_ = value_; } else { result.value_ = offerSnapshotBuilder_.build(); } } if (valueCase_ == 15) { if (loadSnapshotChunkBuilder_ == null) { result.value_ = value_; } else { result.value_ = loadSnapshotChunkBuilder_.build(); } } if (valueCase_ == 16) { if (applySnapshotChunkBuilder_ == null) { result.value_ = value_; } else { result.value_ = applySnapshotChunkBuilder_.build(); } } result.valueCase_ = valueCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.Response) { return mergeFrom((tendermint.abci.Types.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.Response other) { if (other == tendermint.abci.Types.Response.getDefaultInstance()) return this; switch (other.getValueCase()) { case EXCEPTION: { mergeException(other.getException()); break; } case ECHO: { mergeEcho(other.getEcho()); break; } case FLUSH: { mergeFlush(other.getFlush()); break; } case INFO: { mergeInfo(other.getInfo()); break; } case SET_OPTION: { mergeSetOption(other.getSetOption()); break; } case INIT_CHAIN: { mergeInitChain(other.getInitChain()); break; } case QUERY: { mergeQuery(other.getQuery()); break; } case BEGIN_BLOCK: { mergeBeginBlock(other.getBeginBlock()); break; } case CHECK_TX: { mergeCheckTx(other.getCheckTx()); break; } case DELIVER_TX: { mergeDeliverTx(other.getDeliverTx()); break; } case END_BLOCK: { mergeEndBlock(other.getEndBlock()); break; } case COMMIT: { mergeCommit(other.getCommit()); break; } case LIST_SNAPSHOTS: { mergeListSnapshots(other.getListSnapshots()); break; } case OFFER_SNAPSHOT: { mergeOfferSnapshot(other.getOfferSnapshot()); break; } case LOAD_SNAPSHOT_CHUNK: { mergeLoadSnapshotChunk(other.getLoadSnapshotChunk()); break; } case APPLY_SNAPSHOT_CHUNK: { mergeApplySnapshotChunk(other.getApplySnapshotChunk()); break; } case VALUE_NOT_SET: { break; } } 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 { tendermint.abci.Types.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valueCase_ = 0; private java.lang.Object value_; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public Builder clearValue() { valueCase_ = 0; value_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseException, tendermint.abci.Types.ResponseException.Builder, tendermint.abci.Types.ResponseExceptionOrBuilder> exceptionBuilder_; /** * .tendermint.abci.ResponseException exception = 1; */ public boolean hasException() { return valueCase_ == 1; } /** * .tendermint.abci.ResponseException exception = 1; */ public tendermint.abci.Types.ResponseException getException() { if (exceptionBuilder_ == null) { if (valueCase_ == 1) { return (tendermint.abci.Types.ResponseException) value_; } return tendermint.abci.Types.ResponseException.getDefaultInstance(); } else { if (valueCase_ == 1) { return exceptionBuilder_.getMessage(); } return tendermint.abci.Types.ResponseException.getDefaultInstance(); } } /** * .tendermint.abci.ResponseException exception = 1; */ public Builder setException(tendermint.abci.Types.ResponseException value) { if (exceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { exceptionBuilder_.setMessage(value); } valueCase_ = 1; return this; } /** * .tendermint.abci.ResponseException exception = 1; */ public Builder setException( tendermint.abci.Types.ResponseException.Builder builderForValue) { if (exceptionBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { exceptionBuilder_.setMessage(builderForValue.build()); } valueCase_ = 1; return this; } /** * .tendermint.abci.ResponseException exception = 1; */ public Builder mergeException(tendermint.abci.Types.ResponseException value) { if (exceptionBuilder_ == null) { if (valueCase_ == 1 && value_ != tendermint.abci.Types.ResponseException.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseException.newBuilder((tendermint.abci.Types.ResponseException) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 1) { exceptionBuilder_.mergeFrom(value); } exceptionBuilder_.setMessage(value); } valueCase_ = 1; return this; } /** * .tendermint.abci.ResponseException exception = 1; */ public Builder clearException() { if (exceptionBuilder_ == null) { if (valueCase_ == 1) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 1) { valueCase_ = 0; value_ = null; } exceptionBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseException exception = 1; */ public tendermint.abci.Types.ResponseException.Builder getExceptionBuilder() { return getExceptionFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseException exception = 1; */ public tendermint.abci.Types.ResponseExceptionOrBuilder getExceptionOrBuilder() { if ((valueCase_ == 1) && (exceptionBuilder_ != null)) { return exceptionBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 1) { return (tendermint.abci.Types.ResponseException) value_; } return tendermint.abci.Types.ResponseException.getDefaultInstance(); } } /** * .tendermint.abci.ResponseException exception = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseException, tendermint.abci.Types.ResponseException.Builder, tendermint.abci.Types.ResponseExceptionOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { if (!(valueCase_ == 1)) { value_ = tendermint.abci.Types.ResponseException.getDefaultInstance(); } exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseException, tendermint.abci.Types.ResponseException.Builder, tendermint.abci.Types.ResponseExceptionOrBuilder>( (tendermint.abci.Types.ResponseException) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 1; onChanged();; return exceptionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEcho, tendermint.abci.Types.ResponseEcho.Builder, tendermint.abci.Types.ResponseEchoOrBuilder> echoBuilder_; /** * .tendermint.abci.ResponseEcho echo = 2; */ public boolean hasEcho() { return valueCase_ == 2; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public tendermint.abci.Types.ResponseEcho getEcho() { if (echoBuilder_ == null) { if (valueCase_ == 2) { return (tendermint.abci.Types.ResponseEcho) value_; } return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } else { if (valueCase_ == 2) { return echoBuilder_.getMessage(); } return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } } /** * .tendermint.abci.ResponseEcho echo = 2; */ public Builder setEcho(tendermint.abci.Types.ResponseEcho value) { if (echoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { echoBuilder_.setMessage(value); } valueCase_ = 2; return this; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public Builder setEcho( tendermint.abci.Types.ResponseEcho.Builder builderForValue) { if (echoBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { echoBuilder_.setMessage(builderForValue.build()); } valueCase_ = 2; return this; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public Builder mergeEcho(tendermint.abci.Types.ResponseEcho value) { if (echoBuilder_ == null) { if (valueCase_ == 2 && value_ != tendermint.abci.Types.ResponseEcho.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseEcho.newBuilder((tendermint.abci.Types.ResponseEcho) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 2) { echoBuilder_.mergeFrom(value); } echoBuilder_.setMessage(value); } valueCase_ = 2; return this; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public Builder clearEcho() { if (echoBuilder_ == null) { if (valueCase_ == 2) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 2) { valueCase_ = 0; value_ = null; } echoBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseEcho echo = 2; */ public tendermint.abci.Types.ResponseEcho.Builder getEchoBuilder() { return getEchoFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseEcho echo = 2; */ public tendermint.abci.Types.ResponseEchoOrBuilder getEchoOrBuilder() { if ((valueCase_ == 2) && (echoBuilder_ != null)) { return echoBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 2) { return (tendermint.abci.Types.ResponseEcho) value_; } return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } } /** * .tendermint.abci.ResponseEcho echo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEcho, tendermint.abci.Types.ResponseEcho.Builder, tendermint.abci.Types.ResponseEchoOrBuilder> getEchoFieldBuilder() { if (echoBuilder_ == null) { if (!(valueCase_ == 2)) { value_ = tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } echoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEcho, tendermint.abci.Types.ResponseEcho.Builder, tendermint.abci.Types.ResponseEchoOrBuilder>( (tendermint.abci.Types.ResponseEcho) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 2; onChanged();; return echoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseFlush, tendermint.abci.Types.ResponseFlush.Builder, tendermint.abci.Types.ResponseFlushOrBuilder> flushBuilder_; /** * .tendermint.abci.ResponseFlush flush = 3; */ public boolean hasFlush() { return valueCase_ == 3; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public tendermint.abci.Types.ResponseFlush getFlush() { if (flushBuilder_ == null) { if (valueCase_ == 3) { return (tendermint.abci.Types.ResponseFlush) value_; } return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } else { if (valueCase_ == 3) { return flushBuilder_.getMessage(); } return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } } /** * .tendermint.abci.ResponseFlush flush = 3; */ public Builder setFlush(tendermint.abci.Types.ResponseFlush value) { if (flushBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { flushBuilder_.setMessage(value); } valueCase_ = 3; return this; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public Builder setFlush( tendermint.abci.Types.ResponseFlush.Builder builderForValue) { if (flushBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { flushBuilder_.setMessage(builderForValue.build()); } valueCase_ = 3; return this; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public Builder mergeFlush(tendermint.abci.Types.ResponseFlush value) { if (flushBuilder_ == null) { if (valueCase_ == 3 && value_ != tendermint.abci.Types.ResponseFlush.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseFlush.newBuilder((tendermint.abci.Types.ResponseFlush) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 3) { flushBuilder_.mergeFrom(value); } flushBuilder_.setMessage(value); } valueCase_ = 3; return this; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public Builder clearFlush() { if (flushBuilder_ == null) { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; } flushBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseFlush flush = 3; */ public tendermint.abci.Types.ResponseFlush.Builder getFlushBuilder() { return getFlushFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseFlush flush = 3; */ public tendermint.abci.Types.ResponseFlushOrBuilder getFlushOrBuilder() { if ((valueCase_ == 3) && (flushBuilder_ != null)) { return flushBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 3) { return (tendermint.abci.Types.ResponseFlush) value_; } return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } } /** * .tendermint.abci.ResponseFlush flush = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseFlush, tendermint.abci.Types.ResponseFlush.Builder, tendermint.abci.Types.ResponseFlushOrBuilder> getFlushFieldBuilder() { if (flushBuilder_ == null) { if (!(valueCase_ == 3)) { value_ = tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } flushBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseFlush, tendermint.abci.Types.ResponseFlush.Builder, tendermint.abci.Types.ResponseFlushOrBuilder>( (tendermint.abci.Types.ResponseFlush) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 3; onChanged();; return flushBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInfo, tendermint.abci.Types.ResponseInfo.Builder, tendermint.abci.Types.ResponseInfoOrBuilder> infoBuilder_; /** * .tendermint.abci.ResponseInfo info = 4; */ public boolean hasInfo() { return valueCase_ == 4; } /** * .tendermint.abci.ResponseInfo info = 4; */ public tendermint.abci.Types.ResponseInfo getInfo() { if (infoBuilder_ == null) { if (valueCase_ == 4) { return (tendermint.abci.Types.ResponseInfo) value_; } return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } else { if (valueCase_ == 4) { return infoBuilder_.getMessage(); } return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } } /** * .tendermint.abci.ResponseInfo info = 4; */ public Builder setInfo(tendermint.abci.Types.ResponseInfo value) { if (infoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { infoBuilder_.setMessage(value); } valueCase_ = 4; return this; } /** * .tendermint.abci.ResponseInfo info = 4; */ public Builder setInfo( tendermint.abci.Types.ResponseInfo.Builder builderForValue) { if (infoBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { infoBuilder_.setMessage(builderForValue.build()); } valueCase_ = 4; return this; } /** * .tendermint.abci.ResponseInfo info = 4; */ public Builder mergeInfo(tendermint.abci.Types.ResponseInfo value) { if (infoBuilder_ == null) { if (valueCase_ == 4 && value_ != tendermint.abci.Types.ResponseInfo.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseInfo.newBuilder((tendermint.abci.Types.ResponseInfo) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 4) { infoBuilder_.mergeFrom(value); } infoBuilder_.setMessage(value); } valueCase_ = 4; return this; } /** * .tendermint.abci.ResponseInfo info = 4; */ public Builder clearInfo() { if (infoBuilder_ == null) { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; } infoBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseInfo info = 4; */ public tendermint.abci.Types.ResponseInfo.Builder getInfoBuilder() { return getInfoFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseInfo info = 4; */ public tendermint.abci.Types.ResponseInfoOrBuilder getInfoOrBuilder() { if ((valueCase_ == 4) && (infoBuilder_ != null)) { return infoBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 4) { return (tendermint.abci.Types.ResponseInfo) value_; } return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } } /** * .tendermint.abci.ResponseInfo info = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInfo, tendermint.abci.Types.ResponseInfo.Builder, tendermint.abci.Types.ResponseInfoOrBuilder> getInfoFieldBuilder() { if (infoBuilder_ == null) { if (!(valueCase_ == 4)) { value_ = tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInfo, tendermint.abci.Types.ResponseInfo.Builder, tendermint.abci.Types.ResponseInfoOrBuilder>( (tendermint.abci.Types.ResponseInfo) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 4; onChanged();; return infoBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseSetOption, tendermint.abci.Types.ResponseSetOption.Builder, tendermint.abci.Types.ResponseSetOptionOrBuilder> setOptionBuilder_; /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public boolean hasSetOption() { return valueCase_ == 5; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public tendermint.abci.Types.ResponseSetOption getSetOption() { if (setOptionBuilder_ == null) { if (valueCase_ == 5) { return (tendermint.abci.Types.ResponseSetOption) value_; } return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } else { if (valueCase_ == 5) { return setOptionBuilder_.getMessage(); } return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public Builder setSetOption(tendermint.abci.Types.ResponseSetOption value) { if (setOptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { setOptionBuilder_.setMessage(value); } valueCase_ = 5; return this; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public Builder setSetOption( tendermint.abci.Types.ResponseSetOption.Builder builderForValue) { if (setOptionBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { setOptionBuilder_.setMessage(builderForValue.build()); } valueCase_ = 5; return this; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public Builder mergeSetOption(tendermint.abci.Types.ResponseSetOption value) { if (setOptionBuilder_ == null) { if (valueCase_ == 5 && value_ != tendermint.abci.Types.ResponseSetOption.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseSetOption.newBuilder((tendermint.abci.Types.ResponseSetOption) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 5) { setOptionBuilder_.mergeFrom(value); } setOptionBuilder_.setMessage(value); } valueCase_ = 5; return this; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public Builder clearSetOption() { if (setOptionBuilder_ == null) { if (valueCase_ == 5) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 5) { valueCase_ = 0; value_ = null; } setOptionBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public tendermint.abci.Types.ResponseSetOption.Builder getSetOptionBuilder() { return getSetOptionFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ public tendermint.abci.Types.ResponseSetOptionOrBuilder getSetOptionOrBuilder() { if ((valueCase_ == 5) && (setOptionBuilder_ != null)) { return setOptionBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 5) { return (tendermint.abci.Types.ResponseSetOption) value_; } return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } } /** * .tendermint.abci.ResponseSetOption set_option = 5; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseSetOption, tendermint.abci.Types.ResponseSetOption.Builder, tendermint.abci.Types.ResponseSetOptionOrBuilder> getSetOptionFieldBuilder() { if (setOptionBuilder_ == null) { if (!(valueCase_ == 5)) { value_ = tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } setOptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseSetOption, tendermint.abci.Types.ResponseSetOption.Builder, tendermint.abci.Types.ResponseSetOptionOrBuilder>( (tendermint.abci.Types.ResponseSetOption) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 5; onChanged();; return setOptionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInitChain, tendermint.abci.Types.ResponseInitChain.Builder, tendermint.abci.Types.ResponseInitChainOrBuilder> initChainBuilder_; /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public boolean hasInitChain() { return valueCase_ == 6; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public tendermint.abci.Types.ResponseInitChain getInitChain() { if (initChainBuilder_ == null) { if (valueCase_ == 6) { return (tendermint.abci.Types.ResponseInitChain) value_; } return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } else { if (valueCase_ == 6) { return initChainBuilder_.getMessage(); } return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public Builder setInitChain(tendermint.abci.Types.ResponseInitChain value) { if (initChainBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { initChainBuilder_.setMessage(value); } valueCase_ = 6; return this; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public Builder setInitChain( tendermint.abci.Types.ResponseInitChain.Builder builderForValue) { if (initChainBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { initChainBuilder_.setMessage(builderForValue.build()); } valueCase_ = 6; return this; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public Builder mergeInitChain(tendermint.abci.Types.ResponseInitChain value) { if (initChainBuilder_ == null) { if (valueCase_ == 6 && value_ != tendermint.abci.Types.ResponseInitChain.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseInitChain.newBuilder((tendermint.abci.Types.ResponseInitChain) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 6) { initChainBuilder_.mergeFrom(value); } initChainBuilder_.setMessage(value); } valueCase_ = 6; return this; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public Builder clearInitChain() { if (initChainBuilder_ == null) { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; } initChainBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public tendermint.abci.Types.ResponseInitChain.Builder getInitChainBuilder() { return getInitChainFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ public tendermint.abci.Types.ResponseInitChainOrBuilder getInitChainOrBuilder() { if ((valueCase_ == 6) && (initChainBuilder_ != null)) { return initChainBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 6) { return (tendermint.abci.Types.ResponseInitChain) value_; } return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } } /** * .tendermint.abci.ResponseInitChain init_chain = 6; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInitChain, tendermint.abci.Types.ResponseInitChain.Builder, tendermint.abci.Types.ResponseInitChainOrBuilder> getInitChainFieldBuilder() { if (initChainBuilder_ == null) { if (!(valueCase_ == 6)) { value_ = tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } initChainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseInitChain, tendermint.abci.Types.ResponseInitChain.Builder, tendermint.abci.Types.ResponseInitChainOrBuilder>( (tendermint.abci.Types.ResponseInitChain) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 6; onChanged();; return initChainBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseQuery, tendermint.abci.Types.ResponseQuery.Builder, tendermint.abci.Types.ResponseQueryOrBuilder> queryBuilder_; /** * .tendermint.abci.ResponseQuery query = 7; */ public boolean hasQuery() { return valueCase_ == 7; } /** * .tendermint.abci.ResponseQuery query = 7; */ public tendermint.abci.Types.ResponseQuery getQuery() { if (queryBuilder_ == null) { if (valueCase_ == 7) { return (tendermint.abci.Types.ResponseQuery) value_; } return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } else { if (valueCase_ == 7) { return queryBuilder_.getMessage(); } return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } } /** * .tendermint.abci.ResponseQuery query = 7; */ public Builder setQuery(tendermint.abci.Types.ResponseQuery value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { queryBuilder_.setMessage(value); } valueCase_ = 7; return this; } /** * .tendermint.abci.ResponseQuery query = 7; */ public Builder setQuery( tendermint.abci.Types.ResponseQuery.Builder builderForValue) { if (queryBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { queryBuilder_.setMessage(builderForValue.build()); } valueCase_ = 7; return this; } /** * .tendermint.abci.ResponseQuery query = 7; */ public Builder mergeQuery(tendermint.abci.Types.ResponseQuery value) { if (queryBuilder_ == null) { if (valueCase_ == 7 && value_ != tendermint.abci.Types.ResponseQuery.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseQuery.newBuilder((tendermint.abci.Types.ResponseQuery) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 7) { queryBuilder_.mergeFrom(value); } queryBuilder_.setMessage(value); } valueCase_ = 7; return this; } /** * .tendermint.abci.ResponseQuery query = 7; */ public Builder clearQuery() { if (queryBuilder_ == null) { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; } queryBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseQuery query = 7; */ public tendermint.abci.Types.ResponseQuery.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseQuery query = 7; */ public tendermint.abci.Types.ResponseQueryOrBuilder getQueryOrBuilder() { if ((valueCase_ == 7) && (queryBuilder_ != null)) { return queryBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 7) { return (tendermint.abci.Types.ResponseQuery) value_; } return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } } /** * .tendermint.abci.ResponseQuery query = 7; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseQuery, tendermint.abci.Types.ResponseQuery.Builder, tendermint.abci.Types.ResponseQueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(valueCase_ == 7)) { value_ = tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseQuery, tendermint.abci.Types.ResponseQuery.Builder, tendermint.abci.Types.ResponseQueryOrBuilder>( (tendermint.abci.Types.ResponseQuery) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 7; onChanged();; return queryBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseBeginBlock, tendermint.abci.Types.ResponseBeginBlock.Builder, tendermint.abci.Types.ResponseBeginBlockOrBuilder> beginBlockBuilder_; /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public boolean hasBeginBlock() { return valueCase_ == 8; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public tendermint.abci.Types.ResponseBeginBlock getBeginBlock() { if (beginBlockBuilder_ == null) { if (valueCase_ == 8) { return (tendermint.abci.Types.ResponseBeginBlock) value_; } return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } else { if (valueCase_ == 8) { return beginBlockBuilder_.getMessage(); } return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public Builder setBeginBlock(tendermint.abci.Types.ResponseBeginBlock value) { if (beginBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { beginBlockBuilder_.setMessage(value); } valueCase_ = 8; return this; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public Builder setBeginBlock( tendermint.abci.Types.ResponseBeginBlock.Builder builderForValue) { if (beginBlockBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { beginBlockBuilder_.setMessage(builderForValue.build()); } valueCase_ = 8; return this; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public Builder mergeBeginBlock(tendermint.abci.Types.ResponseBeginBlock value) { if (beginBlockBuilder_ == null) { if (valueCase_ == 8 && value_ != tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseBeginBlock.newBuilder((tendermint.abci.Types.ResponseBeginBlock) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 8) { beginBlockBuilder_.mergeFrom(value); } beginBlockBuilder_.setMessage(value); } valueCase_ = 8; return this; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public Builder clearBeginBlock() { if (beginBlockBuilder_ == null) { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; } beginBlockBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public tendermint.abci.Types.ResponseBeginBlock.Builder getBeginBlockBuilder() { return getBeginBlockFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ public tendermint.abci.Types.ResponseBeginBlockOrBuilder getBeginBlockOrBuilder() { if ((valueCase_ == 8) && (beginBlockBuilder_ != null)) { return beginBlockBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 8) { return (tendermint.abci.Types.ResponseBeginBlock) value_; } return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } } /** * .tendermint.abci.ResponseBeginBlock begin_block = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseBeginBlock, tendermint.abci.Types.ResponseBeginBlock.Builder, tendermint.abci.Types.ResponseBeginBlockOrBuilder> getBeginBlockFieldBuilder() { if (beginBlockBuilder_ == null) { if (!(valueCase_ == 8)) { value_ = tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } beginBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseBeginBlock, tendermint.abci.Types.ResponseBeginBlock.Builder, tendermint.abci.Types.ResponseBeginBlockOrBuilder>( (tendermint.abci.Types.ResponseBeginBlock) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 8; onChanged();; return beginBlockBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCheckTx, tendermint.abci.Types.ResponseCheckTx.Builder, tendermint.abci.Types.ResponseCheckTxOrBuilder> checkTxBuilder_; /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public boolean hasCheckTx() { return valueCase_ == 9; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public tendermint.abci.Types.ResponseCheckTx getCheckTx() { if (checkTxBuilder_ == null) { if (valueCase_ == 9) { return (tendermint.abci.Types.ResponseCheckTx) value_; } return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } else { if (valueCase_ == 9) { return checkTxBuilder_.getMessage(); } return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public Builder setCheckTx(tendermint.abci.Types.ResponseCheckTx value) { if (checkTxBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { checkTxBuilder_.setMessage(value); } valueCase_ = 9; return this; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public Builder setCheckTx( tendermint.abci.Types.ResponseCheckTx.Builder builderForValue) { if (checkTxBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { checkTxBuilder_.setMessage(builderForValue.build()); } valueCase_ = 9; return this; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public Builder mergeCheckTx(tendermint.abci.Types.ResponseCheckTx value) { if (checkTxBuilder_ == null) { if (valueCase_ == 9 && value_ != tendermint.abci.Types.ResponseCheckTx.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseCheckTx.newBuilder((tendermint.abci.Types.ResponseCheckTx) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 9) { checkTxBuilder_.mergeFrom(value); } checkTxBuilder_.setMessage(value); } valueCase_ = 9; return this; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public Builder clearCheckTx() { if (checkTxBuilder_ == null) { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; } checkTxBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public tendermint.abci.Types.ResponseCheckTx.Builder getCheckTxBuilder() { return getCheckTxFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ public tendermint.abci.Types.ResponseCheckTxOrBuilder getCheckTxOrBuilder() { if ((valueCase_ == 9) && (checkTxBuilder_ != null)) { return checkTxBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 9) { return (tendermint.abci.Types.ResponseCheckTx) value_; } return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } } /** * .tendermint.abci.ResponseCheckTx check_tx = 9; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCheckTx, tendermint.abci.Types.ResponseCheckTx.Builder, tendermint.abci.Types.ResponseCheckTxOrBuilder> getCheckTxFieldBuilder() { if (checkTxBuilder_ == null) { if (!(valueCase_ == 9)) { value_ = tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } checkTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCheckTx, tendermint.abci.Types.ResponseCheckTx.Builder, tendermint.abci.Types.ResponseCheckTxOrBuilder>( (tendermint.abci.Types.ResponseCheckTx) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 9; onChanged();; return checkTxBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder> deliverTxBuilder_; /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public boolean hasDeliverTx() { return valueCase_ == 10; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public tendermint.abci.Types.ResponseDeliverTx getDeliverTx() { if (deliverTxBuilder_ == null) { if (valueCase_ == 10) { return (tendermint.abci.Types.ResponseDeliverTx) value_; } return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } else { if (valueCase_ == 10) { return deliverTxBuilder_.getMessage(); } return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public Builder setDeliverTx(tendermint.abci.Types.ResponseDeliverTx value) { if (deliverTxBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { deliverTxBuilder_.setMessage(value); } valueCase_ = 10; return this; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public Builder setDeliverTx( tendermint.abci.Types.ResponseDeliverTx.Builder builderForValue) { if (deliverTxBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { deliverTxBuilder_.setMessage(builderForValue.build()); } valueCase_ = 10; return this; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public Builder mergeDeliverTx(tendermint.abci.Types.ResponseDeliverTx value) { if (deliverTxBuilder_ == null) { if (valueCase_ == 10 && value_ != tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseDeliverTx.newBuilder((tendermint.abci.Types.ResponseDeliverTx) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 10) { deliverTxBuilder_.mergeFrom(value); } deliverTxBuilder_.setMessage(value); } valueCase_ = 10; return this; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public Builder clearDeliverTx() { if (deliverTxBuilder_ == null) { if (valueCase_ == 10) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 10) { valueCase_ = 0; value_ = null; } deliverTxBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public tendermint.abci.Types.ResponseDeliverTx.Builder getDeliverTxBuilder() { return getDeliverTxFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ public tendermint.abci.Types.ResponseDeliverTxOrBuilder getDeliverTxOrBuilder() { if ((valueCase_ == 10) && (deliverTxBuilder_ != null)) { return deliverTxBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 10) { return (tendermint.abci.Types.ResponseDeliverTx) value_; } return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } } /** * .tendermint.abci.ResponseDeliverTx deliver_tx = 10; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder> getDeliverTxFieldBuilder() { if (deliverTxBuilder_ == null) { if (!(valueCase_ == 10)) { value_ = tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } deliverTxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder>( (tendermint.abci.Types.ResponseDeliverTx) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 10; onChanged();; return deliverTxBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEndBlock, tendermint.abci.Types.ResponseEndBlock.Builder, tendermint.abci.Types.ResponseEndBlockOrBuilder> endBlockBuilder_; /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public boolean hasEndBlock() { return valueCase_ == 11; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public tendermint.abci.Types.ResponseEndBlock getEndBlock() { if (endBlockBuilder_ == null) { if (valueCase_ == 11) { return (tendermint.abci.Types.ResponseEndBlock) value_; } return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } else { if (valueCase_ == 11) { return endBlockBuilder_.getMessage(); } return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public Builder setEndBlock(tendermint.abci.Types.ResponseEndBlock value) { if (endBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { endBlockBuilder_.setMessage(value); } valueCase_ = 11; return this; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public Builder setEndBlock( tendermint.abci.Types.ResponseEndBlock.Builder builderForValue) { if (endBlockBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { endBlockBuilder_.setMessage(builderForValue.build()); } valueCase_ = 11; return this; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public Builder mergeEndBlock(tendermint.abci.Types.ResponseEndBlock value) { if (endBlockBuilder_ == null) { if (valueCase_ == 11 && value_ != tendermint.abci.Types.ResponseEndBlock.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseEndBlock.newBuilder((tendermint.abci.Types.ResponseEndBlock) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 11) { endBlockBuilder_.mergeFrom(value); } endBlockBuilder_.setMessage(value); } valueCase_ = 11; return this; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public Builder clearEndBlock() { if (endBlockBuilder_ == null) { if (valueCase_ == 11) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 11) { valueCase_ = 0; value_ = null; } endBlockBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public tendermint.abci.Types.ResponseEndBlock.Builder getEndBlockBuilder() { return getEndBlockFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ public tendermint.abci.Types.ResponseEndBlockOrBuilder getEndBlockOrBuilder() { if ((valueCase_ == 11) && (endBlockBuilder_ != null)) { return endBlockBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 11) { return (tendermint.abci.Types.ResponseEndBlock) value_; } return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } } /** * .tendermint.abci.ResponseEndBlock end_block = 11; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEndBlock, tendermint.abci.Types.ResponseEndBlock.Builder, tendermint.abci.Types.ResponseEndBlockOrBuilder> getEndBlockFieldBuilder() { if (endBlockBuilder_ == null) { if (!(valueCase_ == 11)) { value_ = tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } endBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseEndBlock, tendermint.abci.Types.ResponseEndBlock.Builder, tendermint.abci.Types.ResponseEndBlockOrBuilder>( (tendermint.abci.Types.ResponseEndBlock) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 11; onChanged();; return endBlockBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCommit, tendermint.abci.Types.ResponseCommit.Builder, tendermint.abci.Types.ResponseCommitOrBuilder> commitBuilder_; /** * .tendermint.abci.ResponseCommit commit = 12; */ public boolean hasCommit() { return valueCase_ == 12; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public tendermint.abci.Types.ResponseCommit getCommit() { if (commitBuilder_ == null) { if (valueCase_ == 12) { return (tendermint.abci.Types.ResponseCommit) value_; } return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } else { if (valueCase_ == 12) { return commitBuilder_.getMessage(); } return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } } /** * .tendermint.abci.ResponseCommit commit = 12; */ public Builder setCommit(tendermint.abci.Types.ResponseCommit value) { if (commitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { commitBuilder_.setMessage(value); } valueCase_ = 12; return this; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public Builder setCommit( tendermint.abci.Types.ResponseCommit.Builder builderForValue) { if (commitBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { commitBuilder_.setMessage(builderForValue.build()); } valueCase_ = 12; return this; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public Builder mergeCommit(tendermint.abci.Types.ResponseCommit value) { if (commitBuilder_ == null) { if (valueCase_ == 12 && value_ != tendermint.abci.Types.ResponseCommit.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseCommit.newBuilder((tendermint.abci.Types.ResponseCommit) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 12) { commitBuilder_.mergeFrom(value); } commitBuilder_.setMessage(value); } valueCase_ = 12; return this; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public Builder clearCommit() { if (commitBuilder_ == null) { if (valueCase_ == 12) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 12) { valueCase_ = 0; value_ = null; } commitBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseCommit commit = 12; */ public tendermint.abci.Types.ResponseCommit.Builder getCommitBuilder() { return getCommitFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseCommit commit = 12; */ public tendermint.abci.Types.ResponseCommitOrBuilder getCommitOrBuilder() { if ((valueCase_ == 12) && (commitBuilder_ != null)) { return commitBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 12) { return (tendermint.abci.Types.ResponseCommit) value_; } return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } } /** * .tendermint.abci.ResponseCommit commit = 12; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCommit, tendermint.abci.Types.ResponseCommit.Builder, tendermint.abci.Types.ResponseCommitOrBuilder> getCommitFieldBuilder() { if (commitBuilder_ == null) { if (!(valueCase_ == 12)) { value_ = tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } commitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseCommit, tendermint.abci.Types.ResponseCommit.Builder, tendermint.abci.Types.ResponseCommitOrBuilder>( (tendermint.abci.Types.ResponseCommit) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 12; onChanged();; return commitBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseListSnapshots, tendermint.abci.Types.ResponseListSnapshots.Builder, tendermint.abci.Types.ResponseListSnapshotsOrBuilder> listSnapshotsBuilder_; /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public boolean hasListSnapshots() { return valueCase_ == 13; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public tendermint.abci.Types.ResponseListSnapshots getListSnapshots() { if (listSnapshotsBuilder_ == null) { if (valueCase_ == 13) { return (tendermint.abci.Types.ResponseListSnapshots) value_; } return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } else { if (valueCase_ == 13) { return listSnapshotsBuilder_.getMessage(); } return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public Builder setListSnapshots(tendermint.abci.Types.ResponseListSnapshots value) { if (listSnapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { listSnapshotsBuilder_.setMessage(value); } valueCase_ = 13; return this; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public Builder setListSnapshots( tendermint.abci.Types.ResponseListSnapshots.Builder builderForValue) { if (listSnapshotsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { listSnapshotsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 13; return this; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public Builder mergeListSnapshots(tendermint.abci.Types.ResponseListSnapshots value) { if (listSnapshotsBuilder_ == null) { if (valueCase_ == 13 && value_ != tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseListSnapshots.newBuilder((tendermint.abci.Types.ResponseListSnapshots) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 13) { listSnapshotsBuilder_.mergeFrom(value); } listSnapshotsBuilder_.setMessage(value); } valueCase_ = 13; return this; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public Builder clearListSnapshots() { if (listSnapshotsBuilder_ == null) { if (valueCase_ == 13) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 13) { valueCase_ = 0; value_ = null; } listSnapshotsBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public tendermint.abci.Types.ResponseListSnapshots.Builder getListSnapshotsBuilder() { return getListSnapshotsFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ public tendermint.abci.Types.ResponseListSnapshotsOrBuilder getListSnapshotsOrBuilder() { if ((valueCase_ == 13) && (listSnapshotsBuilder_ != null)) { return listSnapshotsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 13) { return (tendermint.abci.Types.ResponseListSnapshots) value_; } return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } } /** * .tendermint.abci.ResponseListSnapshots list_snapshots = 13; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseListSnapshots, tendermint.abci.Types.ResponseListSnapshots.Builder, tendermint.abci.Types.ResponseListSnapshotsOrBuilder> getListSnapshotsFieldBuilder() { if (listSnapshotsBuilder_ == null) { if (!(valueCase_ == 13)) { value_ = tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } listSnapshotsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseListSnapshots, tendermint.abci.Types.ResponseListSnapshots.Builder, tendermint.abci.Types.ResponseListSnapshotsOrBuilder>( (tendermint.abci.Types.ResponseListSnapshots) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 13; onChanged();; return listSnapshotsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseOfferSnapshot, tendermint.abci.Types.ResponseOfferSnapshot.Builder, tendermint.abci.Types.ResponseOfferSnapshotOrBuilder> offerSnapshotBuilder_; /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public boolean hasOfferSnapshot() { return valueCase_ == 14; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public tendermint.abci.Types.ResponseOfferSnapshot getOfferSnapshot() { if (offerSnapshotBuilder_ == null) { if (valueCase_ == 14) { return (tendermint.abci.Types.ResponseOfferSnapshot) value_; } return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } else { if (valueCase_ == 14) { return offerSnapshotBuilder_.getMessage(); } return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public Builder setOfferSnapshot(tendermint.abci.Types.ResponseOfferSnapshot value) { if (offerSnapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { offerSnapshotBuilder_.setMessage(value); } valueCase_ = 14; return this; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public Builder setOfferSnapshot( tendermint.abci.Types.ResponseOfferSnapshot.Builder builderForValue) { if (offerSnapshotBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { offerSnapshotBuilder_.setMessage(builderForValue.build()); } valueCase_ = 14; return this; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public Builder mergeOfferSnapshot(tendermint.abci.Types.ResponseOfferSnapshot value) { if (offerSnapshotBuilder_ == null) { if (valueCase_ == 14 && value_ != tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseOfferSnapshot.newBuilder((tendermint.abci.Types.ResponseOfferSnapshot) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 14) { offerSnapshotBuilder_.mergeFrom(value); } offerSnapshotBuilder_.setMessage(value); } valueCase_ = 14; return this; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public Builder clearOfferSnapshot() { if (offerSnapshotBuilder_ == null) { if (valueCase_ == 14) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 14) { valueCase_ = 0; value_ = null; } offerSnapshotBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public tendermint.abci.Types.ResponseOfferSnapshot.Builder getOfferSnapshotBuilder() { return getOfferSnapshotFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ public tendermint.abci.Types.ResponseOfferSnapshotOrBuilder getOfferSnapshotOrBuilder() { if ((valueCase_ == 14) && (offerSnapshotBuilder_ != null)) { return offerSnapshotBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 14) { return (tendermint.abci.Types.ResponseOfferSnapshot) value_; } return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } } /** * .tendermint.abci.ResponseOfferSnapshot offer_snapshot = 14; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseOfferSnapshot, tendermint.abci.Types.ResponseOfferSnapshot.Builder, tendermint.abci.Types.ResponseOfferSnapshotOrBuilder> getOfferSnapshotFieldBuilder() { if (offerSnapshotBuilder_ == null) { if (!(valueCase_ == 14)) { value_ = tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } offerSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseOfferSnapshot, tendermint.abci.Types.ResponseOfferSnapshot.Builder, tendermint.abci.Types.ResponseOfferSnapshotOrBuilder>( (tendermint.abci.Types.ResponseOfferSnapshot) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 14; onChanged();; return offerSnapshotBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseLoadSnapshotChunk, tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder, tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder> loadSnapshotChunkBuilder_; /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public boolean hasLoadSnapshotChunk() { return valueCase_ == 15; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public tendermint.abci.Types.ResponseLoadSnapshotChunk getLoadSnapshotChunk() { if (loadSnapshotChunkBuilder_ == null) { if (valueCase_ == 15) { return (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_; } return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } else { if (valueCase_ == 15) { return loadSnapshotChunkBuilder_.getMessage(); } return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public Builder setLoadSnapshotChunk(tendermint.abci.Types.ResponseLoadSnapshotChunk value) { if (loadSnapshotChunkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { loadSnapshotChunkBuilder_.setMessage(value); } valueCase_ = 15; return this; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public Builder setLoadSnapshotChunk( tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder builderForValue) { if (loadSnapshotChunkBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { loadSnapshotChunkBuilder_.setMessage(builderForValue.build()); } valueCase_ = 15; return this; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public Builder mergeLoadSnapshotChunk(tendermint.abci.Types.ResponseLoadSnapshotChunk value) { if (loadSnapshotChunkBuilder_ == null) { if (valueCase_ == 15 && value_ != tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseLoadSnapshotChunk.newBuilder((tendermint.abci.Types.ResponseLoadSnapshotChunk) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 15) { loadSnapshotChunkBuilder_.mergeFrom(value); } loadSnapshotChunkBuilder_.setMessage(value); } valueCase_ = 15; return this; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public Builder clearLoadSnapshotChunk() { if (loadSnapshotChunkBuilder_ == null) { if (valueCase_ == 15) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 15) { valueCase_ = 0; value_ = null; } loadSnapshotChunkBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder getLoadSnapshotChunkBuilder() { return getLoadSnapshotChunkFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ public tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder getLoadSnapshotChunkOrBuilder() { if ((valueCase_ == 15) && (loadSnapshotChunkBuilder_ != null)) { return loadSnapshotChunkBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 15) { return (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_; } return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } } /** * .tendermint.abci.ResponseLoadSnapshotChunk load_snapshot_chunk = 15; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseLoadSnapshotChunk, tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder, tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder> getLoadSnapshotChunkFieldBuilder() { if (loadSnapshotChunkBuilder_ == null) { if (!(valueCase_ == 15)) { value_ = tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } loadSnapshotChunkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseLoadSnapshotChunk, tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder, tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder>( (tendermint.abci.Types.ResponseLoadSnapshotChunk) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 15; onChanged();; return loadSnapshotChunkBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseApplySnapshotChunk, tendermint.abci.Types.ResponseApplySnapshotChunk.Builder, tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder> applySnapshotChunkBuilder_; /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public boolean hasApplySnapshotChunk() { return valueCase_ == 16; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public tendermint.abci.Types.ResponseApplySnapshotChunk getApplySnapshotChunk() { if (applySnapshotChunkBuilder_ == null) { if (valueCase_ == 16) { return (tendermint.abci.Types.ResponseApplySnapshotChunk) value_; } return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } else { if (valueCase_ == 16) { return applySnapshotChunkBuilder_.getMessage(); } return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public Builder setApplySnapshotChunk(tendermint.abci.Types.ResponseApplySnapshotChunk value) { if (applySnapshotChunkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { applySnapshotChunkBuilder_.setMessage(value); } valueCase_ = 16; return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public Builder setApplySnapshotChunk( tendermint.abci.Types.ResponseApplySnapshotChunk.Builder builderForValue) { if (applySnapshotChunkBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { applySnapshotChunkBuilder_.setMessage(builderForValue.build()); } valueCase_ = 16; return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public Builder mergeApplySnapshotChunk(tendermint.abci.Types.ResponseApplySnapshotChunk value) { if (applySnapshotChunkBuilder_ == null) { if (valueCase_ == 16 && value_ != tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance()) { value_ = tendermint.abci.Types.ResponseApplySnapshotChunk.newBuilder((tendermint.abci.Types.ResponseApplySnapshotChunk) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 16) { applySnapshotChunkBuilder_.mergeFrom(value); } applySnapshotChunkBuilder_.setMessage(value); } valueCase_ = 16; return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public Builder clearApplySnapshotChunk() { if (applySnapshotChunkBuilder_ == null) { if (valueCase_ == 16) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 16) { valueCase_ = 0; value_ = null; } applySnapshotChunkBuilder_.clear(); } return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public tendermint.abci.Types.ResponseApplySnapshotChunk.Builder getApplySnapshotChunkBuilder() { return getApplySnapshotChunkFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ public tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder getApplySnapshotChunkOrBuilder() { if ((valueCase_ == 16) && (applySnapshotChunkBuilder_ != null)) { return applySnapshotChunkBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 16) { return (tendermint.abci.Types.ResponseApplySnapshotChunk) value_; } return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } } /** * .tendermint.abci.ResponseApplySnapshotChunk apply_snapshot_chunk = 16; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseApplySnapshotChunk, tendermint.abci.Types.ResponseApplySnapshotChunk.Builder, tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder> getApplySnapshotChunkFieldBuilder() { if (applySnapshotChunkBuilder_ == null) { if (!(valueCase_ == 16)) { value_ = tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } applySnapshotChunkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseApplySnapshotChunk, tendermint.abci.Types.ResponseApplySnapshotChunk.Builder, tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder>( (tendermint.abci.Types.ResponseApplySnapshotChunk) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 16; onChanged();; return applySnapshotChunkBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.Response) } // @@protoc_insertion_point(class_scope:tendermint.abci.Response) private static final tendermint.abci.Types.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.Response(); } public static tendermint.abci.Types.Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Response(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 tendermint.abci.Types.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseExceptionOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseException) com.google.protobuf.MessageOrBuilder { /** * string error = 1; */ java.lang.String getError(); /** * string error = 1; */ com.google.protobuf.ByteString getErrorBytes(); } /** *
   * nondeterministic
   * 
* * Protobuf type {@code tendermint.abci.ResponseException} */ public static final class ResponseException extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseException) ResponseExceptionOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseException.newBuilder() to construct. private ResponseException(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseException() { error_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseException( 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(); error_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseException_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseException_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseException.class, tendermint.abci.Types.ResponseException.Builder.class); } public static final int ERROR_FIELD_NUMBER = 1; private volatile java.lang.Object error_; /** * string error = 1; */ public java.lang.String getError() { java.lang.Object ref = error_; 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(); error_ = s; return s; } } /** * string error = 1; */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = 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 (!getErrorBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, error_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getErrorBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, error_); } 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 tendermint.abci.Types.ResponseException)) { return super.equals(obj); } tendermint.abci.Types.ResponseException other = (tendermint.abci.Types.ResponseException) obj; boolean result = true; result = result && getError() .equals(other.getError()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseException parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseException parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseException parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseException parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseException parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseException parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseException 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 tendermint.abci.Types.ResponseException parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseException 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 tendermint.abci.Types.ResponseException parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseException 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(tendermint.abci.Types.ResponseException 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; } /** *
     * nondeterministic
     * 
* * Protobuf type {@code tendermint.abci.ResponseException} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseException) tendermint.abci.Types.ResponseExceptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseException_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseException_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseException.class, tendermint.abci.Types.ResponseException.Builder.class); } // Construct using tendermint.abci.Types.ResponseException.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(); error_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseException_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseException getDefaultInstanceForType() { return tendermint.abci.Types.ResponseException.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseException build() { tendermint.abci.Types.ResponseException result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseException buildPartial() { tendermint.abci.Types.ResponseException result = new tendermint.abci.Types.ResponseException(this); result.error_ = error_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseException) { return mergeFrom((tendermint.abci.Types.ResponseException)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseException other) { if (other == tendermint.abci.Types.ResponseException.getDefaultInstance()) return this; if (!other.getError().isEmpty()) { error_ = other.error_; 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 { tendermint.abci.Types.ResponseException parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseException) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object error_ = ""; /** * string error = 1; */ public java.lang.String getError() { java.lang.Object ref = error_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); error_ = s; return s; } else { return (java.lang.String) ref; } } /** * string error = 1; */ public com.google.protobuf.ByteString getErrorBytes() { java.lang.Object ref = error_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); error_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string error = 1; */ public Builder setError( java.lang.String value) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); return this; } /** * string error = 1; */ public Builder clearError() { error_ = getDefaultInstance().getError(); onChanged(); return this; } /** * string error = 1; */ public Builder setErrorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); error_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseException) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseException) private static final tendermint.abci.Types.ResponseException DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseException(); } public static tendermint.abci.Types.ResponseException getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseException parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseException(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 tendermint.abci.Types.ResponseException getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseEchoOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseEcho) com.google.protobuf.MessageOrBuilder { /** * string message = 1; */ java.lang.String getMessage(); /** * string message = 1; */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code tendermint.abci.ResponseEcho} */ public static final class ResponseEcho extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseEcho) ResponseEchoOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseEcho.newBuilder() to construct. private ResponseEcho(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseEcho() { message_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseEcho( 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(); message_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseEcho_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEcho_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseEcho.class, tendermint.abci.Types.ResponseEcho.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** * string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 1; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (!getMessageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMessageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } 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 tendermint.abci.Types.ResponseEcho)) { return super.equals(obj); } tendermint.abci.Types.ResponseEcho other = (tendermint.abci.Types.ResponseEcho) obj; boolean result = true; result = result && getMessage() .equals(other.getMessage()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseEcho parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEcho parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEcho parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEcho parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEcho parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEcho parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEcho parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEcho 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 tendermint.abci.Types.ResponseEcho parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEcho 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 tendermint.abci.Types.ResponseEcho parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEcho 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(tendermint.abci.Types.ResponseEcho 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 tendermint.abci.ResponseEcho} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseEcho) tendermint.abci.Types.ResponseEchoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEcho_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEcho_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseEcho.class, tendermint.abci.Types.ResponseEcho.Builder.class); } // Construct using tendermint.abci.Types.ResponseEcho.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(); message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEcho_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseEcho getDefaultInstanceForType() { return tendermint.abci.Types.ResponseEcho.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseEcho build() { tendermint.abci.Types.ResponseEcho result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseEcho buildPartial() { tendermint.abci.Types.ResponseEcho result = new tendermint.abci.Types.ResponseEcho(this); result.message_ = message_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseEcho) { return mergeFrom((tendermint.abci.Types.ResponseEcho)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseEcho other) { if (other == tendermint.abci.Types.ResponseEcho.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; 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 { tendermint.abci.Types.ResponseEcho parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseEcho) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object message_ = ""; /** * string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 1; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 1; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 1; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 1; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseEcho) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseEcho) private static final tendermint.abci.Types.ResponseEcho DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseEcho(); } public static tendermint.abci.Types.ResponseEcho getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseEcho parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseEcho(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 tendermint.abci.Types.ResponseEcho getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseFlushOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseFlush) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code tendermint.abci.ResponseFlush} */ public static final class ResponseFlush extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseFlush) ResponseFlushOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseFlush.newBuilder() to construct. private ResponseFlush(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseFlush() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseFlush( 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 (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseFlush_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseFlush_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseFlush.class, tendermint.abci.Types.ResponseFlush.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 tendermint.abci.Types.ResponseFlush)) { return super.equals(obj); } tendermint.abci.Types.ResponseFlush other = (tendermint.abci.Types.ResponseFlush) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @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 tendermint.abci.Types.ResponseFlush parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseFlush parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseFlush parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseFlush parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseFlush parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseFlush parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseFlush parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseFlush 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 tendermint.abci.Types.ResponseFlush parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseFlush 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 tendermint.abci.Types.ResponseFlush parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseFlush 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(tendermint.abci.Types.ResponseFlush 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 tendermint.abci.ResponseFlush} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseFlush) tendermint.abci.Types.ResponseFlushOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseFlush_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseFlush_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseFlush.class, tendermint.abci.Types.ResponseFlush.Builder.class); } // Construct using tendermint.abci.Types.ResponseFlush.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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseFlush_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseFlush getDefaultInstanceForType() { return tendermint.abci.Types.ResponseFlush.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseFlush build() { tendermint.abci.Types.ResponseFlush result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseFlush buildPartial() { tendermint.abci.Types.ResponseFlush result = new tendermint.abci.Types.ResponseFlush(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseFlush) { return mergeFrom((tendermint.abci.Types.ResponseFlush)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseFlush other) { if (other == tendermint.abci.Types.ResponseFlush.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 { tendermint.abci.Types.ResponseFlush parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseFlush) 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.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseFlush) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseFlush) private static final tendermint.abci.Types.ResponseFlush DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseFlush(); } public static tendermint.abci.Types.ResponseFlush getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseFlush parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseFlush(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 tendermint.abci.Types.ResponseFlush getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseInfo) com.google.protobuf.MessageOrBuilder { /** * string data = 1; */ java.lang.String getData(); /** * string data = 1; */ com.google.protobuf.ByteString getDataBytes(); /** * string version = 2; */ java.lang.String getVersion(); /** * string version = 2; */ com.google.protobuf.ByteString getVersionBytes(); /** * uint64 app_version = 3; */ long getAppVersion(); /** * int64 last_block_height = 4; */ long getLastBlockHeight(); /** * bytes last_block_app_hash = 5; */ com.google.protobuf.ByteString getLastBlockAppHash(); } /** * Protobuf type {@code tendermint.abci.ResponseInfo} */ public static final class ResponseInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseInfo) ResponseInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseInfo.newBuilder() to construct. private ResponseInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseInfo() { data_ = ""; version_ = ""; appVersion_ = 0L; lastBlockHeight_ = 0L; lastBlockAppHash_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseInfo( 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(); data_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); version_ = s; break; } case 24: { appVersion_ = input.readUInt64(); break; } case 32: { lastBlockHeight_ = input.readInt64(); break; } case 42: { lastBlockAppHash_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseInfo.class, tendermint.abci.Types.ResponseInfo.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private volatile java.lang.Object data_; /** * string data = 1; */ public java.lang.String getData() { java.lang.Object ref = data_; 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(); data_ = s; return s; } } /** * string data = 1; */ public com.google.protobuf.ByteString getDataBytes() { java.lang.Object ref = data_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); data_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** * string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; } } /** * string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APP_VERSION_FIELD_NUMBER = 3; private long appVersion_; /** * uint64 app_version = 3; */ public long getAppVersion() { return appVersion_; } public static final int LAST_BLOCK_HEIGHT_FIELD_NUMBER = 4; private long lastBlockHeight_; /** * int64 last_block_height = 4; */ public long getLastBlockHeight() { return lastBlockHeight_; } public static final int LAST_BLOCK_APP_HASH_FIELD_NUMBER = 5; private com.google.protobuf.ByteString lastBlockAppHash_; /** * bytes last_block_app_hash = 5; */ public com.google.protobuf.ByteString getLastBlockAppHash() { return lastBlockAppHash_; } 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 (!getDataBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, data_); } if (!getVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); } if (appVersion_ != 0L) { output.writeUInt64(3, appVersion_); } if (lastBlockHeight_ != 0L) { output.writeInt64(4, lastBlockHeight_); } if (!lastBlockAppHash_.isEmpty()) { output.writeBytes(5, lastBlockAppHash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDataBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, data_); } if (!getVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } if (appVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, appVersion_); } if (lastBlockHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, lastBlockHeight_); } if (!lastBlockAppHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, lastBlockAppHash_); } 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 tendermint.abci.Types.ResponseInfo)) { return super.equals(obj); } tendermint.abci.Types.ResponseInfo other = (tendermint.abci.Types.ResponseInfo) obj; boolean result = true; result = result && getData() .equals(other.getData()); result = result && getVersion() .equals(other.getVersion()); result = result && (getAppVersion() == other.getAppVersion()); result = result && (getLastBlockHeight() == other.getLastBlockHeight()); result = result && getLastBlockAppHash() .equals(other.getLastBlockAppHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (37 * hash) + APP_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAppVersion()); hash = (37 * hash) + LAST_BLOCK_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLastBlockHeight()); hash = (37 * hash) + LAST_BLOCK_APP_HASH_FIELD_NUMBER; hash = (53 * hash) + getLastBlockAppHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInfo 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 tendermint.abci.Types.ResponseInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInfo 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 tendermint.abci.Types.ResponseInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInfo 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(tendermint.abci.Types.ResponseInfo 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 tendermint.abci.ResponseInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseInfo) tendermint.abci.Types.ResponseInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseInfo.class, tendermint.abci.Types.ResponseInfo.Builder.class); } // Construct using tendermint.abci.Types.ResponseInfo.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(); data_ = ""; version_ = ""; appVersion_ = 0L; lastBlockHeight_ = 0L; lastBlockAppHash_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInfo_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseInfo getDefaultInstanceForType() { return tendermint.abci.Types.ResponseInfo.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseInfo build() { tendermint.abci.Types.ResponseInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseInfo buildPartial() { tendermint.abci.Types.ResponseInfo result = new tendermint.abci.Types.ResponseInfo(this); result.data_ = data_; result.version_ = version_; result.appVersion_ = appVersion_; result.lastBlockHeight_ = lastBlockHeight_; result.lastBlockAppHash_ = lastBlockAppHash_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseInfo) { return mergeFrom((tendermint.abci.Types.ResponseInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseInfo other) { if (other == tendermint.abci.Types.ResponseInfo.getDefaultInstance()) return this; if (!other.getData().isEmpty()) { data_ = other.data_; onChanged(); } if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (other.getAppVersion() != 0L) { setAppVersion(other.getAppVersion()); } if (other.getLastBlockHeight() != 0L) { setLastBlockHeight(other.getLastBlockHeight()); } if (other.getLastBlockAppHash() != com.google.protobuf.ByteString.EMPTY) { setLastBlockAppHash(other.getLastBlockAppHash()); } 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 { tendermint.abci.Types.ResponseInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object data_ = ""; /** * string data = 1; */ public java.lang.String getData() { java.lang.Object ref = data_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); data_ = s; return s; } else { return (java.lang.String) ref; } } /** * string data = 1; */ public com.google.protobuf.ByteString getDataBytes() { java.lang.Object ref = data_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); data_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string data = 1; */ public Builder setData( java.lang.String value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * string data = 1; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } /** * string data = 1; */ public Builder setDataBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); data_ = value; onChanged(); return this; } private java.lang.Object version_ = ""; /** * string version = 2; */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * string version = 2; */ public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); version_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string version = 2; */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /** * string version = 2; */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * string version = 2; */ public Builder setVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; } private long appVersion_ ; /** * uint64 app_version = 3; */ public long getAppVersion() { return appVersion_; } /** * uint64 app_version = 3; */ public Builder setAppVersion(long value) { appVersion_ = value; onChanged(); return this; } /** * uint64 app_version = 3; */ public Builder clearAppVersion() { appVersion_ = 0L; onChanged(); return this; } private long lastBlockHeight_ ; /** * int64 last_block_height = 4; */ public long getLastBlockHeight() { return lastBlockHeight_; } /** * int64 last_block_height = 4; */ public Builder setLastBlockHeight(long value) { lastBlockHeight_ = value; onChanged(); return this; } /** * int64 last_block_height = 4; */ public Builder clearLastBlockHeight() { lastBlockHeight_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString lastBlockAppHash_ = com.google.protobuf.ByteString.EMPTY; /** * bytes last_block_app_hash = 5; */ public com.google.protobuf.ByteString getLastBlockAppHash() { return lastBlockAppHash_; } /** * bytes last_block_app_hash = 5; */ public Builder setLastBlockAppHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } lastBlockAppHash_ = value; onChanged(); return this; } /** * bytes last_block_app_hash = 5; */ public Builder clearLastBlockAppHash() { lastBlockAppHash_ = getDefaultInstance().getLastBlockAppHash(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseInfo) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseInfo) private static final tendermint.abci.Types.ResponseInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseInfo(); } public static tendermint.abci.Types.ResponseInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseInfo(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 tendermint.abci.Types.ResponseInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseSetOptionOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseSetOption) com.google.protobuf.MessageOrBuilder { /** * uint32 code = 1; */ int getCode(); /** *
     * bytes data = 2;
     * 
* * string log = 3; */ java.lang.String getLog(); /** *
     * bytes data = 2;
     * 
* * string log = 3; */ com.google.protobuf.ByteString getLogBytes(); /** * string info = 4; */ java.lang.String getInfo(); /** * string info = 4; */ com.google.protobuf.ByteString getInfoBytes(); } /** *
   * nondeterministic
   * 
* * Protobuf type {@code tendermint.abci.ResponseSetOption} */ public static final class ResponseSetOption extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseSetOption) ResponseSetOptionOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseSetOption.newBuilder() to construct. private ResponseSetOption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseSetOption() { code_ = 0; log_ = ""; info_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseSetOption( 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: { code_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); info_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseSetOption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseSetOption_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseSetOption.class, tendermint.abci.Types.ResponseSetOption.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * uint32 code = 1; */ public int getCode() { return code_; } public static final int LOG_FIELD_NUMBER = 3; private volatile java.lang.Object log_; /** *
     * bytes data = 2;
     * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; 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(); log_ = s; return s; } } /** *
     * bytes data = 2;
     * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INFO_FIELD_NUMBER = 4; private volatile java.lang.Object info_; /** * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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(); info_ = s; return s; } } /** * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = 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 (code_ != 0) { output.writeUInt32(1, code_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, log_); } if (!getInfoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, info_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, code_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, log_); } if (!getInfoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, info_); } 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 tendermint.abci.Types.ResponseSetOption)) { return super.equals(obj); } tendermint.abci.Types.ResponseSetOption other = (tendermint.abci.Types.ResponseSetOption) obj; boolean result = true; result = result && (getCode() == other.getCode()); result = result && getLog() .equals(other.getLog()); result = result && getInfo() .equals(other.getInfo()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().hashCode(); hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseSetOption parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseSetOption parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseSetOption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseSetOption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseSetOption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseSetOption parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseSetOption parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseSetOption 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 tendermint.abci.Types.ResponseSetOption parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseSetOption 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 tendermint.abci.Types.ResponseSetOption parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseSetOption 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(tendermint.abci.Types.ResponseSetOption 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; } /** *
     * nondeterministic
     * 
* * Protobuf type {@code tendermint.abci.ResponseSetOption} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseSetOption) tendermint.abci.Types.ResponseSetOptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseSetOption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseSetOption_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseSetOption.class, tendermint.abci.Types.ResponseSetOption.Builder.class); } // Construct using tendermint.abci.Types.ResponseSetOption.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(); code_ = 0; log_ = ""; info_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseSetOption_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseSetOption getDefaultInstanceForType() { return tendermint.abci.Types.ResponseSetOption.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseSetOption build() { tendermint.abci.Types.ResponseSetOption result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseSetOption buildPartial() { tendermint.abci.Types.ResponseSetOption result = new tendermint.abci.Types.ResponseSetOption(this); result.code_ = code_; result.log_ = log_; result.info_ = info_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseSetOption) { return mergeFrom((tendermint.abci.Types.ResponseSetOption)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseSetOption other) { if (other == tendermint.abci.Types.ResponseSetOption.getDefaultInstance()) return this; if (other.getCode() != 0) { setCode(other.getCode()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } if (!other.getInfo().isEmpty()) { info_ = other.info_; 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 { tendermint.abci.Types.ResponseSetOption parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseSetOption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int code_ ; /** * uint32 code = 1; */ public int getCode() { return code_; } /** * uint32 code = 1; */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /** * uint32 code = 1; */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object log_ = ""; /** *
       * bytes data = 2;
       * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); log_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * bytes data = 2;
       * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * bytes data = 2;
       * 
* * string log = 3; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** *
       * bytes data = 2;
       * 
* * string log = 3; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** *
       * bytes data = 2;
       * 
* * string log = 3; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } private java.lang.Object info_ = ""; /** * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; } else { return (java.lang.String) ref; } } /** * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string info = 4; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); return this; } /** * string info = 4; */ public Builder clearInfo() { info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** * string info = 4; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); info_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseSetOption) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseSetOption) private static final tendermint.abci.Types.ResponseSetOption DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseSetOption(); } public static tendermint.abci.Types.ResponseSetOption getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseSetOption parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseSetOption(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 tendermint.abci.Types.ResponseSetOption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseInitChainOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseInitChain) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ boolean hasConsensusParams(); /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ tendermint.abci.Types.ConsensusParams getConsensusParams(); /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorsList(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdate getValidators(int index); /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ int getValidatorsCount(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorsOrBuilderList(); /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index); /** * bytes app_hash = 3; */ com.google.protobuf.ByteString getAppHash(); } /** * Protobuf type {@code tendermint.abci.ResponseInitChain} */ public static final class ResponseInitChain extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseInitChain) ResponseInitChainOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseInitChain.newBuilder() to construct. private ResponseInitChain(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseInitChain() { validators_ = java.util.Collections.emptyList(); appHash_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseInitChain( 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: { tendermint.abci.Types.ConsensusParams.Builder subBuilder = null; if (consensusParams_ != null) { subBuilder = consensusParams_.toBuilder(); } consensusParams_ = input.readMessage(tendermint.abci.Types.ConsensusParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusParams_); consensusParams_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { validators_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } validators_.add( input.readMessage(tendermint.abci.Types.ValidatorUpdate.parser(), extensionRegistry)); break; } case 26: { appHash_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000002) == 0x00000002)) { validators_ = java.util.Collections.unmodifiableList(validators_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInitChain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInitChain_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseInitChain.class, tendermint.abci.Types.ResponseInitChain.Builder.class); } private int bitField0_; public static final int CONSENSUS_PARAMS_FIELD_NUMBER = 1; private tendermint.abci.Types.ConsensusParams consensusParams_; /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public boolean hasConsensusParams() { return consensusParams_ != null; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public tendermint.abci.Types.ConsensusParams getConsensusParams() { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder() { return getConsensusParams(); } public static final int VALIDATORS_FIELD_NUMBER = 2; private java.util.List validators_; /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsList() { return validators_; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsOrBuilderList() { return validators_; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public int getValidatorsCount() { return validators_.size(); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidators(int index) { return validators_.get(index); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index) { return validators_.get(index); } public static final int APP_HASH_FIELD_NUMBER = 3; private com.google.protobuf.ByteString appHash_; /** * bytes app_hash = 3; */ public com.google.protobuf.ByteString getAppHash() { return appHash_; } 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 (consensusParams_ != null) { output.writeMessage(1, getConsensusParams()); } for (int i = 0; i < validators_.size(); i++) { output.writeMessage(2, validators_.get(i)); } if (!appHash_.isEmpty()) { output.writeBytes(3, appHash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (consensusParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getConsensusParams()); } for (int i = 0; i < validators_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, validators_.get(i)); } if (!appHash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, appHash_); } 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 tendermint.abci.Types.ResponseInitChain)) { return super.equals(obj); } tendermint.abci.Types.ResponseInitChain other = (tendermint.abci.Types.ResponseInitChain) obj; boolean result = true; result = result && (hasConsensusParams() == other.hasConsensusParams()); if (hasConsensusParams()) { result = result && getConsensusParams() .equals(other.getConsensusParams()); } result = result && getValidatorsList() .equals(other.getValidatorsList()); result = result && getAppHash() .equals(other.getAppHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasConsensusParams()) { hash = (37 * hash) + CONSENSUS_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getConsensusParams().hashCode(); } if (getValidatorsCount() > 0) { hash = (37 * hash) + VALIDATORS_FIELD_NUMBER; hash = (53 * hash) + getValidatorsList().hashCode(); } hash = (37 * hash) + APP_HASH_FIELD_NUMBER; hash = (53 * hash) + getAppHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseInitChain parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInitChain parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInitChain parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInitChain parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInitChain parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseInitChain parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseInitChain parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInitChain 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 tendermint.abci.Types.ResponseInitChain parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInitChain 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 tendermint.abci.Types.ResponseInitChain parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseInitChain 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(tendermint.abci.Types.ResponseInitChain 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 tendermint.abci.ResponseInitChain} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseInitChain) tendermint.abci.Types.ResponseInitChainOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInitChain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInitChain_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseInitChain.class, tendermint.abci.Types.ResponseInitChain.Builder.class); } // Construct using tendermint.abci.Types.ResponseInitChain.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidatorsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (consensusParamsBuilder_ == null) { consensusParams_ = null; } else { consensusParams_ = null; consensusParamsBuilder_ = null; } if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { validatorsBuilder_.clear(); } appHash_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseInitChain_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseInitChain getDefaultInstanceForType() { return tendermint.abci.Types.ResponseInitChain.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseInitChain build() { tendermint.abci.Types.ResponseInitChain result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseInitChain buildPartial() { tendermint.abci.Types.ResponseInitChain result = new tendermint.abci.Types.ResponseInitChain(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (consensusParamsBuilder_ == null) { result.consensusParams_ = consensusParams_; } else { result.consensusParams_ = consensusParamsBuilder_.build(); } if (validatorsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { validators_ = java.util.Collections.unmodifiableList(validators_); bitField0_ = (bitField0_ & ~0x00000002); } result.validators_ = validators_; } else { result.validators_ = validatorsBuilder_.build(); } result.appHash_ = appHash_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseInitChain) { return mergeFrom((tendermint.abci.Types.ResponseInitChain)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseInitChain other) { if (other == tendermint.abci.Types.ResponseInitChain.getDefaultInstance()) return this; if (other.hasConsensusParams()) { mergeConsensusParams(other.getConsensusParams()); } if (validatorsBuilder_ == null) { if (!other.validators_.isEmpty()) { if (validators_.isEmpty()) { validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValidatorsIsMutable(); validators_.addAll(other.validators_); } onChanged(); } } else { if (!other.validators_.isEmpty()) { if (validatorsBuilder_.isEmpty()) { validatorsBuilder_.dispose(); validatorsBuilder_ = null; validators_ = other.validators_; bitField0_ = (bitField0_ & ~0x00000002); validatorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidatorsFieldBuilder() : null; } else { validatorsBuilder_.addAllMessages(other.validators_); } } } if (other.getAppHash() != com.google.protobuf.ByteString.EMPTY) { setAppHash(other.getAppHash()); } 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 { tendermint.abci.Types.ResponseInitChain parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseInitChain) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private tendermint.abci.Types.ConsensusParams consensusParams_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> consensusParamsBuilder_; /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public boolean hasConsensusParams() { return consensusParamsBuilder_ != null || consensusParams_ != null; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public tendermint.abci.Types.ConsensusParams getConsensusParams() { if (consensusParamsBuilder_ == null) { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } else { return consensusParamsBuilder_.getMessage(); } } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public Builder setConsensusParams(tendermint.abci.Types.ConsensusParams value) { if (consensusParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusParams_ = value; onChanged(); } else { consensusParamsBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public Builder setConsensusParams( tendermint.abci.Types.ConsensusParams.Builder builderForValue) { if (consensusParamsBuilder_ == null) { consensusParams_ = builderForValue.build(); onChanged(); } else { consensusParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public Builder mergeConsensusParams(tendermint.abci.Types.ConsensusParams value) { if (consensusParamsBuilder_ == null) { if (consensusParams_ != null) { consensusParams_ = tendermint.abci.Types.ConsensusParams.newBuilder(consensusParams_).mergeFrom(value).buildPartial(); } else { consensusParams_ = value; } onChanged(); } else { consensusParamsBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public Builder clearConsensusParams() { if (consensusParamsBuilder_ == null) { consensusParams_ = null; onChanged(); } else { consensusParams_ = null; consensusParamsBuilder_ = null; } return this; } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public tendermint.abci.Types.ConsensusParams.Builder getConsensusParamsBuilder() { onChanged(); return getConsensusParamsFieldBuilder().getBuilder(); } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamsOrBuilder() { if (consensusParamsBuilder_ != null) { return consensusParamsBuilder_.getMessageOrBuilder(); } else { return consensusParams_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParams_; } } /** * .tendermint.abci.ConsensusParams consensus_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> getConsensusParamsFieldBuilder() { if (consensusParamsBuilder_ == null) { consensusParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder>( getConsensusParams(), getParentForChildren(), isClean()); consensusParams_ = null; } return consensusParamsBuilder_; } private java.util.List validators_ = java.util.Collections.emptyList(); private void ensureValidatorsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { validators_ = new java.util.ArrayList(validators_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> validatorsBuilder_; /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsList() { if (validatorsBuilder_ == null) { return java.util.Collections.unmodifiableList(validators_); } else { return validatorsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public int getValidatorsCount() { if (validatorsBuilder_ == null) { return validators_.size(); } else { return validatorsBuilder_.getCount(); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidators(int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder setValidators( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.set(index, value); onChanged(); } else { validatorsBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder setValidators( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.set(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder addValidators(tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(value); onChanged(); } else { validatorsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder addValidators( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorsIsMutable(); validators_.add(index, value); onChanged(); } else { validatorsBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder addValidators( tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder addValidators( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.add(index, builderForValue.build()); onChanged(); } else { validatorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder addAllValidators( java.lang.Iterable values) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validators_); onChanged(); } else { validatorsBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder clearValidators() { if (validatorsBuilder_ == null) { validators_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { validatorsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public Builder removeValidators(int index) { if (validatorsBuilder_ == null) { ensureValidatorsIsMutable(); validators_.remove(index); onChanged(); } else { validatorsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder getValidatorsBuilder( int index) { return getValidatorsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorsOrBuilder( int index) { if (validatorsBuilder_ == null) { return validators_.get(index); } else { return validatorsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsOrBuilderList() { if (validatorsBuilder_ != null) { return validatorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validators_); } } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorsBuilder() { return getValidatorsFieldBuilder().addBuilder( tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorsBuilder( int index) { return getValidatorsFieldBuilder().addBuilder( index, tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validators = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorsBuilderList() { return getValidatorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> getValidatorsFieldBuilder() { if (validatorsBuilder_ == null) { validatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder>( validators_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); validators_ = null; } return validatorsBuilder_; } private com.google.protobuf.ByteString appHash_ = com.google.protobuf.ByteString.EMPTY; /** * bytes app_hash = 3; */ public com.google.protobuf.ByteString getAppHash() { return appHash_; } /** * bytes app_hash = 3; */ public Builder setAppHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } appHash_ = value; onChanged(); return this; } /** * bytes app_hash = 3; */ public Builder clearAppHash() { appHash_ = getDefaultInstance().getAppHash(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseInitChain) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseInitChain) private static final tendermint.abci.Types.ResponseInitChain DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseInitChain(); } public static tendermint.abci.Types.ResponseInitChain getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseInitChain parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseInitChain(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 tendermint.abci.Types.ResponseInitChain getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseQuery) com.google.protobuf.MessageOrBuilder { /** * uint32 code = 1; */ int getCode(); /** *
     * bytes data = 2; // use "value" instead.
     * 
* * string log = 3; */ java.lang.String getLog(); /** *
     * bytes data = 2; // use "value" instead.
     * 
* * string log = 3; */ com.google.protobuf.ByteString getLogBytes(); /** *
     * nondeterministic
     * 
* * string info = 4; */ java.lang.String getInfo(); /** *
     * nondeterministic
     * 
* * string info = 4; */ com.google.protobuf.ByteString getInfoBytes(); /** * int64 index = 5; */ long getIndex(); /** * bytes key = 6; */ com.google.protobuf.ByteString getKey(); /** * bytes value = 7; */ com.google.protobuf.ByteString getValue(); /** * .tendermint.crypto.ProofOps proof_ops = 8; */ boolean hasProofOps(); /** * .tendermint.crypto.ProofOps proof_ops = 8; */ tendermint.crypto.ProofOuterClass.ProofOps getProofOps(); /** * .tendermint.crypto.ProofOps proof_ops = 8; */ tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder getProofOpsOrBuilder(); /** * int64 height = 9; */ long getHeight(); /** * string codespace = 10; */ java.lang.String getCodespace(); /** * string codespace = 10; */ com.google.protobuf.ByteString getCodespaceBytes(); } /** * Protobuf type {@code tendermint.abci.ResponseQuery} */ public static final class ResponseQuery extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseQuery) ResponseQueryOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseQuery.newBuilder() to construct. private ResponseQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseQuery() { code_ = 0; log_ = ""; info_ = ""; index_ = 0L; key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; height_ = 0L; codespace_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseQuery( 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: { code_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); info_ = s; break; } case 40: { index_ = input.readInt64(); break; } case 50: { key_ = input.readBytes(); break; } case 58: { value_ = input.readBytes(); break; } case 66: { tendermint.crypto.ProofOuterClass.ProofOps.Builder subBuilder = null; if (proofOps_ != null) { subBuilder = proofOps_.toBuilder(); } proofOps_ = input.readMessage(tendermint.crypto.ProofOuterClass.ProofOps.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofOps_); proofOps_ = subBuilder.buildPartial(); } break; } case 72: { height_ = input.readInt64(); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); codespace_ = s; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseQuery.class, tendermint.abci.Types.ResponseQuery.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * uint32 code = 1; */ public int getCode() { return code_; } public static final int LOG_FIELD_NUMBER = 3; private volatile java.lang.Object log_; /** *
     * bytes data = 2; // use "value" instead.
     * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; 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(); log_ = s; return s; } } /** *
     * bytes data = 2; // use "value" instead.
     * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INFO_FIELD_NUMBER = 4; private volatile java.lang.Object info_; /** *
     * nondeterministic
     * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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(); info_ = s; return s; } } /** *
     * nondeterministic
     * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INDEX_FIELD_NUMBER = 5; private long index_; /** * int64 index = 5; */ public long getIndex() { return index_; } public static final int KEY_FIELD_NUMBER = 6; private com.google.protobuf.ByteString key_; /** * bytes key = 6; */ public com.google.protobuf.ByteString getKey() { return key_; } public static final int VALUE_FIELD_NUMBER = 7; private com.google.protobuf.ByteString value_; /** * bytes value = 7; */ public com.google.protobuf.ByteString getValue() { return value_; } public static final int PROOF_OPS_FIELD_NUMBER = 8; private tendermint.crypto.ProofOuterClass.ProofOps proofOps_; /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public boolean hasProofOps() { return proofOps_ != null; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public tendermint.crypto.ProofOuterClass.ProofOps getProofOps() { return proofOps_ == null ? tendermint.crypto.ProofOuterClass.ProofOps.getDefaultInstance() : proofOps_; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder getProofOpsOrBuilder() { return getProofOps(); } public static final int HEIGHT_FIELD_NUMBER = 9; private long height_; /** * int64 height = 9; */ public long getHeight() { return height_; } public static final int CODESPACE_FIELD_NUMBER = 10; private volatile java.lang.Object codespace_; /** * string codespace = 10; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; 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(); codespace_ = s; return s; } } /** * string codespace = 10; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = 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 (code_ != 0) { output.writeUInt32(1, code_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, log_); } if (!getInfoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, info_); } if (index_ != 0L) { output.writeInt64(5, index_); } if (!key_.isEmpty()) { output.writeBytes(6, key_); } if (!value_.isEmpty()) { output.writeBytes(7, value_); } if (proofOps_ != null) { output.writeMessage(8, getProofOps()); } if (height_ != 0L) { output.writeInt64(9, height_); } if (!getCodespaceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, codespace_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, code_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, log_); } if (!getInfoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, info_); } if (index_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, index_); } if (!key_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, key_); } if (!value_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, value_); } if (proofOps_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getProofOps()); } if (height_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, height_); } if (!getCodespaceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, codespace_); } 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 tendermint.abci.Types.ResponseQuery)) { return super.equals(obj); } tendermint.abci.Types.ResponseQuery other = (tendermint.abci.Types.ResponseQuery) obj; boolean result = true; result = result && (getCode() == other.getCode()); result = result && getLog() .equals(other.getLog()); result = result && getInfo() .equals(other.getInfo()); result = result && (getIndex() == other.getIndex()); result = result && getKey() .equals(other.getKey()); result = result && getValue() .equals(other.getValue()); result = result && (hasProofOps() == other.hasProofOps()); if (hasProofOps()) { result = result && getProofOps() .equals(other.getProofOps()); } result = result && (getHeight() == other.getHeight()); result = result && getCodespace() .equals(other.getCodespace()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().hashCode(); hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIndex()); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); if (hasProofOps()) { hash = (37 * hash) + PROOF_OPS_FIELD_NUMBER; hash = (53 * hash) + getProofOps().hashCode(); } hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeight()); hash = (37 * hash) + CODESPACE_FIELD_NUMBER; hash = (53 * hash) + getCodespace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseQuery parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseQuery parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseQuery parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseQuery parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseQuery 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 tendermint.abci.Types.ResponseQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseQuery 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 tendermint.abci.Types.ResponseQuery parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseQuery 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(tendermint.abci.Types.ResponseQuery 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 tendermint.abci.ResponseQuery} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseQuery) tendermint.abci.Types.ResponseQueryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseQuery.class, tendermint.abci.Types.ResponseQuery.Builder.class); } // Construct using tendermint.abci.Types.ResponseQuery.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(); code_ = 0; log_ = ""; info_ = ""; index_ = 0L; key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; if (proofOpsBuilder_ == null) { proofOps_ = null; } else { proofOps_ = null; proofOpsBuilder_ = null; } height_ = 0L; codespace_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseQuery_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseQuery getDefaultInstanceForType() { return tendermint.abci.Types.ResponseQuery.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseQuery build() { tendermint.abci.Types.ResponseQuery result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseQuery buildPartial() { tendermint.abci.Types.ResponseQuery result = new tendermint.abci.Types.ResponseQuery(this); result.code_ = code_; result.log_ = log_; result.info_ = info_; result.index_ = index_; result.key_ = key_; result.value_ = value_; if (proofOpsBuilder_ == null) { result.proofOps_ = proofOps_; } else { result.proofOps_ = proofOpsBuilder_.build(); } result.height_ = height_; result.codespace_ = codespace_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseQuery) { return mergeFrom((tendermint.abci.Types.ResponseQuery)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseQuery other) { if (other == tendermint.abci.Types.ResponseQuery.getDefaultInstance()) return this; if (other.getCode() != 0) { setCode(other.getCode()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } if (!other.getInfo().isEmpty()) { info_ = other.info_; onChanged(); } if (other.getIndex() != 0L) { setIndex(other.getIndex()); } if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } if (other.getValue() != com.google.protobuf.ByteString.EMPTY) { setValue(other.getValue()); } if (other.hasProofOps()) { mergeProofOps(other.getProofOps()); } if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (!other.getCodespace().isEmpty()) { codespace_ = other.codespace_; 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 { tendermint.abci.Types.ResponseQuery parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int code_ ; /** * uint32 code = 1; */ public int getCode() { return code_; } /** * uint32 code = 1; */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /** * uint32 code = 1; */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object log_ = ""; /** *
       * bytes data = 2; // use "value" instead.
       * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); log_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * bytes data = 2; // use "value" instead.
       * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * bytes data = 2; // use "value" instead.
       * 
* * string log = 3; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** *
       * bytes data = 2; // use "value" instead.
       * 
* * string log = 3; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** *
       * bytes data = 2; // use "value" instead.
       * 
* * string log = 3; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } private java.lang.Object info_ = ""; /** *
       * nondeterministic
       * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder clearInfo() { info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); info_ = value; onChanged(); return this; } private long index_ ; /** * int64 index = 5; */ public long getIndex() { return index_; } /** * int64 index = 5; */ public Builder setIndex(long value) { index_ = value; onChanged(); return this; } /** * int64 index = 5; */ public Builder clearIndex() { index_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * bytes key = 6; */ public com.google.protobuf.ByteString getKey() { return key_; } /** * bytes key = 6; */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** * bytes key = 6; */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * bytes value = 7; */ public com.google.protobuf.ByteString getValue() { return value_; } /** * bytes value = 7; */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /** * bytes value = 7; */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } private tendermint.crypto.ProofOuterClass.ProofOps proofOps_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.ProofOuterClass.ProofOps, tendermint.crypto.ProofOuterClass.ProofOps.Builder, tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder> proofOpsBuilder_; /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public boolean hasProofOps() { return proofOpsBuilder_ != null || proofOps_ != null; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public tendermint.crypto.ProofOuterClass.ProofOps getProofOps() { if (proofOpsBuilder_ == null) { return proofOps_ == null ? tendermint.crypto.ProofOuterClass.ProofOps.getDefaultInstance() : proofOps_; } else { return proofOpsBuilder_.getMessage(); } } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public Builder setProofOps(tendermint.crypto.ProofOuterClass.ProofOps value) { if (proofOpsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofOps_ = value; onChanged(); } else { proofOpsBuilder_.setMessage(value); } return this; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public Builder setProofOps( tendermint.crypto.ProofOuterClass.ProofOps.Builder builderForValue) { if (proofOpsBuilder_ == null) { proofOps_ = builderForValue.build(); onChanged(); } else { proofOpsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public Builder mergeProofOps(tendermint.crypto.ProofOuterClass.ProofOps value) { if (proofOpsBuilder_ == null) { if (proofOps_ != null) { proofOps_ = tendermint.crypto.ProofOuterClass.ProofOps.newBuilder(proofOps_).mergeFrom(value).buildPartial(); } else { proofOps_ = value; } onChanged(); } else { proofOpsBuilder_.mergeFrom(value); } return this; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public Builder clearProofOps() { if (proofOpsBuilder_ == null) { proofOps_ = null; onChanged(); } else { proofOps_ = null; proofOpsBuilder_ = null; } return this; } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public tendermint.crypto.ProofOuterClass.ProofOps.Builder getProofOpsBuilder() { onChanged(); return getProofOpsFieldBuilder().getBuilder(); } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ public tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder getProofOpsOrBuilder() { if (proofOpsBuilder_ != null) { return proofOpsBuilder_.getMessageOrBuilder(); } else { return proofOps_ == null ? tendermint.crypto.ProofOuterClass.ProofOps.getDefaultInstance() : proofOps_; } } /** * .tendermint.crypto.ProofOps proof_ops = 8; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.ProofOuterClass.ProofOps, tendermint.crypto.ProofOuterClass.ProofOps.Builder, tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder> getProofOpsFieldBuilder() { if (proofOpsBuilder_ == null) { proofOpsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.ProofOuterClass.ProofOps, tendermint.crypto.ProofOuterClass.ProofOps.Builder, tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder>( getProofOps(), getParentForChildren(), isClean()); proofOps_ = null; } return proofOpsBuilder_; } private long height_ ; /** * int64 height = 9; */ public long getHeight() { return height_; } /** * int64 height = 9; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** * int64 height = 9; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private java.lang.Object codespace_ = ""; /** * string codespace = 10; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codespace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string codespace = 10; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string codespace = 10; */ public Builder setCodespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } codespace_ = value; onChanged(); return this; } /** * string codespace = 10; */ public Builder clearCodespace() { codespace_ = getDefaultInstance().getCodespace(); onChanged(); return this; } /** * string codespace = 10; */ public Builder setCodespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); codespace_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseQuery) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseQuery) private static final tendermint.abci.Types.ResponseQuery DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseQuery(); } public static tendermint.abci.Types.ResponseQuery getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseQuery parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseQuery(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 tendermint.abci.Types.ResponseQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseBeginBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseBeginBlock) com.google.protobuf.MessageOrBuilder { /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsList(); /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.Event getEvents(int index); /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ int getEventsCount(); /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsOrBuilderList(); /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index); } /** * Protobuf type {@code tendermint.abci.ResponseBeginBlock} */ public static final class ResponseBeginBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseBeginBlock) ResponseBeginBlockOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseBeginBlock.newBuilder() to construct. private ResponseBeginBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseBeginBlock() { events_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseBeginBlock( 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) == 0x00000001)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } events_.add( input.readMessage(tendermint.abci.Types.Event.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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) == 0x00000001)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseBeginBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseBeginBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseBeginBlock.class, tendermint.abci.Types.ResponseBeginBlock.Builder.class); } public static final int EVENTS_FIELD_NUMBER = 1; private java.util.List events_; /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { return events_; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { return events_.size(); } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { return events_.get(index); } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { return events_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < events_.size(); i++) { output.writeMessage(1, events_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < events_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, events_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.ResponseBeginBlock)) { return super.equals(obj); } tendermint.abci.Types.ResponseBeginBlock other = (tendermint.abci.Types.ResponseBeginBlock) obj; boolean result = true; result = result && getEventsList() .equals(other.getEventsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseBeginBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseBeginBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseBeginBlock 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 tendermint.abci.Types.ResponseBeginBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseBeginBlock 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 tendermint.abci.Types.ResponseBeginBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseBeginBlock 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(tendermint.abci.Types.ResponseBeginBlock 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 tendermint.abci.ResponseBeginBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseBeginBlock) tendermint.abci.Types.ResponseBeginBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseBeginBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseBeginBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseBeginBlock.class, tendermint.abci.Types.ResponseBeginBlock.Builder.class); } // Construct using tendermint.abci.Types.ResponseBeginBlock.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(); if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { eventsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseBeginBlock_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseBeginBlock getDefaultInstanceForType() { return tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseBeginBlock build() { tendermint.abci.Types.ResponseBeginBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseBeginBlock buildPartial() { tendermint.abci.Types.ResponseBeginBlock result = new tendermint.abci.Types.ResponseBeginBlock(this); int from_bitField0_ = bitField0_; if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { events_ = java.util.Collections.unmodifiableList(events_); bitField0_ = (bitField0_ & ~0x00000001); } result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseBeginBlock) { return mergeFrom((tendermint.abci.Types.ResponseBeginBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseBeginBlock other) { if (other == tendermint.abci.Types.ResponseBeginBlock.getDefaultInstance()) return this; 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_); } } } 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 { tendermint.abci.Types.ResponseBeginBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseBeginBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List events_ = java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> eventsBuilder_; /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents(tendermint.abci.Types.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ 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 .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 1 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder>( events_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseBeginBlock) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseBeginBlock) private static final tendermint.abci.Types.ResponseBeginBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseBeginBlock(); } public static tendermint.abci.Types.ResponseBeginBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseBeginBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseBeginBlock(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 tendermint.abci.Types.ResponseBeginBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseCheckTxOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseCheckTx) com.google.protobuf.MessageOrBuilder { /** * uint32 code = 1; */ int getCode(); /** * bytes data = 2; */ com.google.protobuf.ByteString getData(); /** *
     * nondeterministic
     * 
* * string log = 3; */ java.lang.String getLog(); /** *
     * nondeterministic
     * 
* * string log = 3; */ com.google.protobuf.ByteString getLogBytes(); /** *
     * nondeterministic
     * 
* * string info = 4; */ java.lang.String getInfo(); /** *
     * nondeterministic
     * 
* * string info = 4; */ com.google.protobuf.ByteString getInfoBytes(); /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ long getGasWanted(); /** * int64 gas_used = 6[json_name = "gas_used"]; */ long getGasUsed(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsList(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.Event getEvents(int index); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ int getEventsCount(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsOrBuilderList(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index); /** * string codespace = 8; */ java.lang.String getCodespace(); /** * string codespace = 8; */ com.google.protobuf.ByteString getCodespaceBytes(); } /** * Protobuf type {@code tendermint.abci.ResponseCheckTx} */ public static final class ResponseCheckTx extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseCheckTx) ResponseCheckTxOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseCheckTx.newBuilder() to construct. private ResponseCheckTx(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseCheckTx() { code_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; events_ = java.util.Collections.emptyList(); codespace_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseCheckTx( 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: { code_ = input.readUInt32(); break; } case 18: { data_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); info_ = s; break; } case 40: { gasWanted_ = input.readInt64(); break; } case 48: { gasUsed_ = input.readInt64(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } events_.add( input.readMessage(tendermint.abci.Types.Event.parser(), extensionRegistry)); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); codespace_ = s; break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000040) == 0x00000040)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCheckTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCheckTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseCheckTx.class, tendermint.abci.Types.ResponseCheckTx.Builder.class); } private int bitField0_; public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * uint32 code = 1; */ public int getCode() { return code_; } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int LOG_FIELD_NUMBER = 3; private volatile java.lang.Object log_; /** *
     * nondeterministic
     * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; 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(); log_ = s; return s; } } /** *
     * nondeterministic
     * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INFO_FIELD_NUMBER = 4; private volatile java.lang.Object info_; /** *
     * nondeterministic
     * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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(); info_ = s; return s; } } /** *
     * nondeterministic
     * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GAS_WANTED_FIELD_NUMBER = 5; private long gasWanted_; /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public long getGasWanted() { return gasWanted_; } public static final int GAS_USED_FIELD_NUMBER = 6; private long gasUsed_; /** * int64 gas_used = 6[json_name = "gas_used"]; */ public long getGasUsed() { return gasUsed_; } public static final int EVENTS_FIELD_NUMBER = 7; private java.util.List events_; /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { return events_; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { return events_.size(); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { return events_.get(index); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { return events_.get(index); } public static final int CODESPACE_FIELD_NUMBER = 8; private volatile java.lang.Object codespace_; /** * string codespace = 8; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; 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(); codespace_ = s; return s; } } /** * string codespace = 8; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = 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 (code_ != 0) { output.writeUInt32(1, code_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, log_); } if (!getInfoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, info_); } if (gasWanted_ != 0L) { output.writeInt64(5, gasWanted_); } if (gasUsed_ != 0L) { output.writeInt64(6, gasUsed_); } for (int i = 0; i < events_.size(); i++) { output.writeMessage(7, events_.get(i)); } if (!getCodespaceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, codespace_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, code_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, log_); } if (!getInfoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, info_); } if (gasWanted_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, gasWanted_); } if (gasUsed_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, gasUsed_); } for (int i = 0; i < events_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, events_.get(i)); } if (!getCodespaceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, codespace_); } 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 tendermint.abci.Types.ResponseCheckTx)) { return super.equals(obj); } tendermint.abci.Types.ResponseCheckTx other = (tendermint.abci.Types.ResponseCheckTx) obj; boolean result = true; result = result && (getCode() == other.getCode()); result = result && getData() .equals(other.getData()); result = result && getLog() .equals(other.getLog()); result = result && getInfo() .equals(other.getInfo()); result = result && (getGasWanted() == other.getGasWanted()); result = result && (getGasUsed() == other.getGasUsed()); result = result && getEventsList() .equals(other.getEventsList()); result = result && getCodespace() .equals(other.getCodespace()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().hashCode(); hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); hash = (37 * hash) + GAS_WANTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGasWanted()); hash = (37 * hash) + GAS_USED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGasUsed()); if (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } hash = (37 * hash) + CODESPACE_FIELD_NUMBER; hash = (53 * hash) + getCodespace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseCheckTx parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCheckTx parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCheckTx parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCheckTx parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCheckTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCheckTx parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCheckTx parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCheckTx 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 tendermint.abci.Types.ResponseCheckTx parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCheckTx 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 tendermint.abci.Types.ResponseCheckTx parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCheckTx 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(tendermint.abci.Types.ResponseCheckTx 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 tendermint.abci.ResponseCheckTx} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseCheckTx) tendermint.abci.Types.ResponseCheckTxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCheckTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCheckTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseCheckTx.class, tendermint.abci.Types.ResponseCheckTx.Builder.class); } // Construct using tendermint.abci.Types.ResponseCheckTx.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(); code_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { eventsBuilder_.clear(); } codespace_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCheckTx_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseCheckTx getDefaultInstanceForType() { return tendermint.abci.Types.ResponseCheckTx.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseCheckTx build() { tendermint.abci.Types.ResponseCheckTx result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseCheckTx buildPartial() { tendermint.abci.Types.ResponseCheckTx result = new tendermint.abci.Types.ResponseCheckTx(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.code_ = code_; result.data_ = data_; result.log_ = log_; result.info_ = info_; result.gasWanted_ = gasWanted_; result.gasUsed_ = gasUsed_; if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { events_ = java.util.Collections.unmodifiableList(events_); bitField0_ = (bitField0_ & ~0x00000040); } result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } result.codespace_ = codespace_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseCheckTx) { return mergeFrom((tendermint.abci.Types.ResponseCheckTx)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseCheckTx other) { if (other == tendermint.abci.Types.ResponseCheckTx.getDefaultInstance()) return this; if (other.getCode() != 0) { setCode(other.getCode()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } if (!other.getInfo().isEmpty()) { info_ = other.info_; onChanged(); } if (other.getGasWanted() != 0L) { setGasWanted(other.getGasWanted()); } if (other.getGasUsed() != 0L) { setGasUsed(other.getGasUsed()); } if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureEventsIsMutable(); events_.addAll(other.events_); } onChanged(); } } else { if (!other.events_.isEmpty()) { if (eventsBuilder_.isEmpty()) { eventsBuilder_.dispose(); eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000040); eventsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEventsFieldBuilder() : null; } else { eventsBuilder_.addAllMessages(other.events_); } } } if (!other.getCodespace().isEmpty()) { codespace_ = other.codespace_; 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 { tendermint.abci.Types.ResponseCheckTx parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseCheckTx) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int code_ ; /** * uint32 code = 1; */ public int getCode() { return code_; } /** * uint32 code = 1; */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /** * uint32 code = 1; */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 2; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 2; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object log_ = ""; /** *
       * nondeterministic
       * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); log_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * nondeterministic
       * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } private java.lang.Object info_ = ""; /** *
       * nondeterministic
       * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder clearInfo() { info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); info_ = value; onChanged(); return this; } private long gasWanted_ ; /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public long getGasWanted() { return gasWanted_; } /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public Builder setGasWanted(long value) { gasWanted_ = value; onChanged(); return this; } /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public Builder clearGasWanted() { gasWanted_ = 0L; onChanged(); return this; } private long gasUsed_ ; /** * int64 gas_used = 6[json_name = "gas_used"]; */ public long getGasUsed() { return gasUsed_; } /** * int64 gas_used = 6[json_name = "gas_used"]; */ public Builder setGasUsed(long value) { gasUsed_ = value; onChanged(); return this; } /** * int64 gas_used = 6[json_name = "gas_used"]; */ public Builder clearGasUsed() { gasUsed_ = 0L; onChanged(); return this; } private java.util.List events_ = java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> eventsBuilder_; /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents(tendermint.abci.Types.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ 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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder>( events_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } private java.lang.Object codespace_ = ""; /** * string codespace = 8; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codespace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string codespace = 8; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string codespace = 8; */ public Builder setCodespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } codespace_ = value; onChanged(); return this; } /** * string codespace = 8; */ public Builder clearCodespace() { codespace_ = getDefaultInstance().getCodespace(); onChanged(); return this; } /** * string codespace = 8; */ public Builder setCodespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); codespace_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseCheckTx) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseCheckTx) private static final tendermint.abci.Types.ResponseCheckTx DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseCheckTx(); } public static tendermint.abci.Types.ResponseCheckTx getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseCheckTx parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseCheckTx(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 tendermint.abci.Types.ResponseCheckTx getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseDeliverTxOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseDeliverTx) com.google.protobuf.MessageOrBuilder { /** * uint32 code = 1; */ int getCode(); /** * bytes data = 2; */ com.google.protobuf.ByteString getData(); /** *
     * nondeterministic
     * 
* * string log = 3; */ java.lang.String getLog(); /** *
     * nondeterministic
     * 
* * string log = 3; */ com.google.protobuf.ByteString getLogBytes(); /** *
     * nondeterministic
     * 
* * string info = 4; */ java.lang.String getInfo(); /** *
     * nondeterministic
     * 
* * string info = 4; */ com.google.protobuf.ByteString getInfoBytes(); /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ long getGasWanted(); /** * int64 gas_used = 6[json_name = "gas_used"]; */ long getGasUsed(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsList(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.Event getEvents(int index); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ int getEventsCount(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsOrBuilderList(); /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index); /** * string codespace = 8; */ java.lang.String getCodespace(); /** * string codespace = 8; */ com.google.protobuf.ByteString getCodespaceBytes(); } /** * Protobuf type {@code tendermint.abci.ResponseDeliverTx} */ public static final class ResponseDeliverTx extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseDeliverTx) ResponseDeliverTxOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseDeliverTx.newBuilder() to construct. private ResponseDeliverTx(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseDeliverTx() { code_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; events_ = java.util.Collections.emptyList(); codespace_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseDeliverTx( 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: { code_ = input.readUInt32(); break; } case 18: { data_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); info_ = s; break; } case 40: { gasWanted_ = input.readInt64(); break; } case 48: { gasUsed_ = input.readInt64(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } events_.add( input.readMessage(tendermint.abci.Types.Event.parser(), extensionRegistry)); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); codespace_ = s; break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000040) == 0x00000040)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseDeliverTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseDeliverTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseDeliverTx.class, tendermint.abci.Types.ResponseDeliverTx.Builder.class); } private int bitField0_; public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * uint32 code = 1; */ public int getCode() { return code_; } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int LOG_FIELD_NUMBER = 3; private volatile java.lang.Object log_; /** *
     * nondeterministic
     * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; 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(); log_ = s; return s; } } /** *
     * nondeterministic
     * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INFO_FIELD_NUMBER = 4; private volatile java.lang.Object info_; /** *
     * nondeterministic
     * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; 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(); info_ = s; return s; } } /** *
     * nondeterministic
     * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GAS_WANTED_FIELD_NUMBER = 5; private long gasWanted_; /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public long getGasWanted() { return gasWanted_; } public static final int GAS_USED_FIELD_NUMBER = 6; private long gasUsed_; /** * int64 gas_used = 6[json_name = "gas_used"]; */ public long getGasUsed() { return gasUsed_; } public static final int EVENTS_FIELD_NUMBER = 7; private java.util.List events_; /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { return events_; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { return events_.size(); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { return events_.get(index); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { return events_.get(index); } public static final int CODESPACE_FIELD_NUMBER = 8; private volatile java.lang.Object codespace_; /** * string codespace = 8; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; 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(); codespace_ = s; return s; } } /** * string codespace = 8; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = 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 (code_ != 0) { output.writeUInt32(1, code_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, log_); } if (!getInfoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, info_); } if (gasWanted_ != 0L) { output.writeInt64(5, gasWanted_); } if (gasUsed_ != 0L) { output.writeInt64(6, gasUsed_); } for (int i = 0; i < events_.size(); i++) { output.writeMessage(7, events_.get(i)); } if (!getCodespaceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, codespace_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, code_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, log_); } if (!getInfoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, info_); } if (gasWanted_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, gasWanted_); } if (gasUsed_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, gasUsed_); } for (int i = 0; i < events_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, events_.get(i)); } if (!getCodespaceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, codespace_); } 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 tendermint.abci.Types.ResponseDeliverTx)) { return super.equals(obj); } tendermint.abci.Types.ResponseDeliverTx other = (tendermint.abci.Types.ResponseDeliverTx) obj; boolean result = true; result = result && (getCode() == other.getCode()); result = result && getData() .equals(other.getData()); result = result && getLog() .equals(other.getLog()); result = result && getInfo() .equals(other.getInfo()); result = result && (getGasWanted() == other.getGasWanted()); result = result && (getGasUsed() == other.getGasUsed()); result = result && getEventsList() .equals(other.getEventsList()); result = result && getCodespace() .equals(other.getCodespace()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().hashCode(); hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); hash = (37 * hash) + GAS_WANTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGasWanted()); hash = (37 * hash) + GAS_USED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGasUsed()); if (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } hash = (37 * hash) + CODESPACE_FIELD_NUMBER; hash = (53 * hash) + getCodespace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseDeliverTx parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseDeliverTx parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseDeliverTx 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 tendermint.abci.Types.ResponseDeliverTx parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseDeliverTx 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 tendermint.abci.Types.ResponseDeliverTx parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseDeliverTx 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(tendermint.abci.Types.ResponseDeliverTx 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 tendermint.abci.ResponseDeliverTx} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseDeliverTx) tendermint.abci.Types.ResponseDeliverTxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseDeliverTx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseDeliverTx_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseDeliverTx.class, tendermint.abci.Types.ResponseDeliverTx.Builder.class); } // Construct using tendermint.abci.Types.ResponseDeliverTx.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(); code_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { eventsBuilder_.clear(); } codespace_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseDeliverTx_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseDeliverTx getDefaultInstanceForType() { return tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseDeliverTx build() { tendermint.abci.Types.ResponseDeliverTx result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseDeliverTx buildPartial() { tendermint.abci.Types.ResponseDeliverTx result = new tendermint.abci.Types.ResponseDeliverTx(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.code_ = code_; result.data_ = data_; result.log_ = log_; result.info_ = info_; result.gasWanted_ = gasWanted_; result.gasUsed_ = gasUsed_; if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { events_ = java.util.Collections.unmodifiableList(events_); bitField0_ = (bitField0_ & ~0x00000040); } result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } result.codespace_ = codespace_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseDeliverTx) { return mergeFrom((tendermint.abci.Types.ResponseDeliverTx)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseDeliverTx other) { if (other == tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance()) return this; if (other.getCode() != 0) { setCode(other.getCode()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } if (!other.getInfo().isEmpty()) { info_ = other.info_; onChanged(); } if (other.getGasWanted() != 0L) { setGasWanted(other.getGasWanted()); } if (other.getGasUsed() != 0L) { setGasUsed(other.getGasUsed()); } if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureEventsIsMutable(); events_.addAll(other.events_); } onChanged(); } } else { if (!other.events_.isEmpty()) { if (eventsBuilder_.isEmpty()) { eventsBuilder_.dispose(); eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000040); eventsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEventsFieldBuilder() : null; } else { eventsBuilder_.addAllMessages(other.events_); } } } if (!other.getCodespace().isEmpty()) { codespace_ = other.codespace_; 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 { tendermint.abci.Types.ResponseDeliverTx parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseDeliverTx) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int code_ ; /** * uint32 code = 1; */ public int getCode() { return code_; } /** * uint32 code = 1; */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /** * uint32 code = 1; */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 2; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 2; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object log_ = ""; /** *
       * nondeterministic
       * 
* * string log = 3; */ public java.lang.String getLog() { java.lang.Object ref = log_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); log_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * nondeterministic
       * 
* * string log = 3; */ public com.google.protobuf.ByteString getLogBytes() { java.lang.Object ref = log_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); log_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string log = 3; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } private java.lang.Object info_ = ""; /** *
       * nondeterministic
       * 
* * string info = 4; */ public java.lang.String getInfo() { java.lang.Object ref = info_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); info_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public com.google.protobuf.ByteString getInfoBytes() { java.lang.Object ref = info_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); info_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder clearInfo() { info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** *
       * nondeterministic
       * 
* * string info = 4; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); info_ = value; onChanged(); return this; } private long gasWanted_ ; /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public long getGasWanted() { return gasWanted_; } /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public Builder setGasWanted(long value) { gasWanted_ = value; onChanged(); return this; } /** * int64 gas_wanted = 5[json_name = "gas_wanted"]; */ public Builder clearGasWanted() { gasWanted_ = 0L; onChanged(); return this; } private long gasUsed_ ; /** * int64 gas_used = 6[json_name = "gas_used"]; */ public long getGasUsed() { return gasUsed_; } /** * int64 gas_used = 6[json_name = "gas_used"]; */ public Builder setGasUsed(long value) { gasUsed_ = value; onChanged(); return this; } /** * int64 gas_used = 6[json_name = "gas_used"]; */ public Builder clearGasUsed() { gasUsed_ = 0L; onChanged(); return this; } private java.util.List events_ = java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> eventsBuilder_; /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents(tendermint.abci.Types.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ 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 .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 7 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder>( events_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } private java.lang.Object codespace_ = ""; /** * string codespace = 8; */ public java.lang.String getCodespace() { java.lang.Object ref = codespace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codespace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string codespace = 8; */ public com.google.protobuf.ByteString getCodespaceBytes() { java.lang.Object ref = codespace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codespace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string codespace = 8; */ public Builder setCodespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } codespace_ = value; onChanged(); return this; } /** * string codespace = 8; */ public Builder clearCodespace() { codespace_ = getDefaultInstance().getCodespace(); onChanged(); return this; } /** * string codespace = 8; */ public Builder setCodespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); codespace_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseDeliverTx) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseDeliverTx) private static final tendermint.abci.Types.ResponseDeliverTx DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseDeliverTx(); } public static tendermint.abci.Types.ResponseDeliverTx getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseDeliverTx parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseDeliverTx(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 tendermint.abci.Types.ResponseDeliverTx getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseEndBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseEndBlock) com.google.protobuf.MessageOrBuilder { /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorUpdatesList(); /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdate getValidatorUpdates(int index); /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ int getValidatorUpdatesCount(); /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ java.util.List getValidatorUpdatesOrBuilderList(); /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorUpdatesOrBuilder( int index); /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ boolean hasConsensusParamUpdates(); /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ tendermint.abci.Types.ConsensusParams getConsensusParamUpdates(); /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamUpdatesOrBuilder(); /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsList(); /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.Event getEvents(int index); /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ int getEventsCount(); /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ java.util.List getEventsOrBuilderList(); /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index); } /** * Protobuf type {@code tendermint.abci.ResponseEndBlock} */ public static final class ResponseEndBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseEndBlock) ResponseEndBlockOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseEndBlock.newBuilder() to construct. private ResponseEndBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseEndBlock() { validatorUpdates_ = java.util.Collections.emptyList(); events_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseEndBlock( 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) == 0x00000001)) { validatorUpdates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } validatorUpdates_.add( input.readMessage(tendermint.abci.Types.ValidatorUpdate.parser(), extensionRegistry)); break; } case 18: { tendermint.abci.Types.ConsensusParams.Builder subBuilder = null; if (consensusParamUpdates_ != null) { subBuilder = consensusParamUpdates_.toBuilder(); } consensusParamUpdates_ = input.readMessage(tendermint.abci.Types.ConsensusParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusParamUpdates_); consensusParamUpdates_ = subBuilder.buildPartial(); } break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } events_.add( input.readMessage(tendermint.abci.Types.Event.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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) == 0x00000001)) { validatorUpdates_ = java.util.Collections.unmodifiableList(validatorUpdates_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEndBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEndBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseEndBlock.class, tendermint.abci.Types.ResponseEndBlock.Builder.class); } private int bitField0_; public static final int VALIDATOR_UPDATES_FIELD_NUMBER = 1; private java.util.List validatorUpdates_; /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorUpdatesList() { return validatorUpdates_; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorUpdatesOrBuilderList() { return validatorUpdates_; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public int getValidatorUpdatesCount() { return validatorUpdates_.size(); } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidatorUpdates(int index) { return validatorUpdates_.get(index); } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorUpdatesOrBuilder( int index) { return validatorUpdates_.get(index); } public static final int CONSENSUS_PARAM_UPDATES_FIELD_NUMBER = 2; private tendermint.abci.Types.ConsensusParams consensusParamUpdates_; /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public boolean hasConsensusParamUpdates() { return consensusParamUpdates_ != null; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public tendermint.abci.Types.ConsensusParams getConsensusParamUpdates() { return consensusParamUpdates_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParamUpdates_; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamUpdatesOrBuilder() { return getConsensusParamUpdates(); } public static final int EVENTS_FIELD_NUMBER = 3; private java.util.List events_; /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { return events_; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { return events_.size(); } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { return events_.get(index); } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { return events_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < validatorUpdates_.size(); i++) { output.writeMessage(1, validatorUpdates_.get(i)); } if (consensusParamUpdates_ != null) { output.writeMessage(2, getConsensusParamUpdates()); } for (int i = 0; i < events_.size(); i++) { output.writeMessage(3, events_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < validatorUpdates_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, validatorUpdates_.get(i)); } if (consensusParamUpdates_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConsensusParamUpdates()); } for (int i = 0; i < events_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, events_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.ResponseEndBlock)) { return super.equals(obj); } tendermint.abci.Types.ResponseEndBlock other = (tendermint.abci.Types.ResponseEndBlock) obj; boolean result = true; result = result && getValidatorUpdatesList() .equals(other.getValidatorUpdatesList()); result = result && (hasConsensusParamUpdates() == other.hasConsensusParamUpdates()); if (hasConsensusParamUpdates()) { result = result && getConsensusParamUpdates() .equals(other.getConsensusParamUpdates()); } result = result && getEventsList() .equals(other.getEventsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getValidatorUpdatesCount() > 0) { hash = (37 * hash) + VALIDATOR_UPDATES_FIELD_NUMBER; hash = (53 * hash) + getValidatorUpdatesList().hashCode(); } if (hasConsensusParamUpdates()) { hash = (37 * hash) + CONSENSUS_PARAM_UPDATES_FIELD_NUMBER; hash = (53 * hash) + getConsensusParamUpdates().hashCode(); } if (getEventsCount() > 0) { hash = (37 * hash) + EVENTS_FIELD_NUMBER; hash = (53 * hash) + getEventsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseEndBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEndBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEndBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEndBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEndBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseEndBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseEndBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEndBlock 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 tendermint.abci.Types.ResponseEndBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEndBlock 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 tendermint.abci.Types.ResponseEndBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseEndBlock 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(tendermint.abci.Types.ResponseEndBlock 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 tendermint.abci.ResponseEndBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseEndBlock) tendermint.abci.Types.ResponseEndBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEndBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEndBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseEndBlock.class, tendermint.abci.Types.ResponseEndBlock.Builder.class); } // Construct using tendermint.abci.Types.ResponseEndBlock.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidatorUpdatesFieldBuilder(); getEventsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (validatorUpdatesBuilder_ == null) { validatorUpdates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { validatorUpdatesBuilder_.clear(); } if (consensusParamUpdatesBuilder_ == null) { consensusParamUpdates_ = null; } else { consensusParamUpdates_ = null; consensusParamUpdatesBuilder_ = null; } if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { eventsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseEndBlock_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseEndBlock getDefaultInstanceForType() { return tendermint.abci.Types.ResponseEndBlock.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseEndBlock build() { tendermint.abci.Types.ResponseEndBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseEndBlock buildPartial() { tendermint.abci.Types.ResponseEndBlock result = new tendermint.abci.Types.ResponseEndBlock(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (validatorUpdatesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { validatorUpdates_ = java.util.Collections.unmodifiableList(validatorUpdates_); bitField0_ = (bitField0_ & ~0x00000001); } result.validatorUpdates_ = validatorUpdates_; } else { result.validatorUpdates_ = validatorUpdatesBuilder_.build(); } if (consensusParamUpdatesBuilder_ == null) { result.consensusParamUpdates_ = consensusParamUpdates_; } else { result.consensusParamUpdates_ = consensusParamUpdatesBuilder_.build(); } if (eventsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { events_ = java.util.Collections.unmodifiableList(events_); bitField0_ = (bitField0_ & ~0x00000004); } result.events_ = events_; } else { result.events_ = eventsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseEndBlock) { return mergeFrom((tendermint.abci.Types.ResponseEndBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseEndBlock other) { if (other == tendermint.abci.Types.ResponseEndBlock.getDefaultInstance()) return this; if (validatorUpdatesBuilder_ == null) { if (!other.validatorUpdates_.isEmpty()) { if (validatorUpdates_.isEmpty()) { validatorUpdates_ = other.validatorUpdates_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValidatorUpdatesIsMutable(); validatorUpdates_.addAll(other.validatorUpdates_); } onChanged(); } } else { if (!other.validatorUpdates_.isEmpty()) { if (validatorUpdatesBuilder_.isEmpty()) { validatorUpdatesBuilder_.dispose(); validatorUpdatesBuilder_ = null; validatorUpdates_ = other.validatorUpdates_; bitField0_ = (bitField0_ & ~0x00000001); validatorUpdatesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getValidatorUpdatesFieldBuilder() : null; } else { validatorUpdatesBuilder_.addAllMessages(other.validatorUpdates_); } } } if (other.hasConsensusParamUpdates()) { mergeConsensusParamUpdates(other.getConsensusParamUpdates()); } if (eventsBuilder_ == null) { if (!other.events_.isEmpty()) { if (events_.isEmpty()) { events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureEventsIsMutable(); events_.addAll(other.events_); } onChanged(); } } else { if (!other.events_.isEmpty()) { if (eventsBuilder_.isEmpty()) { eventsBuilder_.dispose(); eventsBuilder_ = null; events_ = other.events_; bitField0_ = (bitField0_ & ~0x00000004); eventsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEventsFieldBuilder() : null; } else { eventsBuilder_.addAllMessages(other.events_); } } } 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 { tendermint.abci.Types.ResponseEndBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseEndBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List validatorUpdates_ = java.util.Collections.emptyList(); private void ensureValidatorUpdatesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { validatorUpdates_ = new java.util.ArrayList(validatorUpdates_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> validatorUpdatesBuilder_; /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorUpdatesList() { if (validatorUpdatesBuilder_ == null) { return java.util.Collections.unmodifiableList(validatorUpdates_); } else { return validatorUpdatesBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public int getValidatorUpdatesCount() { if (validatorUpdatesBuilder_ == null) { return validatorUpdates_.size(); } else { return validatorUpdatesBuilder_.getCount(); } } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate getValidatorUpdates(int index) { if (validatorUpdatesBuilder_ == null) { return validatorUpdates_.get(index); } else { return validatorUpdatesBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder setValidatorUpdates( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorUpdatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorUpdatesIsMutable(); validatorUpdates_.set(index, value); onChanged(); } else { validatorUpdatesBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder setValidatorUpdates( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorUpdatesBuilder_ == null) { ensureValidatorUpdatesIsMutable(); validatorUpdates_.set(index, builderForValue.build()); onChanged(); } else { validatorUpdatesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder addValidatorUpdates(tendermint.abci.Types.ValidatorUpdate value) { if (validatorUpdatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorUpdatesIsMutable(); validatorUpdates_.add(value); onChanged(); } else { validatorUpdatesBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder addValidatorUpdates( int index, tendermint.abci.Types.ValidatorUpdate value) { if (validatorUpdatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValidatorUpdatesIsMutable(); validatorUpdates_.add(index, value); onChanged(); } else { validatorUpdatesBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder addValidatorUpdates( tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorUpdatesBuilder_ == null) { ensureValidatorUpdatesIsMutable(); validatorUpdates_.add(builderForValue.build()); onChanged(); } else { validatorUpdatesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder addValidatorUpdates( int index, tendermint.abci.Types.ValidatorUpdate.Builder builderForValue) { if (validatorUpdatesBuilder_ == null) { ensureValidatorUpdatesIsMutable(); validatorUpdates_.add(index, builderForValue.build()); onChanged(); } else { validatorUpdatesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder addAllValidatorUpdates( java.lang.Iterable values) { if (validatorUpdatesBuilder_ == null) { ensureValidatorUpdatesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, validatorUpdates_); onChanged(); } else { validatorUpdatesBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder clearValidatorUpdates() { if (validatorUpdatesBuilder_ == null) { validatorUpdates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { validatorUpdatesBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public Builder removeValidatorUpdates(int index) { if (validatorUpdatesBuilder_ == null) { ensureValidatorUpdatesIsMutable(); validatorUpdates_.remove(index); onChanged(); } else { validatorUpdatesBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder getValidatorUpdatesBuilder( int index) { return getValidatorUpdatesFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdateOrBuilder getValidatorUpdatesOrBuilder( int index) { if (validatorUpdatesBuilder_ == null) { return validatorUpdates_.get(index); } else { return validatorUpdatesBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorUpdatesOrBuilderList() { if (validatorUpdatesBuilder_ != null) { return validatorUpdatesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(validatorUpdates_); } } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorUpdatesBuilder() { return getValidatorUpdatesFieldBuilder().addBuilder( tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorUpdate.Builder addValidatorUpdatesBuilder( int index) { return getValidatorUpdatesFieldBuilder().addBuilder( index, tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()); } /** * repeated .tendermint.abci.ValidatorUpdate validator_updates = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getValidatorUpdatesBuilderList() { return getValidatorUpdatesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder> getValidatorUpdatesFieldBuilder() { if (validatorUpdatesBuilder_ == null) { validatorUpdatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.ValidatorUpdate, tendermint.abci.Types.ValidatorUpdate.Builder, tendermint.abci.Types.ValidatorUpdateOrBuilder>( validatorUpdates_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); validatorUpdates_ = null; } return validatorUpdatesBuilder_; } private tendermint.abci.Types.ConsensusParams consensusParamUpdates_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> consensusParamUpdatesBuilder_; /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public boolean hasConsensusParamUpdates() { return consensusParamUpdatesBuilder_ != null || consensusParamUpdates_ != null; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public tendermint.abci.Types.ConsensusParams getConsensusParamUpdates() { if (consensusParamUpdatesBuilder_ == null) { return consensusParamUpdates_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParamUpdates_; } else { return consensusParamUpdatesBuilder_.getMessage(); } } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public Builder setConsensusParamUpdates(tendermint.abci.Types.ConsensusParams value) { if (consensusParamUpdatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusParamUpdates_ = value; onChanged(); } else { consensusParamUpdatesBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public Builder setConsensusParamUpdates( tendermint.abci.Types.ConsensusParams.Builder builderForValue) { if (consensusParamUpdatesBuilder_ == null) { consensusParamUpdates_ = builderForValue.build(); onChanged(); } else { consensusParamUpdatesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public Builder mergeConsensusParamUpdates(tendermint.abci.Types.ConsensusParams value) { if (consensusParamUpdatesBuilder_ == null) { if (consensusParamUpdates_ != null) { consensusParamUpdates_ = tendermint.abci.Types.ConsensusParams.newBuilder(consensusParamUpdates_).mergeFrom(value).buildPartial(); } else { consensusParamUpdates_ = value; } onChanged(); } else { consensusParamUpdatesBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public Builder clearConsensusParamUpdates() { if (consensusParamUpdatesBuilder_ == null) { consensusParamUpdates_ = null; onChanged(); } else { consensusParamUpdates_ = null; consensusParamUpdatesBuilder_ = null; } return this; } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public tendermint.abci.Types.ConsensusParams.Builder getConsensusParamUpdatesBuilder() { onChanged(); return getConsensusParamUpdatesFieldBuilder().getBuilder(); } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ public tendermint.abci.Types.ConsensusParamsOrBuilder getConsensusParamUpdatesOrBuilder() { if (consensusParamUpdatesBuilder_ != null) { return consensusParamUpdatesBuilder_.getMessageOrBuilder(); } else { return consensusParamUpdates_ == null ? tendermint.abci.Types.ConsensusParams.getDefaultInstance() : consensusParamUpdates_; } } /** * .tendermint.abci.ConsensusParams consensus_param_updates = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder> getConsensusParamUpdatesFieldBuilder() { if (consensusParamUpdatesBuilder_ == null) { consensusParamUpdatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ConsensusParams, tendermint.abci.Types.ConsensusParams.Builder, tendermint.abci.Types.ConsensusParamsOrBuilder>( getConsensusParamUpdates(), getParentForChildren(), isClean()); consensusParamUpdates_ = null; } return consensusParamUpdatesBuilder_; } private java.util.List events_ = java.util.Collections.emptyList(); private void ensureEventsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { events_ = new java.util.ArrayList(events_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> eventsBuilder_; /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder setEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents(tendermint.abci.Types.Event value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.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 .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder addEvents( int index, tendermint.abci.Types.Event.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ 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 .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, tendermint.abci.Types.Event.getDefaultInstance()); } /** * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "events,omitempty"]; */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Event, tendermint.abci.Types.Event.Builder, tendermint.abci.Types.EventOrBuilder>( events_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); events_ = null; } return eventsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseEndBlock) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseEndBlock) private static final tendermint.abci.Types.ResponseEndBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseEndBlock(); } public static tendermint.abci.Types.ResponseEndBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseEndBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseEndBlock(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 tendermint.abci.Types.ResponseEndBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseCommitOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseCommit) com.google.protobuf.MessageOrBuilder { /** *
     * reserve 1
     * 
* * bytes data = 2; */ com.google.protobuf.ByteString getData(); /** * int64 retain_height = 3; */ long getRetainHeight(); } /** * Protobuf type {@code tendermint.abci.ResponseCommit} */ public static final class ResponseCommit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseCommit) ResponseCommitOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseCommit.newBuilder() to construct. private ResponseCommit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseCommit() { data_ = com.google.protobuf.ByteString.EMPTY; retainHeight_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseCommit( 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 18: { data_ = input.readBytes(); break; } case 24: { retainHeight_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseCommit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCommit_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseCommit.class, tendermint.abci.Types.ResponseCommit.Builder.class); } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** *
     * reserve 1
     * 
* * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int RETAIN_HEIGHT_FIELD_NUMBER = 3; private long retainHeight_; /** * int64 retain_height = 3; */ public long getRetainHeight() { return retainHeight_; } 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 (!data_.isEmpty()) { output.writeBytes(2, data_); } if (retainHeight_ != 0L) { output.writeInt64(3, retainHeight_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (retainHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, retainHeight_); } 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 tendermint.abci.Types.ResponseCommit)) { return super.equals(obj); } tendermint.abci.Types.ResponseCommit other = (tendermint.abci.Types.ResponseCommit) obj; boolean result = true; result = result && getData() .equals(other.getData()); result = result && (getRetainHeight() == other.getRetainHeight()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + RETAIN_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRetainHeight()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseCommit parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCommit parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCommit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCommit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCommit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseCommit parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseCommit parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCommit 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 tendermint.abci.Types.ResponseCommit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCommit 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 tendermint.abci.Types.ResponseCommit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseCommit 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(tendermint.abci.Types.ResponseCommit 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 tendermint.abci.ResponseCommit} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseCommit) tendermint.abci.Types.ResponseCommitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCommit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCommit_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseCommit.class, tendermint.abci.Types.ResponseCommit.Builder.class); } // Construct using tendermint.abci.Types.ResponseCommit.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(); data_ = com.google.protobuf.ByteString.EMPTY; retainHeight_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseCommit_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseCommit getDefaultInstanceForType() { return tendermint.abci.Types.ResponseCommit.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseCommit build() { tendermint.abci.Types.ResponseCommit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseCommit buildPartial() { tendermint.abci.Types.ResponseCommit result = new tendermint.abci.Types.ResponseCommit(this); result.data_ = data_; result.retainHeight_ = retainHeight_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseCommit) { return mergeFrom((tendermint.abci.Types.ResponseCommit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseCommit other) { if (other == tendermint.abci.Types.ResponseCommit.getDefaultInstance()) return this; if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (other.getRetainHeight() != 0L) { setRetainHeight(other.getRetainHeight()); } 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 { tendermint.abci.Types.ResponseCommit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseCommit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * reserve 1
       * 
* * bytes data = 2; */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * reserve 1
       * 
* * bytes data = 2; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * reserve 1
       * 
* * bytes data = 2; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private long retainHeight_ ; /** * int64 retain_height = 3; */ public long getRetainHeight() { return retainHeight_; } /** * int64 retain_height = 3; */ public Builder setRetainHeight(long value) { retainHeight_ = value; onChanged(); return this; } /** * int64 retain_height = 3; */ public Builder clearRetainHeight() { retainHeight_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseCommit) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseCommit) private static final tendermint.abci.Types.ResponseCommit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseCommit(); } public static tendermint.abci.Types.ResponseCommit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseCommit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseCommit(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 tendermint.abci.Types.ResponseCommit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseListSnapshotsOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseListSnapshots) com.google.protobuf.MessageOrBuilder { /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ java.util.List getSnapshotsList(); /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ tendermint.abci.Types.Snapshot getSnapshots(int index); /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ int getSnapshotsCount(); /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ java.util.List getSnapshotsOrBuilderList(); /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ tendermint.abci.Types.SnapshotOrBuilder getSnapshotsOrBuilder( int index); } /** * Protobuf type {@code tendermint.abci.ResponseListSnapshots} */ public static final class ResponseListSnapshots extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseListSnapshots) ResponseListSnapshotsOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseListSnapshots.newBuilder() to construct. private ResponseListSnapshots(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseListSnapshots() { snapshots_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseListSnapshots( 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) == 0x00000001)) { snapshots_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } snapshots_.add( input.readMessage(tendermint.abci.Types.Snapshot.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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) == 0x00000001)) { snapshots_ = java.util.Collections.unmodifiableList(snapshots_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseListSnapshots_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseListSnapshots_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseListSnapshots.class, tendermint.abci.Types.ResponseListSnapshots.Builder.class); } public static final int SNAPSHOTS_FIELD_NUMBER = 1; private java.util.List snapshots_; /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public java.util.List getSnapshotsList() { return snapshots_; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public java.util.List getSnapshotsOrBuilderList() { return snapshots_; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public int getSnapshotsCount() { return snapshots_.size(); } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.SnapshotOrBuilder getSnapshotsOrBuilder( int index) { return snapshots_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < snapshots_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, snapshots_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.ResponseListSnapshots)) { return super.equals(obj); } tendermint.abci.Types.ResponseListSnapshots other = (tendermint.abci.Types.ResponseListSnapshots) obj; boolean result = true; result = result && getSnapshotsList() .equals(other.getSnapshotsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSnapshotsCount() > 0) { hash = (37 * hash) + SNAPSHOTS_FIELD_NUMBER; hash = (53 * hash) + getSnapshotsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseListSnapshots parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseListSnapshots parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseListSnapshots 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 tendermint.abci.Types.ResponseListSnapshots parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseListSnapshots 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 tendermint.abci.Types.ResponseListSnapshots parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseListSnapshots 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(tendermint.abci.Types.ResponseListSnapshots 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 tendermint.abci.ResponseListSnapshots} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseListSnapshots) tendermint.abci.Types.ResponseListSnapshotsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseListSnapshots_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseListSnapshots_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseListSnapshots.class, tendermint.abci.Types.ResponseListSnapshots.Builder.class); } // Construct using tendermint.abci.Types.ResponseListSnapshots.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSnapshotsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (snapshotsBuilder_ == null) { snapshots_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { snapshotsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseListSnapshots_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseListSnapshots getDefaultInstanceForType() { return tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseListSnapshots build() { tendermint.abci.Types.ResponseListSnapshots result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseListSnapshots buildPartial() { tendermint.abci.Types.ResponseListSnapshots result = new tendermint.abci.Types.ResponseListSnapshots(this); int from_bitField0_ = bitField0_; if (snapshotsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { snapshots_ = java.util.Collections.unmodifiableList(snapshots_); bitField0_ = (bitField0_ & ~0x00000001); } result.snapshots_ = snapshots_; } else { result.snapshots_ = snapshotsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseListSnapshots) { return mergeFrom((tendermint.abci.Types.ResponseListSnapshots)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseListSnapshots other) { if (other == tendermint.abci.Types.ResponseListSnapshots.getDefaultInstance()) return this; if (snapshotsBuilder_ == null) { if (!other.snapshots_.isEmpty()) { if (snapshots_.isEmpty()) { snapshots_ = other.snapshots_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSnapshotsIsMutable(); snapshots_.addAll(other.snapshots_); } onChanged(); } } else { if (!other.snapshots_.isEmpty()) { if (snapshotsBuilder_.isEmpty()) { snapshotsBuilder_.dispose(); snapshotsBuilder_ = null; snapshots_ = other.snapshots_; bitField0_ = (bitField0_ & ~0x00000001); snapshotsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSnapshotsFieldBuilder() : null; } else { snapshotsBuilder_.addAllMessages(other.snapshots_); } } } 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 { tendermint.abci.Types.ResponseListSnapshots parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseListSnapshots) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List snapshots_ = java.util.Collections.emptyList(); private void ensureSnapshotsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { snapshots_ = new java.util.ArrayList(snapshots_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder> snapshotsBuilder_; /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public java.util.List getSnapshotsList() { if (snapshotsBuilder_ == null) { return java.util.Collections.unmodifiableList(snapshots_); } else { return snapshotsBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public int getSnapshotsCount() { if (snapshotsBuilder_ == null) { return snapshots_.size(); } else { return snapshotsBuilder_.getCount(); } } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.Snapshot getSnapshots(int index) { if (snapshotsBuilder_ == null) { return snapshots_.get(index); } else { return snapshotsBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder setSnapshots( int index, tendermint.abci.Types.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotsIsMutable(); snapshots_.set(index, value); onChanged(); } else { snapshotsBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder setSnapshots( int index, tendermint.abci.Types.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.set(index, builderForValue.build()); onChanged(); } else { snapshotsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder addSnapshots(tendermint.abci.Types.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotsIsMutable(); snapshots_.add(value); onChanged(); } else { snapshotsBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder addSnapshots( int index, tendermint.abci.Types.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotsIsMutable(); snapshots_.add(index, value); onChanged(); } else { snapshotsBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder addSnapshots( tendermint.abci.Types.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.add(builderForValue.build()); onChanged(); } else { snapshotsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder addSnapshots( int index, tendermint.abci.Types.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.add(index, builderForValue.build()); onChanged(); } else { snapshotsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder addAllSnapshots( java.lang.Iterable values) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, snapshots_); onChanged(); } else { snapshotsBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder clearSnapshots() { if (snapshotsBuilder_ == null) { snapshots_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { snapshotsBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public Builder removeSnapshots(int index) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.remove(index); onChanged(); } else { snapshotsBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.Snapshot.Builder getSnapshotsBuilder( int index) { return getSnapshotsFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.SnapshotOrBuilder getSnapshotsOrBuilder( int index) { if (snapshotsBuilder_ == null) { return snapshots_.get(index); } else { return snapshotsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public java.util.List getSnapshotsOrBuilderList() { if (snapshotsBuilder_ != null) { return snapshotsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(snapshots_); } } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.Snapshot.Builder addSnapshotsBuilder() { return getSnapshotsFieldBuilder().addBuilder( tendermint.abci.Types.Snapshot.getDefaultInstance()); } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public tendermint.abci.Types.Snapshot.Builder addSnapshotsBuilder( int index) { return getSnapshotsFieldBuilder().addBuilder( index, tendermint.abci.Types.Snapshot.getDefaultInstance()); } /** * repeated .tendermint.abci.Snapshot snapshots = 1; */ public java.util.List getSnapshotsBuilderList() { return getSnapshotsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder> getSnapshotsFieldBuilder() { if (snapshotsBuilder_ == null) { snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.Snapshot, tendermint.abci.Types.Snapshot.Builder, tendermint.abci.Types.SnapshotOrBuilder>( snapshots_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); snapshots_ = null; } return snapshotsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseListSnapshots) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseListSnapshots) private static final tendermint.abci.Types.ResponseListSnapshots DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseListSnapshots(); } public static tendermint.abci.Types.ResponseListSnapshots getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseListSnapshots parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseListSnapshots(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 tendermint.abci.Types.ResponseListSnapshots getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOfferSnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseOfferSnapshot) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ int getResultValue(); /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ tendermint.abci.Types.ResponseOfferSnapshot.Result getResult(); } /** * Protobuf type {@code tendermint.abci.ResponseOfferSnapshot} */ public static final class ResponseOfferSnapshot extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseOfferSnapshot) ResponseOfferSnapshotOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseOfferSnapshot.newBuilder() to construct. private ResponseOfferSnapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseOfferSnapshot() { result_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseOfferSnapshot( 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(); result_ = rawValue; break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseOfferSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseOfferSnapshot.class, tendermint.abci.Types.ResponseOfferSnapshot.Builder.class); } /** * Protobuf enum {@code tendermint.abci.ResponseOfferSnapshot.Result} */ public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Unknown result, abort all snapshot restoration
       * 
* * UNKNOWN = 0; */ UNKNOWN(0), /** *
       * Snapshot accepted, apply chunks
       * 
* * ACCEPT = 1; */ ACCEPT(1), /** *
       * Abort all snapshot restoration
       * 
* * ABORT = 2; */ ABORT(2), /** *
       * Reject this specific snapshot, try others
       * 
* * REJECT = 3; */ REJECT(3), /** *
       * Reject all snapshots of this format, try others
       * 
* * REJECT_FORMAT = 4; */ REJECT_FORMAT(4), /** *
       * Reject all snapshots from the sender(s), try others
       * 
* * REJECT_SENDER = 5; */ REJECT_SENDER(5), UNRECOGNIZED(-1), ; /** *
       * Unknown result, abort all snapshot restoration
       * 
* * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** *
       * Snapshot accepted, apply chunks
       * 
* * ACCEPT = 1; */ public static final int ACCEPT_VALUE = 1; /** *
       * Abort all snapshot restoration
       * 
* * ABORT = 2; */ public static final int ABORT_VALUE = 2; /** *
       * Reject this specific snapshot, try others
       * 
* * REJECT = 3; */ public static final int REJECT_VALUE = 3; /** *
       * Reject all snapshots of this format, try others
       * 
* * REJECT_FORMAT = 4; */ public static final int REJECT_FORMAT_VALUE = 4; /** *
       * Reject all snapshots from the sender(s), try others
       * 
* * REJECT_SENDER = 5; */ public static final int REJECT_SENDER_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Result valueOf(int value) { return forNumber(value); } public static Result forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return ACCEPT; case 2: return ABORT; case 3: return REJECT; case 4: return REJECT_FORMAT; case 5: return REJECT_SENDER; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Result> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Result findValueByNumber(int number) { return Result.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return tendermint.abci.Types.ResponseOfferSnapshot.getDescriptor().getEnumTypes().get(0); } private static final Result[] VALUES = values(); public static Result valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Result(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:tendermint.abci.ResponseOfferSnapshot.Result) } public static final int RESULT_FIELD_NUMBER = 1; private int result_; /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public int getResultValue() { return result_; } /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public tendermint.abci.Types.ResponseOfferSnapshot.Result getResult() { @SuppressWarnings("deprecation") tendermint.abci.Types.ResponseOfferSnapshot.Result result = tendermint.abci.Types.ResponseOfferSnapshot.Result.valueOf(result_); return result == null ? tendermint.abci.Types.ResponseOfferSnapshot.Result.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 (result_ != tendermint.abci.Types.ResponseOfferSnapshot.Result.UNKNOWN.getNumber()) { output.writeEnum(1, result_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (result_ != tendermint.abci.Types.ResponseOfferSnapshot.Result.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, result_); } 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 tendermint.abci.Types.ResponseOfferSnapshot)) { return super.equals(obj); } tendermint.abci.Types.ResponseOfferSnapshot other = (tendermint.abci.Types.ResponseOfferSnapshot) obj; boolean result = true; result = result && result_ == other.result_; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseOfferSnapshot parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseOfferSnapshot 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 tendermint.abci.Types.ResponseOfferSnapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseOfferSnapshot 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 tendermint.abci.Types.ResponseOfferSnapshot parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseOfferSnapshot 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(tendermint.abci.Types.ResponseOfferSnapshot 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 tendermint.abci.ResponseOfferSnapshot} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseOfferSnapshot) tendermint.abci.Types.ResponseOfferSnapshotOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseOfferSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseOfferSnapshot.class, tendermint.abci.Types.ResponseOfferSnapshot.Builder.class); } // Construct using tendermint.abci.Types.ResponseOfferSnapshot.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(); result_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseOfferSnapshot getDefaultInstanceForType() { return tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseOfferSnapshot build() { tendermint.abci.Types.ResponseOfferSnapshot result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseOfferSnapshot buildPartial() { tendermint.abci.Types.ResponseOfferSnapshot result = new tendermint.abci.Types.ResponseOfferSnapshot(this); result.result_ = result_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseOfferSnapshot) { return mergeFrom((tendermint.abci.Types.ResponseOfferSnapshot)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseOfferSnapshot other) { if (other == tendermint.abci.Types.ResponseOfferSnapshot.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } 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 { tendermint.abci.Types.ResponseOfferSnapshot parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseOfferSnapshot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int result_ = 0; /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public int getResultValue() { return result_; } /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public Builder setResultValue(int value) { result_ = value; onChanged(); return this; } /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public tendermint.abci.Types.ResponseOfferSnapshot.Result getResult() { @SuppressWarnings("deprecation") tendermint.abci.Types.ResponseOfferSnapshot.Result result = tendermint.abci.Types.ResponseOfferSnapshot.Result.valueOf(result_); return result == null ? tendermint.abci.Types.ResponseOfferSnapshot.Result.UNRECOGNIZED : result; } /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public Builder setResult(tendermint.abci.Types.ResponseOfferSnapshot.Result value) { if (value == null) { throw new NullPointerException(); } result_ = value.getNumber(); onChanged(); return this; } /** * .tendermint.abci.ResponseOfferSnapshot.Result result = 1; */ public Builder clearResult() { result_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseOfferSnapshot) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseOfferSnapshot) private static final tendermint.abci.Types.ResponseOfferSnapshot DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseOfferSnapshot(); } public static tendermint.abci.Types.ResponseOfferSnapshot getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseOfferSnapshot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseOfferSnapshot(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 tendermint.abci.Types.ResponseOfferSnapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseLoadSnapshotChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseLoadSnapshotChunk) com.google.protobuf.MessageOrBuilder { /** * bytes chunk = 1; */ com.google.protobuf.ByteString getChunk(); } /** * Protobuf type {@code tendermint.abci.ResponseLoadSnapshotChunk} */ public static final class ResponseLoadSnapshotChunk extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseLoadSnapshotChunk) ResponseLoadSnapshotChunkOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseLoadSnapshotChunk.newBuilder() to construct. private ResponseLoadSnapshotChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseLoadSnapshotChunk() { chunk_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseLoadSnapshotChunk( 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: { chunk_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseLoadSnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseLoadSnapshotChunk.class, tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder.class); } public static final int CHUNK_FIELD_NUMBER = 1; private com.google.protobuf.ByteString chunk_; /** * bytes chunk = 1; */ public com.google.protobuf.ByteString getChunk() { return chunk_; } 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 (!chunk_.isEmpty()) { output.writeBytes(1, chunk_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!chunk_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, chunk_); } 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 tendermint.abci.Types.ResponseLoadSnapshotChunk)) { return super.equals(obj); } tendermint.abci.Types.ResponseLoadSnapshotChunk other = (tendermint.abci.Types.ResponseLoadSnapshotChunk) obj; boolean result = true; result = result && getChunk() .equals(other.getChunk()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHUNK_FIELD_NUMBER; hash = (53 * hash) + getChunk().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk 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 tendermint.abci.Types.ResponseLoadSnapshotChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk 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 tendermint.abci.Types.ResponseLoadSnapshotChunk parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk 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(tendermint.abci.Types.ResponseLoadSnapshotChunk 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 tendermint.abci.ResponseLoadSnapshotChunk} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseLoadSnapshotChunk) tendermint.abci.Types.ResponseLoadSnapshotChunkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseLoadSnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseLoadSnapshotChunk.class, tendermint.abci.Types.ResponseLoadSnapshotChunk.Builder.class); } // Construct using tendermint.abci.Types.ResponseLoadSnapshotChunk.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(); chunk_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseLoadSnapshotChunk getDefaultInstanceForType() { return tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseLoadSnapshotChunk build() { tendermint.abci.Types.ResponseLoadSnapshotChunk result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseLoadSnapshotChunk buildPartial() { tendermint.abci.Types.ResponseLoadSnapshotChunk result = new tendermint.abci.Types.ResponseLoadSnapshotChunk(this); result.chunk_ = chunk_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseLoadSnapshotChunk) { return mergeFrom((tendermint.abci.Types.ResponseLoadSnapshotChunk)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseLoadSnapshotChunk other) { if (other == tendermint.abci.Types.ResponseLoadSnapshotChunk.getDefaultInstance()) return this; if (other.getChunk() != com.google.protobuf.ByteString.EMPTY) { setChunk(other.getChunk()); } 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 { tendermint.abci.Types.ResponseLoadSnapshotChunk parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseLoadSnapshotChunk) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString chunk_ = com.google.protobuf.ByteString.EMPTY; /** * bytes chunk = 1; */ public com.google.protobuf.ByteString getChunk() { return chunk_; } /** * bytes chunk = 1; */ public Builder setChunk(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } chunk_ = value; onChanged(); return this; } /** * bytes chunk = 1; */ public Builder clearChunk() { chunk_ = getDefaultInstance().getChunk(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseLoadSnapshotChunk) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseLoadSnapshotChunk) private static final tendermint.abci.Types.ResponseLoadSnapshotChunk DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseLoadSnapshotChunk(); } public static tendermint.abci.Types.ResponseLoadSnapshotChunk getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseLoadSnapshotChunk parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseLoadSnapshotChunk(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 tendermint.abci.Types.ResponseLoadSnapshotChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseApplySnapshotChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ResponseApplySnapshotChunk) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ int getResultValue(); /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ tendermint.abci.Types.ResponseApplySnapshotChunk.Result getResult(); /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ java.util.List getRefetchChunksList(); /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ int getRefetchChunksCount(); /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ int getRefetchChunks(int index); /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ java.util.List getRejectSendersList(); /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ int getRejectSendersCount(); /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ java.lang.String getRejectSenders(int index); /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ com.google.protobuf.ByteString getRejectSendersBytes(int index); } /** * Protobuf type {@code tendermint.abci.ResponseApplySnapshotChunk} */ public static final class ResponseApplySnapshotChunk extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ResponseApplySnapshotChunk) ResponseApplySnapshotChunkOrBuilder { private static final long serialVersionUID = 0L; // Use ResponseApplySnapshotChunk.newBuilder() to construct. private ResponseApplySnapshotChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponseApplySnapshotChunk() { result_ = 0; refetchChunks_ = java.util.Collections.emptyList(); rejectSenders_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponseApplySnapshotChunk( 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(); result_ = rawValue; break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { refetchChunks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } refetchChunks_.add(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { refetchChunks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { refetchChunks_.add(input.readUInt32()); } input.popLimit(limit); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rejectSenders_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } rejectSenders_.add(s); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000002) == 0x00000002)) { refetchChunks_ = java.util.Collections.unmodifiableList(refetchChunks_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rejectSenders_ = rejectSenders_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseApplySnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseApplySnapshotChunk.class, tendermint.abci.Types.ResponseApplySnapshotChunk.Builder.class); } /** * Protobuf enum {@code tendermint.abci.ResponseApplySnapshotChunk.Result} */ public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Unknown result, abort all snapshot restoration
       * 
* * UNKNOWN = 0; */ UNKNOWN(0), /** *
       * Chunk successfully accepted
       * 
* * ACCEPT = 1; */ ACCEPT(1), /** *
       * Abort all snapshot restoration
       * 
* * ABORT = 2; */ ABORT(2), /** *
       * Retry chunk (combine with refetch and reject)
       * 
* * RETRY = 3; */ RETRY(3), /** *
       * Retry snapshot (combine with refetch and reject)
       * 
* * RETRY_SNAPSHOT = 4; */ RETRY_SNAPSHOT(4), /** *
       * Reject this snapshot, try others
       * 
* * REJECT_SNAPSHOT = 5; */ REJECT_SNAPSHOT(5), UNRECOGNIZED(-1), ; /** *
       * Unknown result, abort all snapshot restoration
       * 
* * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** *
       * Chunk successfully accepted
       * 
* * ACCEPT = 1; */ public static final int ACCEPT_VALUE = 1; /** *
       * Abort all snapshot restoration
       * 
* * ABORT = 2; */ public static final int ABORT_VALUE = 2; /** *
       * Retry chunk (combine with refetch and reject)
       * 
* * RETRY = 3; */ public static final int RETRY_VALUE = 3; /** *
       * Retry snapshot (combine with refetch and reject)
       * 
* * RETRY_SNAPSHOT = 4; */ public static final int RETRY_SNAPSHOT_VALUE = 4; /** *
       * Reject this snapshot, try others
       * 
* * REJECT_SNAPSHOT = 5; */ public static final int REJECT_SNAPSHOT_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Result valueOf(int value) { return forNumber(value); } public static Result forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return ACCEPT; case 2: return ABORT; case 3: return RETRY; case 4: return RETRY_SNAPSHOT; case 5: return REJECT_SNAPSHOT; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Result> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Result findValueByNumber(int number) { return Result.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return tendermint.abci.Types.ResponseApplySnapshotChunk.getDescriptor().getEnumTypes().get(0); } private static final Result[] VALUES = values(); public static Result valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Result(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:tendermint.abci.ResponseApplySnapshotChunk.Result) } private int bitField0_; public static final int RESULT_FIELD_NUMBER = 1; private int result_; /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public int getResultValue() { return result_; } /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public tendermint.abci.Types.ResponseApplySnapshotChunk.Result getResult() { @SuppressWarnings("deprecation") tendermint.abci.Types.ResponseApplySnapshotChunk.Result result = tendermint.abci.Types.ResponseApplySnapshotChunk.Result.valueOf(result_); return result == null ? tendermint.abci.Types.ResponseApplySnapshotChunk.Result.UNRECOGNIZED : result; } public static final int REFETCH_CHUNKS_FIELD_NUMBER = 2; private java.util.List refetchChunks_; /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ public java.util.List getRefetchChunksList() { return refetchChunks_; } /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ public int getRefetchChunksCount() { return refetchChunks_.size(); } /** *
     * Chunks to refetch and reapply
     * 
* * repeated uint32 refetch_chunks = 2; */ public int getRefetchChunks(int index) { return refetchChunks_.get(index); } private int refetchChunksMemoizedSerializedSize = -1; public static final int REJECT_SENDERS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList rejectSenders_; /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ public com.google.protobuf.ProtocolStringList getRejectSendersList() { return rejectSenders_; } /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ public int getRejectSendersCount() { return rejectSenders_.size(); } /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ public java.lang.String getRejectSenders(int index) { return rejectSenders_.get(index); } /** *
     * Chunk senders to reject and ban
     * 
* * repeated string reject_senders = 3; */ public com.google.protobuf.ByteString getRejectSendersBytes(int index) { return rejectSenders_.getByteString(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 { getSerializedSize(); if (result_ != tendermint.abci.Types.ResponseApplySnapshotChunk.Result.UNKNOWN.getNumber()) { output.writeEnum(1, result_); } if (getRefetchChunksList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(refetchChunksMemoizedSerializedSize); } for (int i = 0; i < refetchChunks_.size(); i++) { output.writeUInt32NoTag(refetchChunks_.get(i)); } for (int i = 0; i < rejectSenders_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, rejectSenders_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (result_ != tendermint.abci.Types.ResponseApplySnapshotChunk.Result.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, result_); } { int dataSize = 0; for (int i = 0; i < refetchChunks_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(refetchChunks_.get(i)); } size += dataSize; if (!getRefetchChunksList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } refetchChunksMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < rejectSenders_.size(); i++) { dataSize += computeStringSizeNoTag(rejectSenders_.getRaw(i)); } size += dataSize; size += 1 * getRejectSendersList().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 tendermint.abci.Types.ResponseApplySnapshotChunk)) { return super.equals(obj); } tendermint.abci.Types.ResponseApplySnapshotChunk other = (tendermint.abci.Types.ResponseApplySnapshotChunk) obj; boolean result = true; result = result && result_ == other.result_; result = result && getRefetchChunksList() .equals(other.getRefetchChunksList()); result = result && getRejectSendersList() .equals(other.getRejectSendersList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; if (getRefetchChunksCount() > 0) { hash = (37 * hash) + REFETCH_CHUNKS_FIELD_NUMBER; hash = (53 * hash) + getRefetchChunksList().hashCode(); } if (getRejectSendersCount() > 0) { hash = (37 * hash) + REJECT_SENDERS_FIELD_NUMBER; hash = (53 * hash) + getRejectSendersList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseApplySnapshotChunk 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 tendermint.abci.Types.ResponseApplySnapshotChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseApplySnapshotChunk 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 tendermint.abci.Types.ResponseApplySnapshotChunk parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ResponseApplySnapshotChunk 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(tendermint.abci.Types.ResponseApplySnapshotChunk 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 tendermint.abci.ResponseApplySnapshotChunk} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ResponseApplySnapshotChunk) tendermint.abci.Types.ResponseApplySnapshotChunkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseApplySnapshotChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ResponseApplySnapshotChunk.class, tendermint.abci.Types.ResponseApplySnapshotChunk.Builder.class); } // Construct using tendermint.abci.Types.ResponseApplySnapshotChunk.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(); result_ = 0; refetchChunks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); rejectSenders_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor; } @java.lang.Override public tendermint.abci.Types.ResponseApplySnapshotChunk getDefaultInstanceForType() { return tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ResponseApplySnapshotChunk build() { tendermint.abci.Types.ResponseApplySnapshotChunk result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ResponseApplySnapshotChunk buildPartial() { tendermint.abci.Types.ResponseApplySnapshotChunk result = new tendermint.abci.Types.ResponseApplySnapshotChunk(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.result_ = result_; if (((bitField0_ & 0x00000002) == 0x00000002)) { refetchChunks_ = java.util.Collections.unmodifiableList(refetchChunks_); bitField0_ = (bitField0_ & ~0x00000002); } result.refetchChunks_ = refetchChunks_; if (((bitField0_ & 0x00000004) == 0x00000004)) { rejectSenders_ = rejectSenders_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.rejectSenders_ = rejectSenders_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ResponseApplySnapshotChunk) { return mergeFrom((tendermint.abci.Types.ResponseApplySnapshotChunk)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ResponseApplySnapshotChunk other) { if (other == tendermint.abci.Types.ResponseApplySnapshotChunk.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } if (!other.refetchChunks_.isEmpty()) { if (refetchChunks_.isEmpty()) { refetchChunks_ = other.refetchChunks_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRefetchChunksIsMutable(); refetchChunks_.addAll(other.refetchChunks_); } onChanged(); } if (!other.rejectSenders_.isEmpty()) { if (rejectSenders_.isEmpty()) { rejectSenders_ = other.rejectSenders_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRejectSendersIsMutable(); rejectSenders_.addAll(other.rejectSenders_); } 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 { tendermint.abci.Types.ResponseApplySnapshotChunk parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ResponseApplySnapshotChunk) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int result_ = 0; /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public int getResultValue() { return result_; } /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public Builder setResultValue(int value) { result_ = value; onChanged(); return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public tendermint.abci.Types.ResponseApplySnapshotChunk.Result getResult() { @SuppressWarnings("deprecation") tendermint.abci.Types.ResponseApplySnapshotChunk.Result result = tendermint.abci.Types.ResponseApplySnapshotChunk.Result.valueOf(result_); return result == null ? tendermint.abci.Types.ResponseApplySnapshotChunk.Result.UNRECOGNIZED : result; } /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public Builder setResult(tendermint.abci.Types.ResponseApplySnapshotChunk.Result value) { if (value == null) { throw new NullPointerException(); } result_ = value.getNumber(); onChanged(); return this; } /** * .tendermint.abci.ResponseApplySnapshotChunk.Result result = 1; */ public Builder clearResult() { result_ = 0; onChanged(); return this; } private java.util.List refetchChunks_ = java.util.Collections.emptyList(); private void ensureRefetchChunksIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { refetchChunks_ = new java.util.ArrayList(refetchChunks_); bitField0_ |= 0x00000002; } } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public java.util.List getRefetchChunksList() { return java.util.Collections.unmodifiableList(refetchChunks_); } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public int getRefetchChunksCount() { return refetchChunks_.size(); } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public int getRefetchChunks(int index) { return refetchChunks_.get(index); } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public Builder setRefetchChunks( int index, int value) { ensureRefetchChunksIsMutable(); refetchChunks_.set(index, value); onChanged(); return this; } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public Builder addRefetchChunks(int value) { ensureRefetchChunksIsMutable(); refetchChunks_.add(value); onChanged(); return this; } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public Builder addAllRefetchChunks( java.lang.Iterable values) { ensureRefetchChunksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, refetchChunks_); onChanged(); return this; } /** *
       * Chunks to refetch and reapply
       * 
* * repeated uint32 refetch_chunks = 2; */ public Builder clearRefetchChunks() { refetchChunks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private com.google.protobuf.LazyStringList rejectSenders_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRejectSendersIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { rejectSenders_ = new com.google.protobuf.LazyStringArrayList(rejectSenders_); bitField0_ |= 0x00000004; } } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public com.google.protobuf.ProtocolStringList getRejectSendersList() { return rejectSenders_.getUnmodifiableView(); } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public int getRejectSendersCount() { return rejectSenders_.size(); } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public java.lang.String getRejectSenders(int index) { return rejectSenders_.get(index); } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public com.google.protobuf.ByteString getRejectSendersBytes(int index) { return rejectSenders_.getByteString(index); } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public Builder setRejectSenders( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRejectSendersIsMutable(); rejectSenders_.set(index, value); onChanged(); return this; } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public Builder addRejectSenders( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRejectSendersIsMutable(); rejectSenders_.add(value); onChanged(); return this; } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public Builder addAllRejectSenders( java.lang.Iterable values) { ensureRejectSendersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rejectSenders_); onChanged(); return this; } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public Builder clearRejectSenders() { rejectSenders_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Chunk senders to reject and ban
       * 
* * repeated string reject_senders = 3; */ public Builder addRejectSendersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRejectSendersIsMutable(); rejectSenders_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ResponseApplySnapshotChunk) } // @@protoc_insertion_point(class_scope:tendermint.abci.ResponseApplySnapshotChunk) private static final tendermint.abci.Types.ResponseApplySnapshotChunk DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ResponseApplySnapshotChunk(); } public static tendermint.abci.Types.ResponseApplySnapshotChunk getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponseApplySnapshotChunk parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponseApplySnapshotChunk(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 tendermint.abci.Types.ResponseApplySnapshotChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConsensusParamsOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ConsensusParams) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.BlockParams block = 1; */ boolean hasBlock(); /** * .tendermint.abci.BlockParams block = 1; */ tendermint.abci.Types.BlockParams getBlock(); /** * .tendermint.abci.BlockParams block = 1; */ tendermint.abci.Types.BlockParamsOrBuilder getBlockOrBuilder(); /** * .tendermint.types.EvidenceParams evidence = 2; */ boolean hasEvidence(); /** * .tendermint.types.EvidenceParams evidence = 2; */ tendermint.types.Params.EvidenceParams getEvidence(); /** * .tendermint.types.EvidenceParams evidence = 2; */ tendermint.types.Params.EvidenceParamsOrBuilder getEvidenceOrBuilder(); /** * .tendermint.types.ValidatorParams validator = 3; */ boolean hasValidator(); /** * .tendermint.types.ValidatorParams validator = 3; */ tendermint.types.Params.ValidatorParams getValidator(); /** * .tendermint.types.ValidatorParams validator = 3; */ tendermint.types.Params.ValidatorParamsOrBuilder getValidatorOrBuilder(); /** * .tendermint.types.VersionParams version = 4; */ boolean hasVersion(); /** * .tendermint.types.VersionParams version = 4; */ tendermint.types.Params.VersionParams getVersion(); /** * .tendermint.types.VersionParams version = 4; */ tendermint.types.Params.VersionParamsOrBuilder getVersionOrBuilder(); } /** *
   * ConsensusParams contains all consensus-relevant parameters
   * that can be adjusted by the abci app
   * 
* * Protobuf type {@code tendermint.abci.ConsensusParams} */ public static final class ConsensusParams extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ConsensusParams) ConsensusParamsOrBuilder { private static final long serialVersionUID = 0L; // Use ConsensusParams.newBuilder() to construct. private ConsensusParams(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConsensusParams() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConsensusParams( 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: { tendermint.abci.Types.BlockParams.Builder subBuilder = null; if (block_ != null) { subBuilder = block_.toBuilder(); } block_ = input.readMessage(tendermint.abci.Types.BlockParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(block_); block_ = subBuilder.buildPartial(); } break; } case 18: { tendermint.types.Params.EvidenceParams.Builder subBuilder = null; if (evidence_ != null) { subBuilder = evidence_.toBuilder(); } evidence_ = input.readMessage(tendermint.types.Params.EvidenceParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(evidence_); evidence_ = subBuilder.buildPartial(); } break; } case 26: { tendermint.types.Params.ValidatorParams.Builder subBuilder = null; if (validator_ != null) { subBuilder = validator_.toBuilder(); } validator_ = input.readMessage(tendermint.types.Params.ValidatorParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(validator_); validator_ = subBuilder.buildPartial(); } break; } case 34: { tendermint.types.Params.VersionParams.Builder subBuilder = null; if (version_ != null) { subBuilder = version_.toBuilder(); } version_ = input.readMessage(tendermint.types.Params.VersionParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(version_); version_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ConsensusParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ConsensusParams_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ConsensusParams.class, tendermint.abci.Types.ConsensusParams.Builder.class); } public static final int BLOCK_FIELD_NUMBER = 1; private tendermint.abci.Types.BlockParams block_; /** * .tendermint.abci.BlockParams block = 1; */ public boolean hasBlock() { return block_ != null; } /** * .tendermint.abci.BlockParams block = 1; */ public tendermint.abci.Types.BlockParams getBlock() { return block_ == null ? tendermint.abci.Types.BlockParams.getDefaultInstance() : block_; } /** * .tendermint.abci.BlockParams block = 1; */ public tendermint.abci.Types.BlockParamsOrBuilder getBlockOrBuilder() { return getBlock(); } public static final int EVIDENCE_FIELD_NUMBER = 2; private tendermint.types.Params.EvidenceParams evidence_; /** * .tendermint.types.EvidenceParams evidence = 2; */ public boolean hasEvidence() { return evidence_ != null; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public tendermint.types.Params.EvidenceParams getEvidence() { return evidence_ == null ? tendermint.types.Params.EvidenceParams.getDefaultInstance() : evidence_; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public tendermint.types.Params.EvidenceParamsOrBuilder getEvidenceOrBuilder() { return getEvidence(); } public static final int VALIDATOR_FIELD_NUMBER = 3; private tendermint.types.Params.ValidatorParams validator_; /** * .tendermint.types.ValidatorParams validator = 3; */ public boolean hasValidator() { return validator_ != null; } /** * .tendermint.types.ValidatorParams validator = 3; */ public tendermint.types.Params.ValidatorParams getValidator() { return validator_ == null ? tendermint.types.Params.ValidatorParams.getDefaultInstance() : validator_; } /** * .tendermint.types.ValidatorParams validator = 3; */ public tendermint.types.Params.ValidatorParamsOrBuilder getValidatorOrBuilder() { return getValidator(); } public static final int VERSION_FIELD_NUMBER = 4; private tendermint.types.Params.VersionParams version_; /** * .tendermint.types.VersionParams version = 4; */ public boolean hasVersion() { return version_ != null; } /** * .tendermint.types.VersionParams version = 4; */ public tendermint.types.Params.VersionParams getVersion() { return version_ == null ? tendermint.types.Params.VersionParams.getDefaultInstance() : version_; } /** * .tendermint.types.VersionParams version = 4; */ public tendermint.types.Params.VersionParamsOrBuilder getVersionOrBuilder() { return getVersion(); } 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 (evidence_ != null) { output.writeMessage(2, getEvidence()); } if (validator_ != null) { output.writeMessage(3, getValidator()); } if (version_ != null) { output.writeMessage(4, getVersion()); } 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 (evidence_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEvidence()); } if (validator_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValidator()); } if (version_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getVersion()); } 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 tendermint.abci.Types.ConsensusParams)) { return super.equals(obj); } tendermint.abci.Types.ConsensusParams other = (tendermint.abci.Types.ConsensusParams) obj; boolean result = true; result = result && (hasBlock() == other.hasBlock()); if (hasBlock()) { result = result && getBlock() .equals(other.getBlock()); } result = result && (hasEvidence() == other.hasEvidence()); if (hasEvidence()) { result = result && getEvidence() .equals(other.getEvidence()); } result = result && (hasValidator() == other.hasValidator()); if (hasValidator()) { result = result && getValidator() .equals(other.getValidator()); } result = result && (hasVersion() == other.hasVersion()); if (hasVersion()) { result = result && getVersion() .equals(other.getVersion()); } result = result && unknownFields.equals(other.unknownFields); return result; } @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(); } if (hasEvidence()) { hash = (37 * hash) + EVIDENCE_FIELD_NUMBER; hash = (53 * hash) + getEvidence().hashCode(); } if (hasValidator()) { hash = (37 * hash) + VALIDATOR_FIELD_NUMBER; hash = (53 * hash) + getValidator().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ConsensusParams parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ConsensusParams parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ConsensusParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ConsensusParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ConsensusParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ConsensusParams parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ConsensusParams parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ConsensusParams 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 tendermint.abci.Types.ConsensusParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ConsensusParams 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 tendermint.abci.Types.ConsensusParams parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ConsensusParams 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(tendermint.abci.Types.ConsensusParams 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; } /** *
     * ConsensusParams contains all consensus-relevant parameters
     * that can be adjusted by the abci app
     * 
* * Protobuf type {@code tendermint.abci.ConsensusParams} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ConsensusParams) tendermint.abci.Types.ConsensusParamsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ConsensusParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ConsensusParams_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ConsensusParams.class, tendermint.abci.Types.ConsensusParams.Builder.class); } // Construct using tendermint.abci.Types.ConsensusParams.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; } if (evidenceBuilder_ == null) { evidence_ = null; } else { evidence_ = null; evidenceBuilder_ = null; } if (validatorBuilder_ == null) { validator_ = null; } else { validator_ = null; validatorBuilder_ = null; } if (versionBuilder_ == null) { version_ = null; } else { version_ = null; versionBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ConsensusParams_descriptor; } @java.lang.Override public tendermint.abci.Types.ConsensusParams getDefaultInstanceForType() { return tendermint.abci.Types.ConsensusParams.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ConsensusParams build() { tendermint.abci.Types.ConsensusParams result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ConsensusParams buildPartial() { tendermint.abci.Types.ConsensusParams result = new tendermint.abci.Types.ConsensusParams(this); if (blockBuilder_ == null) { result.block_ = block_; } else { result.block_ = blockBuilder_.build(); } if (evidenceBuilder_ == null) { result.evidence_ = evidence_; } else { result.evidence_ = evidenceBuilder_.build(); } if (validatorBuilder_ == null) { result.validator_ = validator_; } else { result.validator_ = validatorBuilder_.build(); } if (versionBuilder_ == null) { result.version_ = version_; } else { result.version_ = versionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ConsensusParams) { return mergeFrom((tendermint.abci.Types.ConsensusParams)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ConsensusParams other) { if (other == tendermint.abci.Types.ConsensusParams.getDefaultInstance()) return this; if (other.hasBlock()) { mergeBlock(other.getBlock()); } if (other.hasEvidence()) { mergeEvidence(other.getEvidence()); } if (other.hasValidator()) { mergeValidator(other.getValidator()); } if (other.hasVersion()) { mergeVersion(other.getVersion()); } 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 { tendermint.abci.Types.ConsensusParams parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ConsensusParams) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private tendermint.abci.Types.BlockParams block_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.BlockParams, tendermint.abci.Types.BlockParams.Builder, tendermint.abci.Types.BlockParamsOrBuilder> blockBuilder_; /** * .tendermint.abci.BlockParams block = 1; */ public boolean hasBlock() { return blockBuilder_ != null || block_ != null; } /** * .tendermint.abci.BlockParams block = 1; */ public tendermint.abci.Types.BlockParams getBlock() { if (blockBuilder_ == null) { return block_ == null ? tendermint.abci.Types.BlockParams.getDefaultInstance() : block_; } else { return blockBuilder_.getMessage(); } } /** * .tendermint.abci.BlockParams block = 1; */ public Builder setBlock(tendermint.abci.Types.BlockParams value) { if (blockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } block_ = value; onChanged(); } else { blockBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.BlockParams block = 1; */ public Builder setBlock( tendermint.abci.Types.BlockParams.Builder builderForValue) { if (blockBuilder_ == null) { block_ = builderForValue.build(); onChanged(); } else { blockBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.BlockParams block = 1; */ public Builder mergeBlock(tendermint.abci.Types.BlockParams value) { if (blockBuilder_ == null) { if (block_ != null) { block_ = tendermint.abci.Types.BlockParams.newBuilder(block_).mergeFrom(value).buildPartial(); } else { block_ = value; } onChanged(); } else { blockBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.BlockParams block = 1; */ public Builder clearBlock() { if (blockBuilder_ == null) { block_ = null; onChanged(); } else { block_ = null; blockBuilder_ = null; } return this; } /** * .tendermint.abci.BlockParams block = 1; */ public tendermint.abci.Types.BlockParams.Builder getBlockBuilder() { onChanged(); return getBlockFieldBuilder().getBuilder(); } /** * .tendermint.abci.BlockParams block = 1; */ public tendermint.abci.Types.BlockParamsOrBuilder getBlockOrBuilder() { if (blockBuilder_ != null) { return blockBuilder_.getMessageOrBuilder(); } else { return block_ == null ? tendermint.abci.Types.BlockParams.getDefaultInstance() : block_; } } /** * .tendermint.abci.BlockParams block = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.BlockParams, tendermint.abci.Types.BlockParams.Builder, tendermint.abci.Types.BlockParamsOrBuilder> getBlockFieldBuilder() { if (blockBuilder_ == null) { blockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.BlockParams, tendermint.abci.Types.BlockParams.Builder, tendermint.abci.Types.BlockParamsOrBuilder>( getBlock(), getParentForChildren(), isClean()); block_ = null; } return blockBuilder_; } private tendermint.types.Params.EvidenceParams evidence_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.EvidenceParams, tendermint.types.Params.EvidenceParams.Builder, tendermint.types.Params.EvidenceParamsOrBuilder> evidenceBuilder_; /** * .tendermint.types.EvidenceParams evidence = 2; */ public boolean hasEvidence() { return evidenceBuilder_ != null || evidence_ != null; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public tendermint.types.Params.EvidenceParams getEvidence() { if (evidenceBuilder_ == null) { return evidence_ == null ? tendermint.types.Params.EvidenceParams.getDefaultInstance() : evidence_; } else { return evidenceBuilder_.getMessage(); } } /** * .tendermint.types.EvidenceParams evidence = 2; */ public Builder setEvidence(tendermint.types.Params.EvidenceParams value) { if (evidenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } evidence_ = value; onChanged(); } else { evidenceBuilder_.setMessage(value); } return this; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public Builder setEvidence( tendermint.types.Params.EvidenceParams.Builder builderForValue) { if (evidenceBuilder_ == null) { evidence_ = builderForValue.build(); onChanged(); } else { evidenceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public Builder mergeEvidence(tendermint.types.Params.EvidenceParams value) { if (evidenceBuilder_ == null) { if (evidence_ != null) { evidence_ = tendermint.types.Params.EvidenceParams.newBuilder(evidence_).mergeFrom(value).buildPartial(); } else { evidence_ = value; } onChanged(); } else { evidenceBuilder_.mergeFrom(value); } return this; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public Builder clearEvidence() { if (evidenceBuilder_ == null) { evidence_ = null; onChanged(); } else { evidence_ = null; evidenceBuilder_ = null; } return this; } /** * .tendermint.types.EvidenceParams evidence = 2; */ public tendermint.types.Params.EvidenceParams.Builder getEvidenceBuilder() { onChanged(); return getEvidenceFieldBuilder().getBuilder(); } /** * .tendermint.types.EvidenceParams evidence = 2; */ public tendermint.types.Params.EvidenceParamsOrBuilder getEvidenceOrBuilder() { if (evidenceBuilder_ != null) { return evidenceBuilder_.getMessageOrBuilder(); } else { return evidence_ == null ? tendermint.types.Params.EvidenceParams.getDefaultInstance() : evidence_; } } /** * .tendermint.types.EvidenceParams evidence = 2; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.EvidenceParams, tendermint.types.Params.EvidenceParams.Builder, tendermint.types.Params.EvidenceParamsOrBuilder> getEvidenceFieldBuilder() { if (evidenceBuilder_ == null) { evidenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.EvidenceParams, tendermint.types.Params.EvidenceParams.Builder, tendermint.types.Params.EvidenceParamsOrBuilder>( getEvidence(), getParentForChildren(), isClean()); evidence_ = null; } return evidenceBuilder_; } private tendermint.types.Params.ValidatorParams validator_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.ValidatorParams, tendermint.types.Params.ValidatorParams.Builder, tendermint.types.Params.ValidatorParamsOrBuilder> validatorBuilder_; /** * .tendermint.types.ValidatorParams validator = 3; */ public boolean hasValidator() { return validatorBuilder_ != null || validator_ != null; } /** * .tendermint.types.ValidatorParams validator = 3; */ public tendermint.types.Params.ValidatorParams getValidator() { if (validatorBuilder_ == null) { return validator_ == null ? tendermint.types.Params.ValidatorParams.getDefaultInstance() : validator_; } else { return validatorBuilder_.getMessage(); } } /** * .tendermint.types.ValidatorParams validator = 3; */ public Builder setValidator(tendermint.types.Params.ValidatorParams value) { if (validatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validator_ = value; onChanged(); } else { validatorBuilder_.setMessage(value); } return this; } /** * .tendermint.types.ValidatorParams validator = 3; */ public Builder setValidator( tendermint.types.Params.ValidatorParams.Builder builderForValue) { if (validatorBuilder_ == null) { validator_ = builderForValue.build(); onChanged(); } else { validatorBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.types.ValidatorParams validator = 3; */ public Builder mergeValidator(tendermint.types.Params.ValidatorParams value) { if (validatorBuilder_ == null) { if (validator_ != null) { validator_ = tendermint.types.Params.ValidatorParams.newBuilder(validator_).mergeFrom(value).buildPartial(); } else { validator_ = value; } onChanged(); } else { validatorBuilder_.mergeFrom(value); } return this; } /** * .tendermint.types.ValidatorParams validator = 3; */ public Builder clearValidator() { if (validatorBuilder_ == null) { validator_ = null; onChanged(); } else { validator_ = null; validatorBuilder_ = null; } return this; } /** * .tendermint.types.ValidatorParams validator = 3; */ public tendermint.types.Params.ValidatorParams.Builder getValidatorBuilder() { onChanged(); return getValidatorFieldBuilder().getBuilder(); } /** * .tendermint.types.ValidatorParams validator = 3; */ public tendermint.types.Params.ValidatorParamsOrBuilder getValidatorOrBuilder() { if (validatorBuilder_ != null) { return validatorBuilder_.getMessageOrBuilder(); } else { return validator_ == null ? tendermint.types.Params.ValidatorParams.getDefaultInstance() : validator_; } } /** * .tendermint.types.ValidatorParams validator = 3; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.ValidatorParams, tendermint.types.Params.ValidatorParams.Builder, tendermint.types.Params.ValidatorParamsOrBuilder> getValidatorFieldBuilder() { if (validatorBuilder_ == null) { validatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.ValidatorParams, tendermint.types.Params.ValidatorParams.Builder, tendermint.types.Params.ValidatorParamsOrBuilder>( getValidator(), getParentForChildren(), isClean()); validator_ = null; } return validatorBuilder_; } private tendermint.types.Params.VersionParams version_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.VersionParams, tendermint.types.Params.VersionParams.Builder, tendermint.types.Params.VersionParamsOrBuilder> versionBuilder_; /** * .tendermint.types.VersionParams version = 4; */ public boolean hasVersion() { return versionBuilder_ != null || version_ != null; } /** * .tendermint.types.VersionParams version = 4; */ public tendermint.types.Params.VersionParams getVersion() { if (versionBuilder_ == null) { return version_ == null ? tendermint.types.Params.VersionParams.getDefaultInstance() : version_; } else { return versionBuilder_.getMessage(); } } /** * .tendermint.types.VersionParams version = 4; */ public Builder setVersion(tendermint.types.Params.VersionParams value) { if (versionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); } else { versionBuilder_.setMessage(value); } return this; } /** * .tendermint.types.VersionParams version = 4; */ public Builder setVersion( tendermint.types.Params.VersionParams.Builder builderForValue) { if (versionBuilder_ == null) { version_ = builderForValue.build(); onChanged(); } else { versionBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.types.VersionParams version = 4; */ public Builder mergeVersion(tendermint.types.Params.VersionParams value) { if (versionBuilder_ == null) { if (version_ != null) { version_ = tendermint.types.Params.VersionParams.newBuilder(version_).mergeFrom(value).buildPartial(); } else { version_ = value; } onChanged(); } else { versionBuilder_.mergeFrom(value); } return this; } /** * .tendermint.types.VersionParams version = 4; */ public Builder clearVersion() { if (versionBuilder_ == null) { version_ = null; onChanged(); } else { version_ = null; versionBuilder_ = null; } return this; } /** * .tendermint.types.VersionParams version = 4; */ public tendermint.types.Params.VersionParams.Builder getVersionBuilder() { onChanged(); return getVersionFieldBuilder().getBuilder(); } /** * .tendermint.types.VersionParams version = 4; */ public tendermint.types.Params.VersionParamsOrBuilder getVersionOrBuilder() { if (versionBuilder_ != null) { return versionBuilder_.getMessageOrBuilder(); } else { return version_ == null ? tendermint.types.Params.VersionParams.getDefaultInstance() : version_; } } /** * .tendermint.types.VersionParams version = 4; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.VersionParams, tendermint.types.Params.VersionParams.Builder, tendermint.types.Params.VersionParamsOrBuilder> getVersionFieldBuilder() { if (versionBuilder_ == null) { versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.types.Params.VersionParams, tendermint.types.Params.VersionParams.Builder, tendermint.types.Params.VersionParamsOrBuilder>( getVersion(), getParentForChildren(), isClean()); version_ = null; } return versionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ConsensusParams) } // @@protoc_insertion_point(class_scope:tendermint.abci.ConsensusParams) private static final tendermint.abci.Types.ConsensusParams DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ConsensusParams(); } public static tendermint.abci.Types.ConsensusParams getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConsensusParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConsensusParams(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 tendermint.abci.Types.ConsensusParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlockParamsOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.BlockParams) com.google.protobuf.MessageOrBuilder { /** *
     * Note: must be greater than 0
     * 
* * int64 max_bytes = 1; */ long getMaxBytes(); /** *
     * Note: must be greater or equal to -1
     * 
* * int64 max_gas = 2; */ long getMaxGas(); } /** *
   * BlockParams contains limits on the block size.
   * 
* * Protobuf type {@code tendermint.abci.BlockParams} */ public static final class BlockParams extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.BlockParams) BlockParamsOrBuilder { private static final long serialVersionUID = 0L; // Use BlockParams.newBuilder() to construct. private BlockParams(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlockParams() { maxBytes_ = 0L; maxGas_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlockParams( 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: { maxBytes_ = input.readInt64(); break; } case 16: { maxGas_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_BlockParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_BlockParams_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.BlockParams.class, tendermint.abci.Types.BlockParams.Builder.class); } public static final int MAX_BYTES_FIELD_NUMBER = 1; private long maxBytes_; /** *
     * Note: must be greater than 0
     * 
* * int64 max_bytes = 1; */ public long getMaxBytes() { return maxBytes_; } public static final int MAX_GAS_FIELD_NUMBER = 2; private long maxGas_; /** *
     * Note: must be greater or equal to -1
     * 
* * int64 max_gas = 2; */ public long getMaxGas() { return maxGas_; } 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 (maxBytes_ != 0L) { output.writeInt64(1, maxBytes_); } if (maxGas_ != 0L) { output.writeInt64(2, maxGas_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, maxBytes_); } if (maxGas_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, maxGas_); } 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 tendermint.abci.Types.BlockParams)) { return super.equals(obj); } tendermint.abci.Types.BlockParams other = (tendermint.abci.Types.BlockParams) obj; boolean result = true; result = result && (getMaxBytes() == other.getMaxBytes()); result = result && (getMaxGas() == other.getMaxGas()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxBytes()); hash = (37 * hash) + MAX_GAS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxGas()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.BlockParams parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.BlockParams parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.BlockParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.BlockParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.BlockParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.BlockParams parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.BlockParams parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.BlockParams 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 tendermint.abci.Types.BlockParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.BlockParams 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 tendermint.abci.Types.BlockParams parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.BlockParams 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(tendermint.abci.Types.BlockParams 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; } /** *
     * BlockParams contains limits on the block size.
     * 
* * Protobuf type {@code tendermint.abci.BlockParams} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.BlockParams) tendermint.abci.Types.BlockParamsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_BlockParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_BlockParams_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.BlockParams.class, tendermint.abci.Types.BlockParams.Builder.class); } // Construct using tendermint.abci.Types.BlockParams.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(); maxBytes_ = 0L; maxGas_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_BlockParams_descriptor; } @java.lang.Override public tendermint.abci.Types.BlockParams getDefaultInstanceForType() { return tendermint.abci.Types.BlockParams.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.BlockParams build() { tendermint.abci.Types.BlockParams result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.BlockParams buildPartial() { tendermint.abci.Types.BlockParams result = new tendermint.abci.Types.BlockParams(this); result.maxBytes_ = maxBytes_; result.maxGas_ = maxGas_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.BlockParams) { return mergeFrom((tendermint.abci.Types.BlockParams)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.BlockParams other) { if (other == tendermint.abci.Types.BlockParams.getDefaultInstance()) return this; if (other.getMaxBytes() != 0L) { setMaxBytes(other.getMaxBytes()); } if (other.getMaxGas() != 0L) { setMaxGas(other.getMaxGas()); } 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 { tendermint.abci.Types.BlockParams parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.BlockParams) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long maxBytes_ ; /** *
       * Note: must be greater than 0
       * 
* * int64 max_bytes = 1; */ public long getMaxBytes() { return maxBytes_; } /** *
       * Note: must be greater than 0
       * 
* * int64 max_bytes = 1; */ public Builder setMaxBytes(long value) { maxBytes_ = value; onChanged(); return this; } /** *
       * Note: must be greater than 0
       * 
* * int64 max_bytes = 1; */ public Builder clearMaxBytes() { maxBytes_ = 0L; onChanged(); return this; } private long maxGas_ ; /** *
       * Note: must be greater or equal to -1
       * 
* * int64 max_gas = 2; */ public long getMaxGas() { return maxGas_; } /** *
       * Note: must be greater or equal to -1
       * 
* * int64 max_gas = 2; */ public Builder setMaxGas(long value) { maxGas_ = value; onChanged(); return this; } /** *
       * Note: must be greater or equal to -1
       * 
* * int64 max_gas = 2; */ public Builder clearMaxGas() { maxGas_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.BlockParams) } // @@protoc_insertion_point(class_scope:tendermint.abci.BlockParams) private static final tendermint.abci.Types.BlockParams DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.BlockParams(); } public static tendermint.abci.Types.BlockParams getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BlockParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlockParams(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 tendermint.abci.Types.BlockParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LastCommitInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.LastCommitInfo) com.google.protobuf.MessageOrBuilder { /** * int32 round = 1; */ int getRound(); /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ java.util.List getVotesList(); /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.VoteInfo getVotes(int index); /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ int getVotesCount(); /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ java.util.List getVotesOrBuilderList(); /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.VoteInfoOrBuilder getVotesOrBuilder( int index); } /** * Protobuf type {@code tendermint.abci.LastCommitInfo} */ public static final class LastCommitInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.LastCommitInfo) LastCommitInfoOrBuilder { private static final long serialVersionUID = 0L; // Use LastCommitInfo.newBuilder() to construct. private LastCommitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LastCommitInfo() { round_ = 0; votes_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LastCommitInfo( 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: { round_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { votes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } votes_.add( input.readMessage(tendermint.abci.Types.VoteInfo.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000002) == 0x00000002)) { votes_ = java.util.Collections.unmodifiableList(votes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_LastCommitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_LastCommitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.LastCommitInfo.class, tendermint.abci.Types.LastCommitInfo.Builder.class); } private int bitField0_; public static final int ROUND_FIELD_NUMBER = 1; private int round_; /** * int32 round = 1; */ public int getRound() { return round_; } public static final int VOTES_FIELD_NUMBER = 2; private java.util.List votes_; /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getVotesList() { return votes_; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getVotesOrBuilderList() { return votes_; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public int getVotesCount() { return votes_.size(); } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfo getVotes(int index) { return votes_.get(index); } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfoOrBuilder getVotesOrBuilder( int index) { return votes_.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 (round_ != 0) { output.writeInt32(1, round_); } for (int i = 0; i < votes_.size(); i++) { output.writeMessage(2, votes_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (round_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, round_); } for (int i = 0; i < votes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, votes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.LastCommitInfo)) { return super.equals(obj); } tendermint.abci.Types.LastCommitInfo other = (tendermint.abci.Types.LastCommitInfo) obj; boolean result = true; result = result && (getRound() == other.getRound()); result = result && getVotesList() .equals(other.getVotesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROUND_FIELD_NUMBER; hash = (53 * hash) + getRound(); if (getVotesCount() > 0) { hash = (37 * hash) + VOTES_FIELD_NUMBER; hash = (53 * hash) + getVotesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.LastCommitInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.LastCommitInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.LastCommitInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.LastCommitInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.LastCommitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.LastCommitInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.LastCommitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.LastCommitInfo 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 tendermint.abci.Types.LastCommitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.LastCommitInfo 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 tendermint.abci.Types.LastCommitInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.LastCommitInfo 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(tendermint.abci.Types.LastCommitInfo 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 tendermint.abci.LastCommitInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.LastCommitInfo) tendermint.abci.Types.LastCommitInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_LastCommitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_LastCommitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.LastCommitInfo.class, tendermint.abci.Types.LastCommitInfo.Builder.class); } // Construct using tendermint.abci.Types.LastCommitInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getVotesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); round_ = 0; if (votesBuilder_ == null) { votes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { votesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_LastCommitInfo_descriptor; } @java.lang.Override public tendermint.abci.Types.LastCommitInfo getDefaultInstanceForType() { return tendermint.abci.Types.LastCommitInfo.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.LastCommitInfo build() { tendermint.abci.Types.LastCommitInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.LastCommitInfo buildPartial() { tendermint.abci.Types.LastCommitInfo result = new tendermint.abci.Types.LastCommitInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.round_ = round_; if (votesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { votes_ = java.util.Collections.unmodifiableList(votes_); bitField0_ = (bitField0_ & ~0x00000002); } result.votes_ = votes_; } else { result.votes_ = votesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.LastCommitInfo) { return mergeFrom((tendermint.abci.Types.LastCommitInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.LastCommitInfo other) { if (other == tendermint.abci.Types.LastCommitInfo.getDefaultInstance()) return this; if (other.getRound() != 0) { setRound(other.getRound()); } if (votesBuilder_ == null) { if (!other.votes_.isEmpty()) { if (votes_.isEmpty()) { votes_ = other.votes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureVotesIsMutable(); votes_.addAll(other.votes_); } onChanged(); } } else { if (!other.votes_.isEmpty()) { if (votesBuilder_.isEmpty()) { votesBuilder_.dispose(); votesBuilder_ = null; votes_ = other.votes_; bitField0_ = (bitField0_ & ~0x00000002); votesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVotesFieldBuilder() : null; } else { votesBuilder_.addAllMessages(other.votes_); } } } 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 { tendermint.abci.Types.LastCommitInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.LastCommitInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int round_ ; /** * int32 round = 1; */ public int getRound() { return round_; } /** * int32 round = 1; */ public Builder setRound(int value) { round_ = value; onChanged(); return this; } /** * int32 round = 1; */ public Builder clearRound() { round_ = 0; onChanged(); return this; } private java.util.List votes_ = java.util.Collections.emptyList(); private void ensureVotesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { votes_ = new java.util.ArrayList(votes_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.VoteInfo, tendermint.abci.Types.VoteInfo.Builder, tendermint.abci.Types.VoteInfoOrBuilder> votesBuilder_; /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getVotesList() { if (votesBuilder_ == null) { return java.util.Collections.unmodifiableList(votes_); } else { return votesBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public int getVotesCount() { if (votesBuilder_ == null) { return votes_.size(); } else { return votesBuilder_.getCount(); } } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfo getVotes(int index) { if (votesBuilder_ == null) { return votes_.get(index); } else { return votesBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder setVotes( int index, tendermint.abci.Types.VoteInfo value) { if (votesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVotesIsMutable(); votes_.set(index, value); onChanged(); } else { votesBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder setVotes( int index, tendermint.abci.Types.VoteInfo.Builder builderForValue) { if (votesBuilder_ == null) { ensureVotesIsMutable(); votes_.set(index, builderForValue.build()); onChanged(); } else { votesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder addVotes(tendermint.abci.Types.VoteInfo value) { if (votesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVotesIsMutable(); votes_.add(value); onChanged(); } else { votesBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder addVotes( int index, tendermint.abci.Types.VoteInfo value) { if (votesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVotesIsMutable(); votes_.add(index, value); onChanged(); } else { votesBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder addVotes( tendermint.abci.Types.VoteInfo.Builder builderForValue) { if (votesBuilder_ == null) { ensureVotesIsMutable(); votes_.add(builderForValue.build()); onChanged(); } else { votesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder addVotes( int index, tendermint.abci.Types.VoteInfo.Builder builderForValue) { if (votesBuilder_ == null) { ensureVotesIsMutable(); votes_.add(index, builderForValue.build()); onChanged(); } else { votesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder addAllVotes( java.lang.Iterable values) { if (votesBuilder_ == null) { ensureVotesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, votes_); onChanged(); } else { votesBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder clearVotes() { if (votesBuilder_ == null) { votes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { votesBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public Builder removeVotes(int index) { if (votesBuilder_ == null) { ensureVotesIsMutable(); votes_.remove(index); onChanged(); } else { votesBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfo.Builder getVotesBuilder( int index) { return getVotesFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfoOrBuilder getVotesOrBuilder( int index) { if (votesBuilder_ == null) { return votes_.get(index); } else { return votesBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getVotesOrBuilderList() { if (votesBuilder_ != null) { return votesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(votes_); } } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfo.Builder addVotesBuilder() { return getVotesFieldBuilder().addBuilder( tendermint.abci.Types.VoteInfo.getDefaultInstance()); } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.VoteInfo.Builder addVotesBuilder( int index) { return getVotesFieldBuilder().addBuilder( index, tendermint.abci.Types.VoteInfo.getDefaultInstance()); } /** * repeated .tendermint.abci.VoteInfo votes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getVotesBuilderList() { return getVotesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.VoteInfo, tendermint.abci.Types.VoteInfo.Builder, tendermint.abci.Types.VoteInfoOrBuilder> getVotesFieldBuilder() { if (votesBuilder_ == null) { votesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.VoteInfo, tendermint.abci.Types.VoteInfo.Builder, tendermint.abci.Types.VoteInfoOrBuilder>( votes_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); votes_ = null; } return votesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.LastCommitInfo) } // @@protoc_insertion_point(class_scope:tendermint.abci.LastCommitInfo) private static final tendermint.abci.Types.LastCommitInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.LastCommitInfo(); } public static tendermint.abci.Types.LastCommitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LastCommitInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LastCommitInfo(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 tendermint.abci.Types.LastCommitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.Event) com.google.protobuf.MessageOrBuilder { /** * string type = 1; */ java.lang.String getType(); /** * string type = 1; */ com.google.protobuf.ByteString getTypeBytes(); /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ java.util.List getAttributesList(); /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ tendermint.abci.Types.EventAttribute getAttributes(int index); /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ int getAttributesCount(); /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ java.util.List getAttributesOrBuilderList(); /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ tendermint.abci.Types.EventAttributeOrBuilder getAttributesOrBuilder( int index); } /** *
   * Event allows application developers to attach additional information to
   * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
   * Later, transactions may be queried using these events.
   * 
* * Protobuf type {@code tendermint.abci.Event} */ public static final class Event extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.Event) EventOrBuilder { private static final long serialVersionUID = 0L; // Use Event.newBuilder() to construct. private Event(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Event() { type_ = ""; attributes_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Event( 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_ & 0x00000002) == 0x00000002)) { attributes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } attributes_.add( input.readMessage(tendermint.abci.Types.EventAttribute.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( 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_ & 0x00000002) == 0x00000002)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Event_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Event_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Event.class, tendermint.abci.Types.Event.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** * string type = 1; */ 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; */ 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 ATTRIBUTES_FIELD_NUMBER = 2; private java.util.List attributes_; /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public java.util.List getAttributesList() { return attributes_; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public java.util.List getAttributesOrBuilderList() { return attributes_; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public int getAttributesCount() { return attributes_.size(); } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttribute getAttributes(int index) { return attributes_.get(index); } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttributeOrBuilder getAttributesOrBuilder( int index) { return attributes_.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 (!getTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } for (int i = 0; i < attributes_.size(); i++) { output.writeMessage(2, attributes_.get(i)); } 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_); } for (int i = 0; i < attributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, attributes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tendermint.abci.Types.Event)) { return super.equals(obj); } tendermint.abci.Types.Event other = (tendermint.abci.Types.Event) obj; boolean result = true; result = result && getType() .equals(other.getType()); result = result && getAttributesList() .equals(other.getAttributesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @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 (getAttributesCount() > 0) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getAttributesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.Event parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Event parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Event parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Event parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Event parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Event parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Event 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 tendermint.abci.Types.Event parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.Event 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 tendermint.abci.Types.Event parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Event 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(tendermint.abci.Types.Event 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; } /** *
     * Event allows application developers to attach additional information to
     * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
     * Later, transactions may be queried using these events.
     * 
* * Protobuf type {@code tendermint.abci.Event} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.Event) tendermint.abci.Types.EventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Event_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Event_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Event.class, tendermint.abci.Types.Event.Builder.class); } // Construct using tendermint.abci.Types.Event.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAttributesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); type_ = ""; if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { attributesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_Event_descriptor; } @java.lang.Override public tendermint.abci.Types.Event getDefaultInstanceForType() { return tendermint.abci.Types.Event.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.Event build() { tendermint.abci.Types.Event result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.Event buildPartial() { tendermint.abci.Types.Event result = new tendermint.abci.Types.Event(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.type_ = type_; if (attributesBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); bitField0_ = (bitField0_ & ~0x00000002); } result.attributes_ = attributes_; } else { result.attributes_ = attributesBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.Event) { return mergeFrom((tendermint.abci.Types.Event)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.Event other) { if (other == tendermint.abci.Types.Event.getDefaultInstance()) return this; if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (attributesBuilder_ == null) { if (!other.attributes_.isEmpty()) { if (attributes_.isEmpty()) { attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAttributesIsMutable(); attributes_.addAll(other.attributes_); } onChanged(); } } else { if (!other.attributes_.isEmpty()) { if (attributesBuilder_.isEmpty()) { attributesBuilder_.dispose(); attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000002); attributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttributesFieldBuilder() : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } } } 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 { tendermint.abci.Types.Event parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.Event) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object type_ = ""; /** * string type = 1; */ 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; */ 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; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** * string type = 1; */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * string type = 1; */ 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 attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { attributes_ = new java.util.ArrayList(attributes_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.EventAttribute, tendermint.abci.Types.EventAttribute.Builder, tendermint.abci.Types.EventAttributeOrBuilder> attributesBuilder_; /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { return attributesBuilder_.getMessageList(); } } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { return attributes_.size(); } else { return attributesBuilder_.getCount(); } } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttribute getAttributes(int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessage(index); } } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder setAttributes( int index, tendermint.abci.Types.EventAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); onChanged(); } else { attributesBuilder_.setMessage(index, value); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder setAttributes( int index, tendermint.abci.Types.EventAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder addAttributes(tendermint.abci.Types.EventAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); onChanged(); } else { attributesBuilder_.addMessage(value); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder addAttributes( int index, tendermint.abci.Types.EventAttribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(index, value); onChanged(); } else { attributesBuilder_.addMessage(index, value); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder addAttributes( tendermint.abci.Types.EventAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder addAttributes( int index, tendermint.abci.Types.EventAttribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder addAllAttributes( java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { attributesBuilder_.clear(); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.remove(index); onChanged(); } else { attributesBuilder_.remove(index); } return this; } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public java.util.List getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attributes_); } } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( tendermint.abci.Types.EventAttribute.getDefaultInstance()); } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public tendermint.abci.Types.EventAttribute.Builder addAttributesBuilder( int index) { return getAttributesFieldBuilder().addBuilder( index, tendermint.abci.Types.EventAttribute.getDefaultInstance()); } /** * repeated .tendermint.abci.EventAttribute attributes = 2 [(.gogoproto.nullable) = false, (.gogoproto.jsontag) = "attributes,omitempty"]; */ public java.util.List getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.EventAttribute, tendermint.abci.Types.EventAttribute.Builder, tendermint.abci.Types.EventAttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tendermint.abci.Types.EventAttribute, tendermint.abci.Types.EventAttribute.Builder, tendermint.abci.Types.EventAttributeOrBuilder>( attributes_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.Event) } // @@protoc_insertion_point(class_scope:tendermint.abci.Event) private static final tendermint.abci.Types.Event DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.Event(); } public static tendermint.abci.Types.Event getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Event parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Event(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 tendermint.abci.Types.Event getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EventAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.EventAttribute) com.google.protobuf.MessageOrBuilder { /** * bytes key = 1; */ com.google.protobuf.ByteString getKey(); /** * bytes value = 2; */ com.google.protobuf.ByteString getValue(); /** *
     * nondeterministic
     * 
* * bool index = 3; */ boolean getIndex(); } /** *
   * EventAttribute is a single key-value pair, associated with an event.
   * 
* * Protobuf type {@code tendermint.abci.EventAttribute} */ public static final class EventAttribute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.EventAttribute) EventAttributeOrBuilder { private static final long serialVersionUID = 0L; // Use EventAttribute.newBuilder() to construct. private EventAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EventAttribute() { key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; index_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EventAttribute( 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: { key_ = input.readBytes(); break; } case 18: { value_ = input.readBytes(); break; } case 24: { index_ = input.readBool(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_EventAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_EventAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.EventAttribute.class, tendermint.abci.Types.EventAttribute.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_; /** * bytes key = 1; */ public com.google.protobuf.ByteString getKey() { return key_; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** * bytes value = 2; */ public com.google.protobuf.ByteString getValue() { return value_; } public static final int INDEX_FIELD_NUMBER = 3; private boolean index_; /** *
     * nondeterministic
     * 
* * bool index = 3; */ public boolean getIndex() { return 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 (!key_.isEmpty()) { output.writeBytes(1, key_); } if (!value_.isEmpty()) { output.writeBytes(2, value_); } if (index_ != false) { output.writeBool(3, index_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!key_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, key_); } if (!value_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, value_); } if (index_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, index_); } 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 tendermint.abci.Types.EventAttribute)) { return super.equals(obj); } tendermint.abci.Types.EventAttribute other = (tendermint.abci.Types.EventAttribute) obj; boolean result = true; result = result && getKey() .equals(other.getKey()); result = result && getValue() .equals(other.getValue()); result = result && (getIndex() == other.getIndex()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIndex()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.EventAttribute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.EventAttribute parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.EventAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.EventAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.EventAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.EventAttribute parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.EventAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.EventAttribute 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 tendermint.abci.Types.EventAttribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.EventAttribute 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 tendermint.abci.Types.EventAttribute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.EventAttribute 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(tendermint.abci.Types.EventAttribute 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; } /** *
     * EventAttribute is a single key-value pair, associated with an event.
     * 
* * Protobuf type {@code tendermint.abci.EventAttribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.EventAttribute) tendermint.abci.Types.EventAttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_EventAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_EventAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.EventAttribute.class, tendermint.abci.Types.EventAttribute.Builder.class); } // Construct using tendermint.abci.Types.EventAttribute.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(); key_ = com.google.protobuf.ByteString.EMPTY; value_ = com.google.protobuf.ByteString.EMPTY; index_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_EventAttribute_descriptor; } @java.lang.Override public tendermint.abci.Types.EventAttribute getDefaultInstanceForType() { return tendermint.abci.Types.EventAttribute.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.EventAttribute build() { tendermint.abci.Types.EventAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.EventAttribute buildPartial() { tendermint.abci.Types.EventAttribute result = new tendermint.abci.Types.EventAttribute(this); result.key_ = key_; result.value_ = value_; result.index_ = index_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.EventAttribute) { return mergeFrom((tendermint.abci.Types.EventAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.EventAttribute other) { if (other == tendermint.abci.Types.EventAttribute.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } if (other.getValue() != com.google.protobuf.ByteString.EMPTY) { setValue(other.getValue()); } if (other.getIndex() != false) { setIndex(other.getIndex()); } 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 { tendermint.abci.Types.EventAttribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.EventAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * bytes key = 1; */ public com.google.protobuf.ByteString getKey() { return key_; } /** * bytes key = 1; */ public Builder setKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); return this; } /** * bytes key = 1; */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * bytes value = 2; */ public com.google.protobuf.ByteString getValue() { return value_; } /** * bytes value = 2; */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); return this; } /** * bytes value = 2; */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); onChanged(); return this; } private boolean index_ ; /** *
       * nondeterministic
       * 
* * bool index = 3; */ public boolean getIndex() { return index_; } /** *
       * nondeterministic
       * 
* * bool index = 3; */ public Builder setIndex(boolean value) { index_ = value; onChanged(); return this; } /** *
       * nondeterministic
       * 
* * bool index = 3; */ public Builder clearIndex() { index_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.EventAttribute) } // @@protoc_insertion_point(class_scope:tendermint.abci.EventAttribute) private static final tendermint.abci.Types.EventAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.EventAttribute(); } public static tendermint.abci.Types.EventAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EventAttribute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EventAttribute(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 tendermint.abci.Types.EventAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TxResultOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.TxResult) com.google.protobuf.MessageOrBuilder { /** * int64 height = 1; */ long getHeight(); /** * uint32 index = 2; */ int getIndex(); /** * bytes tx = 3; */ com.google.protobuf.ByteString getTx(); /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ boolean hasResult(); /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ResponseDeliverTx getResult(); /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ResponseDeliverTxOrBuilder getResultOrBuilder(); } /** *
   * TxResult contains results of executing the transaction.
   * One usage is indexing transaction results.
   * 
* * Protobuf type {@code tendermint.abci.TxResult} */ public static final class TxResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.TxResult) TxResultOrBuilder { private static final long serialVersionUID = 0L; // Use TxResult.newBuilder() to construct. private TxResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TxResult() { height_ = 0L; index_ = 0; tx_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TxResult( 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: { height_ = input.readInt64(); break; } case 16: { index_ = input.readUInt32(); break; } case 26: { tx_ = input.readBytes(); break; } case 34: { tendermint.abci.Types.ResponseDeliverTx.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(tendermint.abci.Types.ResponseDeliverTx.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_TxResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_TxResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.TxResult.class, tendermint.abci.Types.TxResult.Builder.class); } public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** * int64 height = 1; */ public long getHeight() { return height_; } public static final int INDEX_FIELD_NUMBER = 2; private int index_; /** * uint32 index = 2; */ public int getIndex() { return index_; } public static final int TX_FIELD_NUMBER = 3; private com.google.protobuf.ByteString tx_; /** * bytes tx = 3; */ public com.google.protobuf.ByteString getTx() { return tx_; } public static final int RESULT_FIELD_NUMBER = 4; private tendermint.abci.Types.ResponseDeliverTx result_; /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public boolean hasResult() { return result_ != null; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ResponseDeliverTx getResult() { return result_ == null ? tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance() : result_; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ResponseDeliverTxOrBuilder getResultOrBuilder() { return getResult(); } 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.writeInt64(1, height_); } if (index_ != 0) { output.writeUInt32(2, index_); } if (!tx_.isEmpty()) { output.writeBytes(3, tx_); } if (result_ != null) { output.writeMessage(4, getResult()); } 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 .computeInt64Size(1, height_); } if (index_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, index_); } if (!tx_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, tx_); } if (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getResult()); } 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 tendermint.abci.Types.TxResult)) { return super.equals(obj); } tendermint.abci.Types.TxResult other = (tendermint.abci.Types.TxResult) obj; boolean result = true; result = result && (getHeight() == other.getHeight()); result = result && (getIndex() == other.getIndex()); result = result && getTx() .equals(other.getTx()); result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && unknownFields.equals(other.unknownFields); return result; } @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) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.TxResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.TxResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.TxResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.TxResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.TxResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.TxResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.TxResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.TxResult 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 tendermint.abci.Types.TxResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.TxResult 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 tendermint.abci.Types.TxResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.TxResult 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(tendermint.abci.Types.TxResult 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; } /** *
     * TxResult contains results of executing the transaction.
     * One usage is indexing transaction results.
     * 
* * Protobuf type {@code tendermint.abci.TxResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.TxResult) tendermint.abci.Types.TxResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_TxResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_TxResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.TxResult.class, tendermint.abci.Types.TxResult.Builder.class); } // Construct using tendermint.abci.Types.TxResult.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; index_ = 0; tx_ = com.google.protobuf.ByteString.EMPTY; if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_TxResult_descriptor; } @java.lang.Override public tendermint.abci.Types.TxResult getDefaultInstanceForType() { return tendermint.abci.Types.TxResult.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.TxResult build() { tendermint.abci.Types.TxResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.TxResult buildPartial() { tendermint.abci.Types.TxResult result = new tendermint.abci.Types.TxResult(this); result.height_ = height_; result.index_ = index_; result.tx_ = tx_; if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.TxResult) { return mergeFrom((tendermint.abci.Types.TxResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.TxResult other) { if (other == tendermint.abci.Types.TxResult.getDefaultInstance()) return this; if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (other.getIndex() != 0) { setIndex(other.getIndex()); } if (other.getTx() != com.google.protobuf.ByteString.EMPTY) { setTx(other.getTx()); } if (other.hasResult()) { mergeResult(other.getResult()); } 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 { tendermint.abci.Types.TxResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.TxResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long height_ ; /** * int64 height = 1; */ public long getHeight() { return height_; } /** * int64 height = 1; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** * int64 height = 1; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private int index_ ; /** * uint32 index = 2; */ public int getIndex() { return index_; } /** * uint32 index = 2; */ public Builder setIndex(int value) { index_ = value; onChanged(); return this; } /** * uint32 index = 2; */ public Builder clearIndex() { index_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString tx_ = com.google.protobuf.ByteString.EMPTY; /** * bytes tx = 3; */ public com.google.protobuf.ByteString getTx() { return tx_; } /** * bytes tx = 3; */ public Builder setTx(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); return this; } /** * bytes tx = 3; */ public Builder clearTx() { tx_ = getDefaultInstance().getTx(); onChanged(); return this; } private tendermint.abci.Types.ResponseDeliverTx result_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder> resultBuilder_; /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ResponseDeliverTx getResult() { if (resultBuilder_ == null) { return result_ == null ? tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public Builder setResult(tendermint.abci.Types.ResponseDeliverTx value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public Builder setResult( tendermint.abci.Types.ResponseDeliverTx.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public Builder mergeResult(tendermint.abci.Types.ResponseDeliverTx value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = tendermint.abci.Types.ResponseDeliverTx.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ResponseDeliverTx.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ResponseDeliverTxOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? tendermint.abci.Types.ResponseDeliverTx.getDefaultInstance() : result_; } } /** * .tendermint.abci.ResponseDeliverTx result = 4 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.ResponseDeliverTx, tendermint.abci.Types.ResponseDeliverTx.Builder, tendermint.abci.Types.ResponseDeliverTxOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.TxResult) } // @@protoc_insertion_point(class_scope:tendermint.abci.TxResult) private static final tendermint.abci.Types.TxResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.TxResult(); } public static tendermint.abci.Types.TxResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TxResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TxResult(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 tendermint.abci.Types.TxResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValidatorOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.Validator) com.google.protobuf.MessageOrBuilder { /** *
     * The first 20 bytes of SHA256(public key)
     * 
* * bytes address = 1; */ com.google.protobuf.ByteString getAddress(); /** *
     * PubKey pub_key = 2 [(gogoproto.nullable)=false];
     * 
* * int64 power = 3; */ long getPower(); } /** *
   * Validator
   * 
* * Protobuf type {@code tendermint.abci.Validator} */ public static final class Validator extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.Validator) ValidatorOrBuilder { private static final long serialVersionUID = 0L; // Use Validator.newBuilder() to construct. private Validator(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Validator() { address_ = com.google.protobuf.ByteString.EMPTY; power_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Validator( 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: { address_ = input.readBytes(); break; } case 24: { power_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_Validator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Validator_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Validator.class, tendermint.abci.Types.Validator.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString address_; /** *
     * The first 20 bytes of SHA256(public key)
     * 
* * bytes address = 1; */ public com.google.protobuf.ByteString getAddress() { return address_; } public static final int POWER_FIELD_NUMBER = 3; private long power_; /** *
     * PubKey pub_key = 2 [(gogoproto.nullable)=false];
     * 
* * int64 power = 3; */ public long getPower() { return power_; } 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 (power_ != 0L) { output.writeInt64(3, power_); } 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 (power_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, power_); } 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 tendermint.abci.Types.Validator)) { return super.equals(obj); } tendermint.abci.Types.Validator other = (tendermint.abci.Types.Validator) obj; boolean result = true; result = result && getAddress() .equals(other.getAddress()); result = result && (getPower() == other.getPower()); result = result && unknownFields.equals(other.unknownFields); return result; } @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) + POWER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPower()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.Validator parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Validator parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Validator parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Validator parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Validator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Validator parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Validator parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Validator 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 tendermint.abci.Types.Validator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.Validator 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 tendermint.abci.Types.Validator parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Validator 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(tendermint.abci.Types.Validator 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; } /** *
     * Validator
     * 
* * Protobuf type {@code tendermint.abci.Validator} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.Validator) tendermint.abci.Types.ValidatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Validator_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Validator_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Validator.class, tendermint.abci.Types.Validator.Builder.class); } // Construct using tendermint.abci.Types.Validator.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; power_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_Validator_descriptor; } @java.lang.Override public tendermint.abci.Types.Validator getDefaultInstanceForType() { return tendermint.abci.Types.Validator.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.Validator build() { tendermint.abci.Types.Validator result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.Validator buildPartial() { tendermint.abci.Types.Validator result = new tendermint.abci.Types.Validator(this); result.address_ = address_; result.power_ = power_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.Validator) { return mergeFrom((tendermint.abci.Types.Validator)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.Validator other) { if (other == tendermint.abci.Types.Validator.getDefaultInstance()) return this; if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) { setAddress(other.getAddress()); } if (other.getPower() != 0L) { setPower(other.getPower()); } 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 { tendermint.abci.Types.Validator parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.Validator) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY; /** *
       * The first 20 bytes of SHA256(public key)
       * 
* * bytes address = 1; */ public com.google.protobuf.ByteString getAddress() { return address_; } /** *
       * The first 20 bytes of SHA256(public key)
       * 
* * bytes address = 1; */ public Builder setAddress(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); return this; } /** *
       * The first 20 bytes of SHA256(public key)
       * 
* * bytes address = 1; */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); onChanged(); return this; } private long power_ ; /** *
       * PubKey pub_key = 2 [(gogoproto.nullable)=false];
       * 
* * int64 power = 3; */ public long getPower() { return power_; } /** *
       * PubKey pub_key = 2 [(gogoproto.nullable)=false];
       * 
* * int64 power = 3; */ public Builder setPower(long value) { power_ = value; onChanged(); return this; } /** *
       * PubKey pub_key = 2 [(gogoproto.nullable)=false];
       * 
* * int64 power = 3; */ public Builder clearPower() { power_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.Validator) } // @@protoc_insertion_point(class_scope:tendermint.abci.Validator) private static final tendermint.abci.Types.Validator DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.Validator(); } public static tendermint.abci.Types.Validator getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Validator parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Validator(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 tendermint.abci.Types.Validator getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ValidatorUpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.ValidatorUpdate) com.google.protobuf.MessageOrBuilder { /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ boolean hasPubKey(); /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ tendermint.crypto.Keys.PublicKey getPubKey(); /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ tendermint.crypto.Keys.PublicKeyOrBuilder getPubKeyOrBuilder(); /** * int64 power = 2; */ long getPower(); } /** *
   * ValidatorUpdate
   * 
* * Protobuf type {@code tendermint.abci.ValidatorUpdate} */ public static final class ValidatorUpdate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.ValidatorUpdate) ValidatorUpdateOrBuilder { private static final long serialVersionUID = 0L; // Use ValidatorUpdate.newBuilder() to construct. private ValidatorUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ValidatorUpdate() { power_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ValidatorUpdate( 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: { tendermint.crypto.Keys.PublicKey.Builder subBuilder = null; if (pubKey_ != null) { subBuilder = pubKey_.toBuilder(); } pubKey_ = input.readMessage(tendermint.crypto.Keys.PublicKey.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pubKey_); pubKey_ = subBuilder.buildPartial(); } break; } case 16: { power_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_ValidatorUpdate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ValidatorUpdate_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ValidatorUpdate.class, tendermint.abci.Types.ValidatorUpdate.Builder.class); } public static final int PUB_KEY_FIELD_NUMBER = 1; private tendermint.crypto.Keys.PublicKey pubKey_; /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPubKey() { return pubKey_ != null; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public tendermint.crypto.Keys.PublicKey getPubKey() { return pubKey_ == null ? tendermint.crypto.Keys.PublicKey.getDefaultInstance() : pubKey_; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public tendermint.crypto.Keys.PublicKeyOrBuilder getPubKeyOrBuilder() { return getPubKey(); } public static final int POWER_FIELD_NUMBER = 2; private long power_; /** * int64 power = 2; */ public long getPower() { return power_; } 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 (pubKey_ != null) { output.writeMessage(1, getPubKey()); } if (power_ != 0L) { output.writeInt64(2, power_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pubKey_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPubKey()); } if (power_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, power_); } 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 tendermint.abci.Types.ValidatorUpdate)) { return super.equals(obj); } tendermint.abci.Types.ValidatorUpdate other = (tendermint.abci.Types.ValidatorUpdate) obj; boolean result = true; result = result && (hasPubKey() == other.hasPubKey()); if (hasPubKey()) { result = result && getPubKey() .equals(other.getPubKey()); } result = result && (getPower() == other.getPower()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPubKey()) { hash = (37 * hash) + PUB_KEY_FIELD_NUMBER; hash = (53 * hash) + getPubKey().hashCode(); } hash = (37 * hash) + POWER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPower()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.ValidatorUpdate parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ValidatorUpdate parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ValidatorUpdate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ValidatorUpdate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ValidatorUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.ValidatorUpdate parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.ValidatorUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ValidatorUpdate 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 tendermint.abci.Types.ValidatorUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.ValidatorUpdate 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 tendermint.abci.Types.ValidatorUpdate parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.ValidatorUpdate 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(tendermint.abci.Types.ValidatorUpdate 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; } /** *
     * ValidatorUpdate
     * 
* * Protobuf type {@code tendermint.abci.ValidatorUpdate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.ValidatorUpdate) tendermint.abci.Types.ValidatorUpdateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_ValidatorUpdate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_ValidatorUpdate_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.ValidatorUpdate.class, tendermint.abci.Types.ValidatorUpdate.Builder.class); } // Construct using tendermint.abci.Types.ValidatorUpdate.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 (pubKeyBuilder_ == null) { pubKey_ = null; } else { pubKey_ = null; pubKeyBuilder_ = null; } power_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_ValidatorUpdate_descriptor; } @java.lang.Override public tendermint.abci.Types.ValidatorUpdate getDefaultInstanceForType() { return tendermint.abci.Types.ValidatorUpdate.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.ValidatorUpdate build() { tendermint.abci.Types.ValidatorUpdate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.ValidatorUpdate buildPartial() { tendermint.abci.Types.ValidatorUpdate result = new tendermint.abci.Types.ValidatorUpdate(this); if (pubKeyBuilder_ == null) { result.pubKey_ = pubKey_; } else { result.pubKey_ = pubKeyBuilder_.build(); } result.power_ = power_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.ValidatorUpdate) { return mergeFrom((tendermint.abci.Types.ValidatorUpdate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.ValidatorUpdate other) { if (other == tendermint.abci.Types.ValidatorUpdate.getDefaultInstance()) return this; if (other.hasPubKey()) { mergePubKey(other.getPubKey()); } if (other.getPower() != 0L) { setPower(other.getPower()); } 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 { tendermint.abci.Types.ValidatorUpdate parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.ValidatorUpdate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private tendermint.crypto.Keys.PublicKey pubKey_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.Keys.PublicKey, tendermint.crypto.Keys.PublicKey.Builder, tendermint.crypto.Keys.PublicKeyOrBuilder> pubKeyBuilder_; /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPubKey() { return pubKeyBuilder_ != null || pubKey_ != null; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public tendermint.crypto.Keys.PublicKey getPubKey() { if (pubKeyBuilder_ == null) { return pubKey_ == null ? tendermint.crypto.Keys.PublicKey.getDefaultInstance() : pubKey_; } else { return pubKeyBuilder_.getMessage(); } } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public Builder setPubKey(tendermint.crypto.Keys.PublicKey value) { if (pubKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pubKey_ = value; onChanged(); } else { pubKeyBuilder_.setMessage(value); } return this; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public Builder setPubKey( tendermint.crypto.Keys.PublicKey.Builder builderForValue) { if (pubKeyBuilder_ == null) { pubKey_ = builderForValue.build(); onChanged(); } else { pubKeyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public Builder mergePubKey(tendermint.crypto.Keys.PublicKey value) { if (pubKeyBuilder_ == null) { if (pubKey_ != null) { pubKey_ = tendermint.crypto.Keys.PublicKey.newBuilder(pubKey_).mergeFrom(value).buildPartial(); } else { pubKey_ = value; } onChanged(); } else { pubKeyBuilder_.mergeFrom(value); } return this; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public Builder clearPubKey() { if (pubKeyBuilder_ == null) { pubKey_ = null; onChanged(); } else { pubKey_ = null; pubKeyBuilder_ = null; } return this; } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public tendermint.crypto.Keys.PublicKey.Builder getPubKeyBuilder() { onChanged(); return getPubKeyFieldBuilder().getBuilder(); } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ public tendermint.crypto.Keys.PublicKeyOrBuilder getPubKeyOrBuilder() { if (pubKeyBuilder_ != null) { return pubKeyBuilder_.getMessageOrBuilder(); } else { return pubKey_ == null ? tendermint.crypto.Keys.PublicKey.getDefaultInstance() : pubKey_; } } /** * .tendermint.crypto.PublicKey pub_key = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.Keys.PublicKey, tendermint.crypto.Keys.PublicKey.Builder, tendermint.crypto.Keys.PublicKeyOrBuilder> getPubKeyFieldBuilder() { if (pubKeyBuilder_ == null) { pubKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.crypto.Keys.PublicKey, tendermint.crypto.Keys.PublicKey.Builder, tendermint.crypto.Keys.PublicKeyOrBuilder>( getPubKey(), getParentForChildren(), isClean()); pubKey_ = null; } return pubKeyBuilder_; } private long power_ ; /** * int64 power = 2; */ public long getPower() { return power_; } /** * int64 power = 2; */ public Builder setPower(long value) { power_ = value; onChanged(); return this; } /** * int64 power = 2; */ public Builder clearPower() { power_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.ValidatorUpdate) } // @@protoc_insertion_point(class_scope:tendermint.abci.ValidatorUpdate) private static final tendermint.abci.Types.ValidatorUpdate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.ValidatorUpdate(); } public static tendermint.abci.Types.ValidatorUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ValidatorUpdate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ValidatorUpdate(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 tendermint.abci.Types.ValidatorUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VoteInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.VoteInfo) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ boolean hasValidator(); /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.Validator getValidator(); /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder(); /** * bool signed_last_block = 2; */ boolean getSignedLastBlock(); } /** *
   * VoteInfo
   * 
* * Protobuf type {@code tendermint.abci.VoteInfo} */ public static final class VoteInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.VoteInfo) VoteInfoOrBuilder { private static final long serialVersionUID = 0L; // Use VoteInfo.newBuilder() to construct. private VoteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VoteInfo() { signedLastBlock_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VoteInfo( 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: { tendermint.abci.Types.Validator.Builder subBuilder = null; if (validator_ != null) { subBuilder = validator_.toBuilder(); } validator_ = input.readMessage(tendermint.abci.Types.Validator.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(validator_); validator_ = subBuilder.buildPartial(); } break; } case 16: { signedLastBlock_ = input.readBool(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_VoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_VoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.VoteInfo.class, tendermint.abci.Types.VoteInfo.Builder.class); } public static final int VALIDATOR_FIELD_NUMBER = 1; private tendermint.abci.Types.Validator validator_; /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public boolean hasValidator() { return validator_ != null; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator getValidator() { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder() { return getValidator(); } public static final int SIGNED_LAST_BLOCK_FIELD_NUMBER = 2; private boolean signedLastBlock_; /** * bool signed_last_block = 2; */ public boolean getSignedLastBlock() { return signedLastBlock_; } 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 (validator_ != null) { output.writeMessage(1, getValidator()); } if (signedLastBlock_ != false) { output.writeBool(2, signedLastBlock_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (validator_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getValidator()); } if (signedLastBlock_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, signedLastBlock_); } 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 tendermint.abci.Types.VoteInfo)) { return super.equals(obj); } tendermint.abci.Types.VoteInfo other = (tendermint.abci.Types.VoteInfo) obj; boolean result = true; result = result && (hasValidator() == other.hasValidator()); if (hasValidator()) { result = result && getValidator() .equals(other.getValidator()); } result = result && (getSignedLastBlock() == other.getSignedLastBlock()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasValidator()) { hash = (37 * hash) + VALIDATOR_FIELD_NUMBER; hash = (53 * hash) + getValidator().hashCode(); } hash = (37 * hash) + SIGNED_LAST_BLOCK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSignedLastBlock()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.VoteInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.VoteInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.VoteInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.VoteInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.VoteInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.VoteInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.VoteInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.VoteInfo 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 tendermint.abci.Types.VoteInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.VoteInfo 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 tendermint.abci.Types.VoteInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.VoteInfo 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(tendermint.abci.Types.VoteInfo 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; } /** *
     * VoteInfo
     * 
* * Protobuf type {@code tendermint.abci.VoteInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.VoteInfo) tendermint.abci.Types.VoteInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_VoteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_VoteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.VoteInfo.class, tendermint.abci.Types.VoteInfo.Builder.class); } // Construct using tendermint.abci.Types.VoteInfo.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 (validatorBuilder_ == null) { validator_ = null; } else { validator_ = null; validatorBuilder_ = null; } signedLastBlock_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_VoteInfo_descriptor; } @java.lang.Override public tendermint.abci.Types.VoteInfo getDefaultInstanceForType() { return tendermint.abci.Types.VoteInfo.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.VoteInfo build() { tendermint.abci.Types.VoteInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.VoteInfo buildPartial() { tendermint.abci.Types.VoteInfo result = new tendermint.abci.Types.VoteInfo(this); if (validatorBuilder_ == null) { result.validator_ = validator_; } else { result.validator_ = validatorBuilder_.build(); } result.signedLastBlock_ = signedLastBlock_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.VoteInfo) { return mergeFrom((tendermint.abci.Types.VoteInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.VoteInfo other) { if (other == tendermint.abci.Types.VoteInfo.getDefaultInstance()) return this; if (other.hasValidator()) { mergeValidator(other.getValidator()); } if (other.getSignedLastBlock() != false) { setSignedLastBlock(other.getSignedLastBlock()); } 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 { tendermint.abci.Types.VoteInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.VoteInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private tendermint.abci.Types.Validator validator_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder> validatorBuilder_; /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public boolean hasValidator() { return validatorBuilder_ != null || validator_ != null; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator getValidator() { if (validatorBuilder_ == null) { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } else { return validatorBuilder_.getMessage(); } } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public Builder setValidator(tendermint.abci.Types.Validator value) { if (validatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validator_ = value; onChanged(); } else { validatorBuilder_.setMessage(value); } return this; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public Builder setValidator( tendermint.abci.Types.Validator.Builder builderForValue) { if (validatorBuilder_ == null) { validator_ = builderForValue.build(); onChanged(); } else { validatorBuilder_.setMessage(builderForValue.build()); } return this; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeValidator(tendermint.abci.Types.Validator value) { if (validatorBuilder_ == null) { if (validator_ != null) { validator_ = tendermint.abci.Types.Validator.newBuilder(validator_).mergeFrom(value).buildPartial(); } else { validator_ = value; } onChanged(); } else { validatorBuilder_.mergeFrom(value); } return this; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public Builder clearValidator() { if (validatorBuilder_ == null) { validator_ = null; onChanged(); } else { validator_ = null; validatorBuilder_ = null; } return this; } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator.Builder getValidatorBuilder() { onChanged(); return getValidatorFieldBuilder().getBuilder(); } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder() { if (validatorBuilder_ != null) { return validatorBuilder_.getMessageOrBuilder(); } else { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } } /** * .tendermint.abci.Validator validator = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder> getValidatorFieldBuilder() { if (validatorBuilder_ == null) { validatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder>( getValidator(), getParentForChildren(), isClean()); validator_ = null; } return validatorBuilder_; } private boolean signedLastBlock_ ; /** * bool signed_last_block = 2; */ public boolean getSignedLastBlock() { return signedLastBlock_; } /** * bool signed_last_block = 2; */ public Builder setSignedLastBlock(boolean value) { signedLastBlock_ = value; onChanged(); return this; } /** * bool signed_last_block = 2; */ public Builder clearSignedLastBlock() { signedLastBlock_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.VoteInfo) } // @@protoc_insertion_point(class_scope:tendermint.abci.VoteInfo) private static final tendermint.abci.Types.VoteInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.VoteInfo(); } public static tendermint.abci.Types.VoteInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VoteInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VoteInfo(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 tendermint.abci.Types.VoteInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EvidenceOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.Evidence) com.google.protobuf.MessageOrBuilder { /** * .tendermint.abci.EvidenceType type = 1; */ int getTypeValue(); /** * .tendermint.abci.EvidenceType type = 1; */ tendermint.abci.Types.EvidenceType getType(); /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ boolean hasValidator(); /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.Validator getValidator(); /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder(); /** *
     * The height when the offense occurred
     * 
* * int64 height = 3; */ long getHeight(); /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ boolean hasTime(); /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ com.google.protobuf.Timestamp getTime(); /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ com.google.protobuf.TimestampOrBuilder getTimeOrBuilder(); /** *
     * Total voting power of the validator set in case the ABCI application does
     * not store historical validators.
     * https://github.com/tendermint/tendermint/issues/4581
     * 
* * int64 total_voting_power = 5; */ long getTotalVotingPower(); } /** * Protobuf type {@code tendermint.abci.Evidence} */ public static final class Evidence extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.Evidence) EvidenceOrBuilder { private static final long serialVersionUID = 0L; // Use Evidence.newBuilder() to construct. private Evidence(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Evidence() { type_ = 0; height_ = 0L; totalVotingPower_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Evidence( 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(); type_ = rawValue; break; } case 18: { tendermint.abci.Types.Validator.Builder subBuilder = null; if (validator_ != null) { subBuilder = validator_.toBuilder(); } validator_ = input.readMessage(tendermint.abci.Types.Validator.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(validator_); validator_ = subBuilder.buildPartial(); } break; } case 24: { height_ = input.readInt64(); break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (time_ != null) { subBuilder = time_.toBuilder(); } time_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(time_); time_ = subBuilder.buildPartial(); } break; } case 40: { totalVotingPower_ = input.readInt64(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_Evidence_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Evidence_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Evidence.class, tendermint.abci.Types.Evidence.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * .tendermint.abci.EvidenceType type = 1; */ public int getTypeValue() { return type_; } /** * .tendermint.abci.EvidenceType type = 1; */ public tendermint.abci.Types.EvidenceType getType() { @SuppressWarnings("deprecation") tendermint.abci.Types.EvidenceType result = tendermint.abci.Types.EvidenceType.valueOf(type_); return result == null ? tendermint.abci.Types.EvidenceType.UNRECOGNIZED : result; } public static final int VALIDATOR_FIELD_NUMBER = 2; private tendermint.abci.Types.Validator validator_; /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public boolean hasValidator() { return validator_ != null; } /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator getValidator() { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } /** *
     * The offending validator
     * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder() { return getValidator(); } public static final int HEIGHT_FIELD_NUMBER = 3; private long height_; /** *
     * The height when the offense occurred
     * 
* * int64 height = 3; */ public long getHeight() { return height_; } public static final int TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp time_; /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public boolean hasTime() { return time_ != null; } /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp getTime() { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } /** *
     * The corresponding time where the offense occurred
     * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { return getTime(); } public static final int TOTAL_VOTING_POWER_FIELD_NUMBER = 5; private long totalVotingPower_; /** *
     * Total voting power of the validator set in case the ABCI application does
     * not store historical validators.
     * https://github.com/tendermint/tendermint/issues/4581
     * 
* * int64 total_voting_power = 5; */ public long getTotalVotingPower() { return totalVotingPower_; } 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 (type_ != tendermint.abci.Types.EvidenceType.UNKNOWN.getNumber()) { output.writeEnum(1, type_); } if (validator_ != null) { output.writeMessage(2, getValidator()); } if (height_ != 0L) { output.writeInt64(3, height_); } if (time_ != null) { output.writeMessage(4, getTime()); } if (totalVotingPower_ != 0L) { output.writeInt64(5, totalVotingPower_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != tendermint.abci.Types.EvidenceType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (validator_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getValidator()); } if (height_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, height_); } if (time_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTime()); } if (totalVotingPower_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, totalVotingPower_); } 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 tendermint.abci.Types.Evidence)) { return super.equals(obj); } tendermint.abci.Types.Evidence other = (tendermint.abci.Types.Evidence) obj; boolean result = true; result = result && type_ == other.type_; result = result && (hasValidator() == other.hasValidator()); if (hasValidator()) { result = result && getValidator() .equals(other.getValidator()); } result = result && (getHeight() == other.getHeight()); result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && getTime() .equals(other.getTime()); } result = result && (getTotalVotingPower() == other.getTotalVotingPower()); result = result && unknownFields.equals(other.unknownFields); return result; } @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) + type_; if (hasValidator()) { hash = (37 * hash) + VALIDATOR_FIELD_NUMBER; hash = (53 * hash) + getValidator().hashCode(); } hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeight()); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); } hash = (37 * hash) + TOTAL_VOTING_POWER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalVotingPower()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.Evidence parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Evidence parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Evidence parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Evidence parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Evidence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Evidence parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Evidence parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Evidence 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 tendermint.abci.Types.Evidence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.Evidence 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 tendermint.abci.Types.Evidence parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Evidence 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(tendermint.abci.Types.Evidence 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 tendermint.abci.Evidence} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.Evidence) tendermint.abci.Types.EvidenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Evidence_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Evidence_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Evidence.class, tendermint.abci.Types.Evidence.Builder.class); } // Construct using tendermint.abci.Types.Evidence.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_ = 0; if (validatorBuilder_ == null) { validator_ = null; } else { validator_ = null; validatorBuilder_ = null; } height_ = 0L; if (timeBuilder_ == null) { time_ = null; } else { time_ = null; timeBuilder_ = null; } totalVotingPower_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_Evidence_descriptor; } @java.lang.Override public tendermint.abci.Types.Evidence getDefaultInstanceForType() { return tendermint.abci.Types.Evidence.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.Evidence build() { tendermint.abci.Types.Evidence result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.Evidence buildPartial() { tendermint.abci.Types.Evidence result = new tendermint.abci.Types.Evidence(this); result.type_ = type_; if (validatorBuilder_ == null) { result.validator_ = validator_; } else { result.validator_ = validatorBuilder_.build(); } result.height_ = height_; if (timeBuilder_ == null) { result.time_ = time_; } else { result.time_ = timeBuilder_.build(); } result.totalVotingPower_ = totalVotingPower_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.Evidence) { return mergeFrom((tendermint.abci.Types.Evidence)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.Evidence other) { if (other == tendermint.abci.Types.Evidence.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.hasValidator()) { mergeValidator(other.getValidator()); } if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (other.hasTime()) { mergeTime(other.getTime()); } if (other.getTotalVotingPower() != 0L) { setTotalVotingPower(other.getTotalVotingPower()); } 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 { tendermint.abci.Types.Evidence parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.Evidence) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int type_ = 0; /** * .tendermint.abci.EvidenceType type = 1; */ public int getTypeValue() { return type_; } /** * .tendermint.abci.EvidenceType type = 1; */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .tendermint.abci.EvidenceType type = 1; */ public tendermint.abci.Types.EvidenceType getType() { @SuppressWarnings("deprecation") tendermint.abci.Types.EvidenceType result = tendermint.abci.Types.EvidenceType.valueOf(type_); return result == null ? tendermint.abci.Types.EvidenceType.UNRECOGNIZED : result; } /** * .tendermint.abci.EvidenceType type = 1; */ public Builder setType(tendermint.abci.Types.EvidenceType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .tendermint.abci.EvidenceType type = 1; */ public Builder clearType() { type_ = 0; onChanged(); return this; } private tendermint.abci.Types.Validator validator_ = null; private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder> validatorBuilder_; /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public boolean hasValidator() { return validatorBuilder_ != null || validator_ != null; } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator getValidator() { if (validatorBuilder_ == null) { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } else { return validatorBuilder_.getMessage(); } } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public Builder setValidator(tendermint.abci.Types.Validator value) { if (validatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validator_ = value; onChanged(); } else { validatorBuilder_.setMessage(value); } return this; } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public Builder setValidator( tendermint.abci.Types.Validator.Builder builderForValue) { if (validatorBuilder_ == null) { validator_ = builderForValue.build(); onChanged(); } else { validatorBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeValidator(tendermint.abci.Types.Validator value) { if (validatorBuilder_ == null) { if (validator_ != null) { validator_ = tendermint.abci.Types.Validator.newBuilder(validator_).mergeFrom(value).buildPartial(); } else { validator_ = value; } onChanged(); } else { validatorBuilder_.mergeFrom(value); } return this; } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public Builder clearValidator() { if (validatorBuilder_ == null) { validator_ = null; onChanged(); } else { validator_ = null; validatorBuilder_ = null; } return this; } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Validator.Builder getValidatorBuilder() { onChanged(); return getValidatorFieldBuilder().getBuilder(); } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.ValidatorOrBuilder getValidatorOrBuilder() { if (validatorBuilder_ != null) { return validatorBuilder_.getMessageOrBuilder(); } else { return validator_ == null ? tendermint.abci.Types.Validator.getDefaultInstance() : validator_; } } /** *
       * The offending validator
       * 
* * .tendermint.abci.Validator validator = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder> getValidatorFieldBuilder() { if (validatorBuilder_ == null) { validatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tendermint.abci.Types.Validator, tendermint.abci.Types.Validator.Builder, tendermint.abci.Types.ValidatorOrBuilder>( getValidator(), getParentForChildren(), isClean()); validator_ = null; } return validatorBuilder_; } private long height_ ; /** *
       * The height when the offense occurred
       * 
* * int64 height = 3; */ public long getHeight() { return height_; } /** *
       * The height when the offense occurred
       * 
* * int64 height = 3; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** *
       * The height when the offense occurred
       * 
* * int64 height = 3; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp time_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeBuilder_; /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public boolean hasTime() { return timeBuilder_ != null || time_ != null; } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp getTime() { if (timeBuilder_ == null) { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } else { return timeBuilder_.getMessage(); } } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder setTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } time_ = value; onChanged(); } else { timeBuilder_.setMessage(value); } return this; } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder setTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (timeBuilder_ == null) { time_ = builderForValue.build(); onChanged(); } else { timeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder mergeTime(com.google.protobuf.Timestamp value) { if (timeBuilder_ == null) { if (time_ != null) { time_ = com.google.protobuf.Timestamp.newBuilder(time_).mergeFrom(value).buildPartial(); } else { time_ = value; } onChanged(); } else { timeBuilder_.mergeFrom(value); } return this; } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public Builder clearTime() { if (timeBuilder_ == null) { time_ = null; onChanged(); } else { time_ = null; timeBuilder_ = null; } return this; } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.Timestamp.Builder getTimeBuilder() { onChanged(); return getTimeFieldBuilder().getBuilder(); } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { if (timeBuilder_ != null) { return timeBuilder_.getMessageOrBuilder(); } else { return time_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : time_; } } /** *
       * The corresponding time where the offense occurred
       * 
* * .google.protobuf.Timestamp time = 4 [(.gogoproto.nullable) = false, (.gogoproto.stdtime) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getTime(), getParentForChildren(), isClean()); time_ = null; } return timeBuilder_; } private long totalVotingPower_ ; /** *
       * Total voting power of the validator set in case the ABCI application does
       * not store historical validators.
       * https://github.com/tendermint/tendermint/issues/4581
       * 
* * int64 total_voting_power = 5; */ public long getTotalVotingPower() { return totalVotingPower_; } /** *
       * Total voting power of the validator set in case the ABCI application does
       * not store historical validators.
       * https://github.com/tendermint/tendermint/issues/4581
       * 
* * int64 total_voting_power = 5; */ public Builder setTotalVotingPower(long value) { totalVotingPower_ = value; onChanged(); return this; } /** *
       * Total voting power of the validator set in case the ABCI application does
       * not store historical validators.
       * https://github.com/tendermint/tendermint/issues/4581
       * 
* * int64 total_voting_power = 5; */ public Builder clearTotalVotingPower() { totalVotingPower_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.Evidence) } // @@protoc_insertion_point(class_scope:tendermint.abci.Evidence) private static final tendermint.abci.Types.Evidence DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.Evidence(); } public static tendermint.abci.Types.Evidence getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Evidence parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Evidence(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 tendermint.abci.Types.Evidence getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:tendermint.abci.Snapshot) com.google.protobuf.MessageOrBuilder { /** *
     * The height at which the snapshot was taken
     * 
* * uint64 height = 1; */ long getHeight(); /** *
     * The application-specific snapshot format
     * 
* * uint32 format = 2; */ int getFormat(); /** *
     * Number of chunks in the snapshot
     * 
* * uint32 chunks = 3; */ int getChunks(); /** *
     * Arbitrary snapshot hash, equal only if identical
     * 
* * bytes hash = 4; */ com.google.protobuf.ByteString getHash(); /** *
     * Arbitrary application metadata
     * 
* * bytes metadata = 5; */ com.google.protobuf.ByteString getMetadata(); } /** * Protobuf type {@code tendermint.abci.Snapshot} */ public static final class Snapshot extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tendermint.abci.Snapshot) SnapshotOrBuilder { private static final long serialVersionUID = 0L; // Use Snapshot.newBuilder() to construct. private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Snapshot() { height_ = 0L; format_ = 0; chunks_ = 0; hash_ = com.google.protobuf.ByteString.EMPTY; metadata_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Snapshot( 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: { height_ = input.readUInt64(); break; } case 16: { format_ = input.readUInt32(); break; } case 24: { chunks_ = input.readUInt32(); break; } case 34: { hash_ = input.readBytes(); break; } case 42: { metadata_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( 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 tendermint.abci.Types.internal_static_tendermint_abci_Snapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Snapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Snapshot.class, tendermint.abci.Types.Snapshot.Builder.class); } public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** *
     * The height at which the snapshot was taken
     * 
* * uint64 height = 1; */ public long getHeight() { return height_; } public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** *
     * The application-specific snapshot format
     * 
* * uint32 format = 2; */ public int getFormat() { return format_; } public static final int CHUNKS_FIELD_NUMBER = 3; private int chunks_; /** *
     * Number of chunks in the snapshot
     * 
* * uint32 chunks = 3; */ public int getChunks() { return chunks_; } public static final int HASH_FIELD_NUMBER = 4; private com.google.protobuf.ByteString hash_; /** *
     * Arbitrary snapshot hash, equal only if identical
     * 
* * bytes hash = 4; */ public com.google.protobuf.ByteString getHash() { return hash_; } public static final int METADATA_FIELD_NUMBER = 5; private com.google.protobuf.ByteString metadata_; /** *
     * Arbitrary application metadata
     * 
* * bytes metadata = 5; */ public com.google.protobuf.ByteString getMetadata() { return metadata_; } 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 (format_ != 0) { output.writeUInt32(2, format_); } if (chunks_ != 0) { output.writeUInt32(3, chunks_); } if (!hash_.isEmpty()) { output.writeBytes(4, hash_); } if (!metadata_.isEmpty()) { output.writeBytes(5, metadata_); } 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 (format_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, format_); } if (chunks_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, chunks_); } if (!hash_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, hash_); } if (!metadata_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, metadata_); } 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 tendermint.abci.Types.Snapshot)) { return super.equals(obj); } tendermint.abci.Types.Snapshot other = (tendermint.abci.Types.Snapshot) obj; boolean result = true; result = result && (getHeight() == other.getHeight()); result = result && (getFormat() == other.getFormat()); result = result && (getChunks() == other.getChunks()); result = result && getHash() .equals(other.getHash()); result = result && getMetadata() .equals(other.getMetadata()); result = result && unknownFields.equals(other.unknownFields); return result; } @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) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat(); hash = (37 * hash) + CHUNKS_FIELD_NUMBER; hash = (53 * hash) + getChunks(); hash = (37 * hash) + HASH_FIELD_NUMBER; hash = (53 * hash) + getHash().hashCode(); hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static tendermint.abci.Types.Snapshot parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Snapshot parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Snapshot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Snapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tendermint.abci.Types.Snapshot parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tendermint.abci.Types.Snapshot parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Snapshot 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 tendermint.abci.Types.Snapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tendermint.abci.Types.Snapshot 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 tendermint.abci.Types.Snapshot parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tendermint.abci.Types.Snapshot 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(tendermint.abci.Types.Snapshot 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 tendermint.abci.Snapshot} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tendermint.abci.Snapshot) tendermint.abci.Types.SnapshotOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tendermint.abci.Types.internal_static_tendermint_abci_Snapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tendermint.abci.Types.internal_static_tendermint_abci_Snapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( tendermint.abci.Types.Snapshot.class, tendermint.abci.Types.Snapshot.Builder.class); } // Construct using tendermint.abci.Types.Snapshot.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; format_ = 0; chunks_ = 0; hash_ = com.google.protobuf.ByteString.EMPTY; metadata_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tendermint.abci.Types.internal_static_tendermint_abci_Snapshot_descriptor; } @java.lang.Override public tendermint.abci.Types.Snapshot getDefaultInstanceForType() { return tendermint.abci.Types.Snapshot.getDefaultInstance(); } @java.lang.Override public tendermint.abci.Types.Snapshot build() { tendermint.abci.Types.Snapshot result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tendermint.abci.Types.Snapshot buildPartial() { tendermint.abci.Types.Snapshot result = new tendermint.abci.Types.Snapshot(this); result.height_ = height_; result.format_ = format_; result.chunks_ = chunks_; result.hash_ = hash_; result.metadata_ = metadata_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tendermint.abci.Types.Snapshot) { return mergeFrom((tendermint.abci.Types.Snapshot)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tendermint.abci.Types.Snapshot other) { if (other == tendermint.abci.Types.Snapshot.getDefaultInstance()) return this; if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (other.getFormat() != 0) { setFormat(other.getFormat()); } if (other.getChunks() != 0) { setChunks(other.getChunks()); } if (other.getHash() != com.google.protobuf.ByteString.EMPTY) { setHash(other.getHash()); } if (other.getMetadata() != com.google.protobuf.ByteString.EMPTY) { setMetadata(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 { tendermint.abci.Types.Snapshot parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (tendermint.abci.Types.Snapshot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long height_ ; /** *
       * The height at which the snapshot was taken
       * 
* * uint64 height = 1; */ public long getHeight() { return height_; } /** *
       * The height at which the snapshot was taken
       * 
* * uint64 height = 1; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** *
       * The height at which the snapshot was taken
       * 
* * uint64 height = 1; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private int format_ ; /** *
       * The application-specific snapshot format
       * 
* * uint32 format = 2; */ public int getFormat() { return format_; } /** *
       * The application-specific snapshot format
       * 
* * uint32 format = 2; */ public Builder setFormat(int value) { format_ = value; onChanged(); return this; } /** *
       * The application-specific snapshot format
       * 
* * uint32 format = 2; */ public Builder clearFormat() { format_ = 0; onChanged(); return this; } private int chunks_ ; /** *
       * Number of chunks in the snapshot
       * 
* * uint32 chunks = 3; */ public int getChunks() { return chunks_; } /** *
       * Number of chunks in the snapshot
       * 
* * uint32 chunks = 3; */ public Builder setChunks(int value) { chunks_ = value; onChanged(); return this; } /** *
       * Number of chunks in the snapshot
       * 
* * uint32 chunks = 3; */ public Builder clearChunks() { chunks_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString hash_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Arbitrary snapshot hash, equal only if identical
       * 
* * bytes hash = 4; */ public com.google.protobuf.ByteString getHash() { return hash_; } /** *
       * Arbitrary snapshot hash, equal only if identical
       * 
* * bytes hash = 4; */ public Builder setHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } hash_ = value; onChanged(); return this; } /** *
       * Arbitrary snapshot hash, equal only if identical
       * 
* * bytes hash = 4; */ public Builder clearHash() { hash_ = getDefaultInstance().getHash(); onChanged(); return this; } private com.google.protobuf.ByteString metadata_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Arbitrary application metadata
       * 
* * bytes metadata = 5; */ public com.google.protobuf.ByteString getMetadata() { return metadata_; } /** *
       * Arbitrary application metadata
       * 
* * bytes metadata = 5; */ public Builder setMetadata(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); return this; } /** *
       * Arbitrary application metadata
       * 
* * bytes metadata = 5; */ public Builder clearMetadata() { metadata_ = getDefaultInstance().getMetadata(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tendermint.abci.Snapshot) } // @@protoc_insertion_point(class_scope:tendermint.abci.Snapshot) private static final tendermint.abci.Types.Snapshot DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tendermint.abci.Types.Snapshot(); } public static tendermint.abci.Types.Snapshot getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Snapshot parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Snapshot(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 tendermint.abci.Types.Snapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Request_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestEcho_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestEcho_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestFlush_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestFlush_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestSetOption_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestSetOption_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestInitChain_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestInitChain_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestQuery_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestQuery_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestBeginBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestBeginBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestCheckTx_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestCheckTx_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestDeliverTx_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestDeliverTx_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestEndBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestEndBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestCommit_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestCommit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestListSnapshots_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestListSnapshots_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestOfferSnapshot_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestOfferSnapshot_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestLoadSnapshotChunk_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_RequestApplySnapshotChunk_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Response_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseException_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseException_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseEcho_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseEcho_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseFlush_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseFlush_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseSetOption_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseSetOption_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseInitChain_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseInitChain_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseQuery_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseQuery_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseBeginBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseBeginBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseCheckTx_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseCheckTx_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseDeliverTx_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseDeliverTx_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseEndBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseEndBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseCommit_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseCommit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseListSnapshots_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseListSnapshots_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseOfferSnapshot_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseLoadSnapshotChunk_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ResponseApplySnapshotChunk_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ConsensusParams_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ConsensusParams_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_BlockParams_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_BlockParams_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_LastCommitInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_LastCommitInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Event_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Event_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_EventAttribute_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_EventAttribute_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_TxResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_TxResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Validator_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Validator_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_ValidatorUpdate_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_ValidatorUpdate_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_VoteInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_VoteInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Evidence_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Evidence_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tendermint_abci_Snapshot_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tendermint_abci_Snapshot_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\033tendermint/abci/types.proto\022\017tendermin" + "t.abci\032\035tendermint/crypto/proof.proto\032\034t" + "endermint/types/types.proto\032\034tendermint/" + "crypto/keys.proto\032\035tendermint/types/para" + "ms.proto\032\037google/protobuf/timestamp.prot" + "o\032\024gogoproto/gogo.proto\"\352\006\n\007Request\022,\n\004e" + "cho\030\001 \001(\0132\034.tendermint.abci.RequestEchoH" + "\000\022.\n\005flush\030\002 \001(\0132\035.tendermint.abci.Reque" + "stFlushH\000\022,\n\004info\030\003 \001(\0132\034.tendermint.abc" + "i.RequestInfoH\000\0227\n\nset_option\030\004 \001(\0132!.te" + "ndermint.abci.RequestSetOptionH\000\0227\n\ninit" + "_chain\030\005 \001(\0132!.tendermint.abci.RequestIn" + "itChainH\000\022.\n\005query\030\006 \001(\0132\035.tendermint.ab" + "ci.RequestQueryH\000\0229\n\013begin_block\030\007 \001(\0132\"" + ".tendermint.abci.RequestBeginBlockH\000\0223\n\010" + "check_tx\030\010 \001(\0132\037.tendermint.abci.Request" + "CheckTxH\000\0227\n\ndeliver_tx\030\t \001(\0132!.tendermi" + "nt.abci.RequestDeliverTxH\000\0225\n\tend_block\030" + "\n \001(\0132 .tendermint.abci.RequestEndBlockH" + "\000\0220\n\006commit\030\013 \001(\0132\036.tendermint.abci.Requ" + "estCommitH\000\022?\n\016list_snapshots\030\014 \001(\0132%.te" + "ndermint.abci.RequestListSnapshotsH\000\022?\n\016" + "offer_snapshot\030\r \001(\0132%.tendermint.abci.R" + "equestOfferSnapshotH\000\022H\n\023load_snapshot_c" + "hunk\030\016 \001(\0132).tendermint.abci.RequestLoad" + "SnapshotChunkH\000\022J\n\024apply_snapshot_chunk\030" + "\017 \001(\0132*.tendermint.abci.RequestApplySnap" + "shotChunkH\000B\007\n\005value\"\036\n\013RequestEcho\022\017\n\007m" + "essage\030\001 \001(\t\"\016\n\014RequestFlush\"J\n\013RequestI" + "nfo\022\017\n\007version\030\001 \001(\t\022\025\n\rblock_version\030\002 " + "\001(\004\022\023\n\013p2p_version\030\003 \001(\004\".\n\020RequestSetOp" + "tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\201\002\n\020Req" + "uestInitChain\0222\n\004time\030\001 \001(\0132\032.google.pro" + "tobuf.TimestampB\010\310\336\037\000\220\337\037\001\022\020\n\010chain_id\030\002 " + "\001(\t\022:\n\020consensus_params\030\003 \001(\0132 .tendermi" + "nt.abci.ConsensusParams\022:\n\nvalidators\030\004 " + "\003(\0132 .tendermint.abci.ValidatorUpdateB\004\310" + "\336\037\000\022\027\n\017app_state_bytes\030\005 \001(\014\022\026\n\016initial_" + "height\030\006 \001(\003\"I\n\014RequestQuery\022\014\n\004data\030\001 \001" + "(\014\022\014\n\004path\030\002 \001(\t\022\016\n\006height\030\003 \001(\003\022\r\n\005prov" + "e\030\004 \001(\010\"\321\001\n\021RequestBeginBlock\022\014\n\004hash\030\001 " + "\001(\014\022.\n\006header\030\002 \001(\0132\030.tendermint.types.H" + "eaderB\004\310\336\037\000\022?\n\020last_commit_info\030\003 \001(\0132\037." + "tendermint.abci.LastCommitInfoB\004\310\336\037\000\022=\n\024" + "byzantine_validators\030\004 \003(\0132\031.tendermint." + "abci.EvidenceB\004\310\336\037\000\"H\n\016RequestCheckTx\022\n\n" + "\002tx\030\001 \001(\014\022*\n\004type\030\002 \001(\0162\034.tendermint.abc" + "i.CheckTxType\"\036\n\020RequestDeliverTx\022\n\n\002tx\030" + "\001 \001(\014\"!\n\017RequestEndBlock\022\016\n\006height\030\001 \001(\003" + "\"\017\n\rRequestCommit\"\026\n\024RequestListSnapshot" + "s\"U\n\024RequestOfferSnapshot\022+\n\010snapshot\030\001 " + "\001(\0132\031.tendermint.abci.Snapshot\022\020\n\010app_ha" + "sh\030\002 \001(\014\"I\n\030RequestLoadSnapshotChunk\022\016\n\006" + "height\030\001 \001(\004\022\016\n\006format\030\002 \001(\r\022\r\n\005chunk\030\003 " + "\001(\r\"I\n\031RequestApplySnapshotChunk\022\r\n\005inde" + "x\030\001 \001(\r\022\r\n\005chunk\030\002 \001(\014\022\016\n\006sender\030\003 \001(\t\"\263" + "\007\n\010Response\0227\n\texception\030\001 \001(\0132\".tenderm" + "int.abci.ResponseExceptionH\000\022-\n\004echo\030\002 \001" + "(\0132\035.tendermint.abci.ResponseEchoH\000\022/\n\005f" + "lush\030\003 \001(\0132\036.tendermint.abci.ResponseFlu" + "shH\000\022-\n\004info\030\004 \001(\0132\035.tendermint.abci.Res" + "ponseInfoH\000\0228\n\nset_option\030\005 \001(\0132\".tender" + "mint.abci.ResponseSetOptionH\000\0228\n\ninit_ch" + "ain\030\006 \001(\0132\".tendermint.abci.ResponseInit" + "ChainH\000\022/\n\005query\030\007 \001(\0132\036.tendermint.abci" + ".ResponseQueryH\000\022:\n\013begin_block\030\010 \001(\0132#." + "tendermint.abci.ResponseBeginBlockH\000\0224\n\010" + "check_tx\030\t \001(\0132 .tendermint.abci.Respons" + "eCheckTxH\000\0228\n\ndeliver_tx\030\n \001(\0132\".tenderm" + "int.abci.ResponseDeliverTxH\000\0226\n\tend_bloc" + "k\030\013 \001(\0132!.tendermint.abci.ResponseEndBlo" + "ckH\000\0221\n\006commit\030\014 \001(\0132\037.tendermint.abci.R" + "esponseCommitH\000\022@\n\016list_snapshots\030\r \001(\0132" + "&.tendermint.abci.ResponseListSnapshotsH" + "\000\022@\n\016offer_snapshot\030\016 \001(\0132&.tendermint.a" + "bci.ResponseOfferSnapshotH\000\022I\n\023load_snap" + "shot_chunk\030\017 \001(\0132*.tendermint.abci.Respo" + "nseLoadSnapshotChunkH\000\022K\n\024apply_snapshot" + "_chunk\030\020 \001(\0132+.tendermint.abci.ResponseA" + "pplySnapshotChunkH\000B\007\n\005value\"\"\n\021Response" + "Exception\022\r\n\005error\030\001 \001(\t\"\037\n\014ResponseEcho" + "\022\017\n\007message\030\001 \001(\t\"\017\n\rResponseFlush\"z\n\014Re" + "sponseInfo\022\014\n\004data\030\001 \001(\t\022\017\n\007version\030\002 \001(" + "\t\022\023\n\013app_version\030\003 \001(\004\022\031\n\021last_block_hei" + "ght\030\004 \001(\003\022\033\n\023last_block_app_hash\030\005 \001(\014\"<" + "\n\021ResponseSetOption\022\014\n\004code\030\001 \001(\r\022\013\n\003log" + "\030\003 \001(\t\022\014\n\004info\030\004 \001(\t\"\235\001\n\021ResponseInitCha" + "in\022:\n\020consensus_params\030\001 \001(\0132 .tendermin" + "t.abci.ConsensusParams\022:\n\nvalidators\030\002 \003" + "(\0132 .tendermint.abci.ValidatorUpdateB\004\310\336" + "\037\000\022\020\n\010app_hash\030\003 \001(\014\"\266\001\n\rResponseQuery\022\014" + "\n\004code\030\001 \001(\r\022\013\n\003log\030\003 \001(\t\022\014\n\004info\030\004 \001(\t\022" + "\r\n\005index\030\005 \001(\003\022\013\n\003key\030\006 \001(\014\022\r\n\005value\030\007 \001" + "(\014\022.\n\tproof_ops\030\010 \001(\0132\033.tendermint.crypt" + "o.ProofOps\022\016\n\006height\030\t \001(\003\022\021\n\tcodespace\030" + "\n \001(\t\"V\n\022ResponseBeginBlock\022@\n\006events\030\001 " + "\003(\0132\026.tendermint.abci.EventB\030\310\336\037\000\352\336\037\020eve" + "nts,omitempty\"\331\001\n\017ResponseCheckTx\022\014\n\004cod" + "e\030\001 \001(\r\022\014\n\004data\030\002 \001(\014\022\013\n\003log\030\003 \001(\t\022\014\n\004in" + "fo\030\004 \001(\t\022\036\n\ngas_wanted\030\005 \001(\003R\ngas_wanted" + "\022\032\n\010gas_used\030\006 \001(\003R\010gas_used\022@\n\006events\030\007" + " \003(\0132\026.tendermint.abci.EventB\030\310\336\037\000\352\336\037\020ev" + "ents,omitempty\022\021\n\tcodespace\030\010 \001(\t\"\333\001\n\021Re" + "sponseDeliverTx\022\014\n\004code\030\001 \001(\r\022\014\n\004data\030\002 " + "\001(\014\022\013\n\003log\030\003 \001(\t\022\014\n\004info\030\004 \001(\t\022\036\n\ngas_wa" + "nted\030\005 \001(\003R\ngas_wanted\022\032\n\010gas_used\030\006 \001(\003" + "R\010gas_used\022@\n\006events\030\007 \003(\0132\026.tendermint." + "abci.EventB\030\310\336\037\000\352\336\037\020events,omitempty\022\021\n\t" + "codespace\030\010 \001(\t\"\332\001\n\020ResponseEndBlock\022A\n\021" + "validator_updates\030\001 \003(\0132 .tendermint.abc" + "i.ValidatorUpdateB\004\310\336\037\000\022A\n\027consensus_par" + "am_updates\030\002 \001(\0132 .tendermint.abci.Conse" + "nsusParams\022@\n\006events\030\003 \003(\0132\026.tendermint." + "abci.EventB\030\310\336\037\000\352\336\037\020events,omitempty\"5\n\016" + "ResponseCommit\022\014\n\004data\030\002 \001(\014\022\025\n\rretain_h" + "eight\030\003 \001(\003\"E\n\025ResponseListSnapshots\022,\n\t" + "snapshots\030\001 \003(\0132\031.tendermint.abci.Snapsh" + "ot\"\266\001\n\025ResponseOfferSnapshot\022=\n\006result\030\001" + " \001(\0162-.tendermint.abci.ResponseOfferSnap" + "shot.Result\"^\n\006Result\022\013\n\007UNKNOWN\020\000\022\n\n\006AC" + "CEPT\020\001\022\t\n\005ABORT\020\002\022\n\n\006REJECT\020\003\022\021\n\rREJECT_" + "FORMAT\020\004\022\021\n\rREJECT_SENDER\020\005\"*\n\031ResponseL" + "oadSnapshotChunk\022\r\n\005chunk\030\001 \001(\014\"\362\001\n\032Resp" + "onseApplySnapshotChunk\022B\n\006result\030\001 \001(\01622" + ".tendermint.abci.ResponseApplySnapshotCh" + "unk.Result\022\026\n\016refetch_chunks\030\002 \003(\r\022\026\n\016re" + "ject_senders\030\003 \003(\t\"`\n\006Result\022\013\n\007UNKNOWN\020" + "\000\022\n\n\006ACCEPT\020\001\022\t\n\005ABORT\020\002\022\t\n\005RETRY\020\003\022\022\n\016R" + "ETRY_SNAPSHOT\020\004\022\023\n\017REJECT_SNAPSHOT\020\005\"\332\001\n" + "\017ConsensusParams\022+\n\005block\030\001 \001(\0132\034.tender" + "mint.abci.BlockParams\0222\n\010evidence\030\002 \001(\0132" + " .tendermint.types.EvidenceParams\0224\n\tval" + "idator\030\003 \001(\0132!.tendermint.types.Validato" + "rParams\0220\n\007version\030\004 \001(\0132\037.tendermint.ty" + "pes.VersionParams\"1\n\013BlockParams\022\021\n\tmax_" + "bytes\030\001 \001(\003\022\017\n\007max_gas\030\002 \001(\003\"O\n\016LastComm" + "itInfo\022\r\n\005round\030\001 \001(\005\022.\n\005votes\030\002 \003(\0132\031.t" + "endermint.abci.VoteInfoB\004\310\336\037\000\"h\n\005Event\022\014" + "\n\004type\030\001 \001(\t\022Q\n\nattributes\030\002 \003(\0132\037.tende" + "rmint.abci.EventAttributeB\034\310\336\037\000\352\336\037\024attri" + "butes,omitempty\";\n\016EventAttribute\022\013\n\003key" + "\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\022\r\n\005index\030\003 \001(\010\"o\n\010" + "TxResult\022\016\n\006height\030\001 \001(\003\022\r\n\005index\030\002 \001(\r\022" + "\n\n\002tx\030\003 \001(\014\0228\n\006result\030\004 \001(\0132\".tendermint" + ".abci.ResponseDeliverTxB\004\310\336\037\000\"+\n\tValidat" + "or\022\017\n\007address\030\001 \001(\014\022\r\n\005power\030\003 \001(\003\"U\n\017Va" + "lidatorUpdate\0223\n\007pub_key\030\001 \001(\0132\034.tenderm" + "int.crypto.PublicKeyB\004\310\336\037\000\022\r\n\005power\030\002 \001(" + "\003\"Z\n\010VoteInfo\0223\n\tvalidator\030\001 \001(\0132\032.tende" + "rmint.abci.ValidatorB\004\310\336\037\000\022\031\n\021signed_las" + "t_block\030\002 \001(\010\"\314\001\n\010Evidence\022+\n\004type\030\001 \001(\016" + "2\035.tendermint.abci.EvidenceType\0223\n\tvalid" + "ator\030\002 \001(\0132\032.tendermint.abci.ValidatorB\004" + "\310\336\037\000\022\016\n\006height\030\003 \001(\003\0222\n\004time\030\004 \001(\0132\032.goo" + "gle.protobuf.TimestampB\010\310\336\037\000\220\337\037\001\022\032\n\022tota" + "l_voting_power\030\005 \001(\003\"Z\n\010Snapshot\022\016\n\006heig" + "ht\030\001 \001(\004\022\016\n\006format\030\002 \001(\r\022\016\n\006chunks\030\003 \001(\r" + "\022\014\n\004hash\030\004 \001(\014\022\020\n\010metadata\030\005 \001(\014*9\n\013Chec" + "kTxType\022\020\n\003NEW\020\000\032\007\212\235 \003New\022\030\n\007RECHECK\020\001\032\013" + "\212\235 \007Recheck*H\n\014EvidenceType\022\013\n\007UNKNOWN\020\000" + "\022\022\n\016DUPLICATE_VOTE\020\001\022\027\n\023LIGHT_CLIENT_ATT" + "ACK\020\0022\203\n\n\017ABCIApplication\022C\n\004Echo\022\034.tend" + "ermint.abci.RequestEcho\032\035.tendermint.abc" + "i.ResponseEcho\022F\n\005Flush\022\035.tendermint.abc" + "i.RequestFlush\032\036.tendermint.abci.Respons" + "eFlush\022C\n\004Info\022\034.tendermint.abci.Request" + "Info\032\035.tendermint.abci.ResponseInfo\022R\n\tS" + "etOption\022!.tendermint.abci.RequestSetOpt" + "ion\032\".tendermint.abci.ResponseSetOption\022" + "R\n\tDeliverTx\022!.tendermint.abci.RequestDe" + "liverTx\032\".tendermint.abci.ResponseDelive" + "rTx\022L\n\007CheckTx\022\037.tendermint.abci.Request" + "CheckTx\032 .tendermint.abci.ResponseCheckT" + "x\022F\n\005Query\022\035.tendermint.abci.RequestQuer" + "y\032\036.tendermint.abci.ResponseQuery\022I\n\006Com" + "mit\022\036.tendermint.abci.RequestCommit\032\037.te" + "ndermint.abci.ResponseCommit\022R\n\tInitChai" + "n\022!.tendermint.abci.RequestInitChain\032\".t" + "endermint.abci.ResponseInitChain\022U\n\nBegi" + "nBlock\022\".tendermint.abci.RequestBeginBlo" + "ck\032#.tendermint.abci.ResponseBeginBlock\022" + "O\n\010EndBlock\022 .tendermint.abci.RequestEnd" + "Block\032!.tendermint.abci.ResponseEndBlock" + "\022^\n\rListSnapshots\022%.tendermint.abci.Requ" + "estListSnapshots\032&.tendermint.abci.Respo" + "nseListSnapshots\022^\n\rOfferSnapshot\022%.tend" + "ermint.abci.RequestOfferSnapshot\032&.tende" + "rmint.abci.ResponseOfferSnapshot\022j\n\021Load" + "SnapshotChunk\022).tendermint.abci.RequestL" + "oadSnapshotChunk\032*.tendermint.abci.Respo" + "nseLoadSnapshotChunk\022m\n\022ApplySnapshotChu" + "nk\022*.tendermint.abci.RequestApplySnapsho" + "tChunk\032+.tendermint.abci.ResponseApplySn" + "apshotChunkB-Z+github.com/tendermint/ten" + "dermint/abci/typesb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { tendermint.crypto.ProofOuterClass.getDescriptor(), tendermint.types.Types.getDescriptor(), tendermint.crypto.Keys.getDescriptor(), tendermint.types.Params.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), }, assigner); internal_static_tendermint_abci_Request_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_tendermint_abci_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Request_descriptor, new java.lang.String[] { "Echo", "Flush", "Info", "SetOption", "InitChain", "Query", "BeginBlock", "CheckTx", "DeliverTx", "EndBlock", "Commit", "ListSnapshots", "OfferSnapshot", "LoadSnapshotChunk", "ApplySnapshotChunk", "Value", }); internal_static_tendermint_abci_RequestEcho_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_tendermint_abci_RequestEcho_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestEcho_descriptor, new java.lang.String[] { "Message", }); internal_static_tendermint_abci_RequestFlush_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_tendermint_abci_RequestFlush_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestFlush_descriptor, new java.lang.String[] { }); internal_static_tendermint_abci_RequestInfo_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_tendermint_abci_RequestInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestInfo_descriptor, new java.lang.String[] { "Version", "BlockVersion", "P2PVersion", }); internal_static_tendermint_abci_RequestSetOption_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_tendermint_abci_RequestSetOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestSetOption_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_tendermint_abci_RequestInitChain_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_tendermint_abci_RequestInitChain_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestInitChain_descriptor, new java.lang.String[] { "Time", "ChainId", "ConsensusParams", "Validators", "AppStateBytes", "InitialHeight", }); internal_static_tendermint_abci_RequestQuery_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_tendermint_abci_RequestQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestQuery_descriptor, new java.lang.String[] { "Data", "Path", "Height", "Prove", }); internal_static_tendermint_abci_RequestBeginBlock_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_tendermint_abci_RequestBeginBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestBeginBlock_descriptor, new java.lang.String[] { "Hash", "Header", "LastCommitInfo", "ByzantineValidators", }); internal_static_tendermint_abci_RequestCheckTx_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_tendermint_abci_RequestCheckTx_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestCheckTx_descriptor, new java.lang.String[] { "Tx", "Type", }); internal_static_tendermint_abci_RequestDeliverTx_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_tendermint_abci_RequestDeliverTx_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestDeliverTx_descriptor, new java.lang.String[] { "Tx", }); internal_static_tendermint_abci_RequestEndBlock_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_tendermint_abci_RequestEndBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestEndBlock_descriptor, new java.lang.String[] { "Height", }); internal_static_tendermint_abci_RequestCommit_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_tendermint_abci_RequestCommit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestCommit_descriptor, new java.lang.String[] { }); internal_static_tendermint_abci_RequestListSnapshots_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_tendermint_abci_RequestListSnapshots_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestListSnapshots_descriptor, new java.lang.String[] { }); internal_static_tendermint_abci_RequestOfferSnapshot_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_tendermint_abci_RequestOfferSnapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestOfferSnapshot_descriptor, new java.lang.String[] { "Snapshot", "AppHash", }); internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_tendermint_abci_RequestLoadSnapshotChunk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestLoadSnapshotChunk_descriptor, new java.lang.String[] { "Height", "Format", "Chunk", }); internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_tendermint_abci_RequestApplySnapshotChunk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_RequestApplySnapshotChunk_descriptor, new java.lang.String[] { "Index", "Chunk", "Sender", }); internal_static_tendermint_abci_Response_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_tendermint_abci_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Response_descriptor, new java.lang.String[] { "Exception", "Echo", "Flush", "Info", "SetOption", "InitChain", "Query", "BeginBlock", "CheckTx", "DeliverTx", "EndBlock", "Commit", "ListSnapshots", "OfferSnapshot", "LoadSnapshotChunk", "ApplySnapshotChunk", "Value", }); internal_static_tendermint_abci_ResponseException_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_tendermint_abci_ResponseException_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseException_descriptor, new java.lang.String[] { "Error", }); internal_static_tendermint_abci_ResponseEcho_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_tendermint_abci_ResponseEcho_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseEcho_descriptor, new java.lang.String[] { "Message", }); internal_static_tendermint_abci_ResponseFlush_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_tendermint_abci_ResponseFlush_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseFlush_descriptor, new java.lang.String[] { }); internal_static_tendermint_abci_ResponseInfo_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_tendermint_abci_ResponseInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseInfo_descriptor, new java.lang.String[] { "Data", "Version", "AppVersion", "LastBlockHeight", "LastBlockAppHash", }); internal_static_tendermint_abci_ResponseSetOption_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_tendermint_abci_ResponseSetOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseSetOption_descriptor, new java.lang.String[] { "Code", "Log", "Info", }); internal_static_tendermint_abci_ResponseInitChain_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_tendermint_abci_ResponseInitChain_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseInitChain_descriptor, new java.lang.String[] { "ConsensusParams", "Validators", "AppHash", }); internal_static_tendermint_abci_ResponseQuery_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_tendermint_abci_ResponseQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseQuery_descriptor, new java.lang.String[] { "Code", "Log", "Info", "Index", "Key", "Value", "ProofOps", "Height", "Codespace", }); internal_static_tendermint_abci_ResponseBeginBlock_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_tendermint_abci_ResponseBeginBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseBeginBlock_descriptor, new java.lang.String[] { "Events", }); internal_static_tendermint_abci_ResponseCheckTx_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_tendermint_abci_ResponseCheckTx_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseCheckTx_descriptor, new java.lang.String[] { "Code", "Data", "Log", "Info", "GasWanted", "GasUsed", "Events", "Codespace", }); internal_static_tendermint_abci_ResponseDeliverTx_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_tendermint_abci_ResponseDeliverTx_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseDeliverTx_descriptor, new java.lang.String[] { "Code", "Data", "Log", "Info", "GasWanted", "GasUsed", "Events", "Codespace", }); internal_static_tendermint_abci_ResponseEndBlock_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_tendermint_abci_ResponseEndBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseEndBlock_descriptor, new java.lang.String[] { "ValidatorUpdates", "ConsensusParamUpdates", "Events", }); internal_static_tendermint_abci_ResponseCommit_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_tendermint_abci_ResponseCommit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseCommit_descriptor, new java.lang.String[] { "Data", "RetainHeight", }); internal_static_tendermint_abci_ResponseListSnapshots_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_tendermint_abci_ResponseListSnapshots_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseListSnapshots_descriptor, new java.lang.String[] { "Snapshots", }); internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_tendermint_abci_ResponseOfferSnapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseOfferSnapshot_descriptor, new java.lang.String[] { "Result", }); internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_tendermint_abci_ResponseLoadSnapshotChunk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseLoadSnapshotChunk_descriptor, new java.lang.String[] { "Chunk", }); internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_tendermint_abci_ResponseApplySnapshotChunk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ResponseApplySnapshotChunk_descriptor, new java.lang.String[] { "Result", "RefetchChunks", "RejectSenders", }); internal_static_tendermint_abci_ConsensusParams_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_tendermint_abci_ConsensusParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ConsensusParams_descriptor, new java.lang.String[] { "Block", "Evidence", "Validator", "Version", }); internal_static_tendermint_abci_BlockParams_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_tendermint_abci_BlockParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_BlockParams_descriptor, new java.lang.String[] { "MaxBytes", "MaxGas", }); internal_static_tendermint_abci_LastCommitInfo_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_tendermint_abci_LastCommitInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_LastCommitInfo_descriptor, new java.lang.String[] { "Round", "Votes", }); internal_static_tendermint_abci_Event_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_tendermint_abci_Event_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Event_descriptor, new java.lang.String[] { "Type", "Attributes", }); internal_static_tendermint_abci_EventAttribute_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_tendermint_abci_EventAttribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_EventAttribute_descriptor, new java.lang.String[] { "Key", "Value", "Index", }); internal_static_tendermint_abci_TxResult_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_tendermint_abci_TxResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_TxResult_descriptor, new java.lang.String[] { "Height", "Index", "Tx", "Result", }); internal_static_tendermint_abci_Validator_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_tendermint_abci_Validator_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Validator_descriptor, new java.lang.String[] { "Address", "Power", }); internal_static_tendermint_abci_ValidatorUpdate_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_tendermint_abci_ValidatorUpdate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_ValidatorUpdate_descriptor, new java.lang.String[] { "PubKey", "Power", }); internal_static_tendermint_abci_VoteInfo_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_tendermint_abci_VoteInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_VoteInfo_descriptor, new java.lang.String[] { "Validator", "SignedLastBlock", }); internal_static_tendermint_abci_Evidence_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_tendermint_abci_Evidence_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Evidence_descriptor, new java.lang.String[] { "Type", "Validator", "Height", "Time", "TotalVotingPower", }); internal_static_tendermint_abci_Snapshot_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_tendermint_abci_Snapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tendermint_abci_Snapshot_descriptor, new java.lang.String[] { "Height", "Format", "Chunks", "Hash", "Metadata", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.enumvalueCustomname); registry.add(com.google.protobuf.GoGoProtos.jsontag); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.protobuf.GoGoProtos.stdtime); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); tendermint.crypto.ProofOuterClass.getDescriptor(); tendermint.types.Types.getDescriptor(); tendermint.crypto.Keys.getDescriptor(); tendermint.types.Params.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy