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

cosmos.base.abci.v1beta1.Abci Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cosmos/base/abci/v1beta1/abci.proto

package cosmos.base.abci.v1beta1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TxResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.TxResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The block height
     * 
* * int64 height = 1; */ long getHeight(); /** *
     * The transaction hash.
     * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ java.lang.String getTxhash(); /** *
     * The transaction hash.
     * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ com.google.protobuf.ByteString getTxhashBytes(); /** *
     * Namespace for the Code
     * 
* * string codespace = 3; */ java.lang.String getCodespace(); /** *
     * Namespace for the Code
     * 
* * string codespace = 3; */ com.google.protobuf.ByteString getCodespaceBytes(); /** *
     * Response code.
     * 
* * uint32 code = 4; */ int getCode(); /** *
     * Result bytes, if any.
     * 
* * string data = 5; */ java.lang.String getData(); /** *
     * Result bytes, if any.
     * 
* * string data = 5; */ com.google.protobuf.ByteString getDataBytes(); /** *
     * The output of the application's logger (raw string). May be
     * non-deterministic.
     * 
* * string raw_log = 6; */ java.lang.String getRawLog(); /** *
     * The output of the application's logger (raw string). May be
     * non-deterministic.
     * 
* * string raw_log = 6; */ com.google.protobuf.ByteString getRawLogBytes(); /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ java.util.List getLogsList(); /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getLogs(int index); /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ int getLogsCount(); /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ java.util.List getLogsOrBuilderList(); /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder getLogsOrBuilder( int index); /** *
     * Additional information. May be non-deterministic.
     * 
* * string info = 8; */ java.lang.String getInfo(); /** *
     * Additional information. May be non-deterministic.
     * 
* * string info = 8; */ com.google.protobuf.ByteString getInfoBytes(); /** *
     * Amount of gas requested for transaction.
     * 
* * int64 gas_wanted = 9; */ long getGasWanted(); /** *
     * Amount of gas consumed by transaction.
     * 
* * int64 gas_used = 10; */ long getGasUsed(); /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ boolean hasTx(); /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ com.google.protobuf.Any getTx(); /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ com.google.protobuf.AnyOrBuilder getTxOrBuilder(); /** *
     * Time of the previous block. For heights > 1, it's the weighted median of
     * the timestamps of the valid votes in the block.LastCommit. For height == 1,
     * it's genesis time.
     * 
* * string timestamp = 12; */ java.lang.String getTimestamp(); /** *
     * Time of the previous block. For heights > 1, it's the weighted median of
     * the timestamps of the valid votes in the block.LastCommit. For height == 1,
     * it's genesis time.
     * 
* * string timestamp = 12; */ com.google.protobuf.ByteString getTimestampBytes(); } /** *
   * TxResponse defines a structure containing relevant tx data and metadata. The
   * tags are stringified and the log is JSON decoded.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.TxResponse} */ public static final class TxResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.TxResponse) TxResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TxResponse.newBuilder() to construct. private TxResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TxResponse() { height_ = 0L; txhash_ = ""; codespace_ = ""; code_ = 0; data_ = ""; rawLog_ = ""; logs_ = java.util.Collections.emptyList(); info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; timestamp_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TxResponse( 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 18: { java.lang.String s = input.readStringRequireUtf8(); txhash_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); codespace_ = s; break; } case 32: { code_ = input.readUInt32(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); data_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); rawLog_ = s; break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { logs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } logs_.add( input.readMessage(cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.parser(), extensionRegistry)); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); info_ = s; break; } case 72: { gasWanted_ = input.readInt64(); break; } case 80: { gasUsed_ = input.readInt64(); break; } case 90: { com.google.protobuf.Any.Builder subBuilder = null; if (tx_ != null) { subBuilder = tx_.toBuilder(); } tx_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tx_); tx_ = subBuilder.buildPartial(); } break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); timestamp_ = 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)) { logs_ = java.util.Collections.unmodifiableList(logs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.TxResponse.class, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder.class); } private int bitField0_; public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** *
     * The block height
     * 
* * int64 height = 1; */ public long getHeight() { return height_; } public static final int TXHASH_FIELD_NUMBER = 2; private volatile java.lang.Object txhash_; /** *
     * The transaction hash.
     * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public java.lang.String getTxhash() { java.lang.Object ref = txhash_; 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(); txhash_ = s; return s; } } /** *
     * The transaction hash.
     * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public com.google.protobuf.ByteString getTxhashBytes() { java.lang.Object ref = txhash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txhash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CODESPACE_FIELD_NUMBER = 3; private volatile java.lang.Object codespace_; /** *
     * Namespace for the Code
     * 
* * string codespace = 3; */ 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; } } /** *
     * Namespace for the Code
     * 
* * string codespace = 3; */ 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; } } public static final int CODE_FIELD_NUMBER = 4; private int code_; /** *
     * Response code.
     * 
* * uint32 code = 4; */ public int getCode() { return code_; } public static final int DATA_FIELD_NUMBER = 5; private volatile java.lang.Object data_; /** *
     * Result bytes, if any.
     * 
* * string data = 5; */ 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; } } /** *
     * Result bytes, if any.
     * 
* * string data = 5; */ 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 RAW_LOG_FIELD_NUMBER = 6; private volatile java.lang.Object rawLog_; /** *
     * The output of the application's logger (raw string). May be
     * non-deterministic.
     * 
* * string raw_log = 6; */ public java.lang.String getRawLog() { java.lang.Object ref = rawLog_; 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(); rawLog_ = s; return s; } } /** *
     * The output of the application's logger (raw string). May be
     * non-deterministic.
     * 
* * string raw_log = 6; */ public com.google.protobuf.ByteString getRawLogBytes() { java.lang.Object ref = rawLog_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rawLog_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOGS_FIELD_NUMBER = 7; private java.util.List logs_; /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public java.util.List getLogsList() { return logs_; } /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public java.util.List getLogsOrBuilderList() { return logs_; } /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public int getLogsCount() { return logs_.size(); } /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getLogs(int index) { return logs_.get(index); } /** *
     * The output of the application's logger (typed). May be non-deterministic.
     * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder getLogsOrBuilder( int index) { return logs_.get(index); } public static final int INFO_FIELD_NUMBER = 8; private volatile java.lang.Object info_; /** *
     * Additional information. May be non-deterministic.
     * 
* * string info = 8; */ 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; } } /** *
     * Additional information. May be non-deterministic.
     * 
* * string info = 8; */ 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 = 9; private long gasWanted_; /** *
     * Amount of gas requested for transaction.
     * 
* * int64 gas_wanted = 9; */ public long getGasWanted() { return gasWanted_; } public static final int GAS_USED_FIELD_NUMBER = 10; private long gasUsed_; /** *
     * Amount of gas consumed by transaction.
     * 
* * int64 gas_used = 10; */ public long getGasUsed() { return gasUsed_; } public static final int TX_FIELD_NUMBER = 11; private com.google.protobuf.Any tx_; /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ public boolean hasTx() { return tx_ != null; } /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ public com.google.protobuf.Any getTx() { return tx_ == null ? com.google.protobuf.Any.getDefaultInstance() : tx_; } /** *
     * The request transaction bytes.
     * 
* * .google.protobuf.Any tx = 11; */ public com.google.protobuf.AnyOrBuilder getTxOrBuilder() { return getTx(); } public static final int TIMESTAMP_FIELD_NUMBER = 12; private volatile java.lang.Object timestamp_; /** *
     * Time of the previous block. For heights > 1, it's the weighted median of
     * the timestamps of the valid votes in the block.LastCommit. For height == 1,
     * it's genesis time.
     * 
* * string timestamp = 12; */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; 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(); timestamp_ = s; return s; } } /** *
     * Time of the previous block. For heights > 1, it's the weighted median of
     * the timestamps of the valid votes in the block.LastCommit. For height == 1,
     * it's genesis time.
     * 
* * string timestamp = 12; */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = 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 (height_ != 0L) { output.writeInt64(1, height_); } if (!getTxhashBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, txhash_); } if (!getCodespaceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, codespace_); } if (code_ != 0) { output.writeUInt32(4, code_); } if (!getDataBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, data_); } if (!getRawLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rawLog_); } for (int i = 0; i < logs_.size(); i++) { output.writeMessage(7, logs_.get(i)); } if (!getInfoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, info_); } if (gasWanted_ != 0L) { output.writeInt64(9, gasWanted_); } if (gasUsed_ != 0L) { output.writeInt64(10, gasUsed_); } if (tx_ != null) { output.writeMessage(11, getTx()); } if (!getTimestampBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, timestamp_); } 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 (!getTxhashBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, txhash_); } if (!getCodespaceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, codespace_); } if (code_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, code_); } if (!getDataBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, data_); } if (!getRawLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, rawLog_); } for (int i = 0; i < logs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, logs_.get(i)); } if (!getInfoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, info_); } if (gasWanted_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, gasWanted_); } if (gasUsed_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, gasUsed_); } if (tx_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getTx()); } if (!getTimestampBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, timestamp_); } 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 cosmos.base.abci.v1beta1.Abci.TxResponse)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.TxResponse other = (cosmos.base.abci.v1beta1.Abci.TxResponse) obj; boolean result = true; result = result && (getHeight() == other.getHeight()); result = result && getTxhash() .equals(other.getTxhash()); result = result && getCodespace() .equals(other.getCodespace()); result = result && (getCode() == other.getCode()); result = result && getData() .equals(other.getData()); result = result && getRawLog() .equals(other.getRawLog()); result = result && getLogsList() .equals(other.getLogsList()); result = result && getInfo() .equals(other.getInfo()); result = result && (getGasWanted() == other.getGasWanted()); result = result && (getGasUsed() == other.getGasUsed()); result = result && (hasTx() == other.hasTx()); if (hasTx()) { result = result && getTx() .equals(other.getTx()); } result = result && getTimestamp() .equals(other.getTimestamp()); 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) + TXHASH_FIELD_NUMBER; hash = (53 * hash) + getTxhash().hashCode(); hash = (37 * hash) + CODESPACE_FIELD_NUMBER; hash = (53 * hash) + getCodespace().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) + RAW_LOG_FIELD_NUMBER; hash = (53 * hash) + getRawLog().hashCode(); if (getLogsCount() > 0) { hash = (37 * hash) + LOGS_FIELD_NUMBER; hash = (53 * hash) + getLogsList().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 (hasTx()) { hash = (37 * hash) + TX_FIELD_NUMBER; hash = (53 * hash) + getTx().hashCode(); } hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxResponse 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 cosmos.base.abci.v1beta1.Abci.TxResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxResponse 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 cosmos.base.abci.v1beta1.Abci.TxResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxResponse 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(cosmos.base.abci.v1beta1.Abci.TxResponse 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; } /** *
     * TxResponse defines a structure containing relevant tx data and metadata. The
     * tags are stringified and the log is JSON decoded.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.TxResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.TxResponse) cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.TxResponse.class, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.TxResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); height_ = 0L; txhash_ = ""; codespace_ = ""; code_ = 0; data_ = ""; rawLog_ = ""; if (logsBuilder_ == null) { logs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { logsBuilder_.clear(); } info_ = ""; gasWanted_ = 0L; gasUsed_ = 0L; if (txBuilder_ == null) { tx_ = null; } else { tx_ = null; txBuilder_ = null; } timestamp_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxResponse getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxResponse build() { cosmos.base.abci.v1beta1.Abci.TxResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxResponse buildPartial() { cosmos.base.abci.v1beta1.Abci.TxResponse result = new cosmos.base.abci.v1beta1.Abci.TxResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.height_ = height_; result.txhash_ = txhash_; result.codespace_ = codespace_; result.code_ = code_; result.data_ = data_; result.rawLog_ = rawLog_; if (logsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { logs_ = java.util.Collections.unmodifiableList(logs_); bitField0_ = (bitField0_ & ~0x00000040); } result.logs_ = logs_; } else { result.logs_ = logsBuilder_.build(); } result.info_ = info_; result.gasWanted_ = gasWanted_; result.gasUsed_ = gasUsed_; if (txBuilder_ == null) { result.tx_ = tx_; } else { result.tx_ = txBuilder_.build(); } result.timestamp_ = timestamp_; 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 cosmos.base.abci.v1beta1.Abci.TxResponse) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.TxResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.TxResponse other) { if (other == cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance()) return this; if (other.getHeight() != 0L) { setHeight(other.getHeight()); } if (!other.getTxhash().isEmpty()) { txhash_ = other.txhash_; onChanged(); } if (!other.getCodespace().isEmpty()) { codespace_ = other.codespace_; onChanged(); } if (other.getCode() != 0) { setCode(other.getCode()); } if (!other.getData().isEmpty()) { data_ = other.data_; onChanged(); } if (!other.getRawLog().isEmpty()) { rawLog_ = other.rawLog_; onChanged(); } if (logsBuilder_ == null) { if (!other.logs_.isEmpty()) { if (logs_.isEmpty()) { logs_ = other.logs_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureLogsIsMutable(); logs_.addAll(other.logs_); } onChanged(); } } else { if (!other.logs_.isEmpty()) { if (logsBuilder_.isEmpty()) { logsBuilder_.dispose(); logsBuilder_ = null; logs_ = other.logs_; bitField0_ = (bitField0_ & ~0x00000040); logsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogsFieldBuilder() : null; } else { logsBuilder_.addAllMessages(other.logs_); } } } if (!other.getInfo().isEmpty()) { info_ = other.info_; onChanged(); } if (other.getGasWanted() != 0L) { setGasWanted(other.getGasWanted()); } if (other.getGasUsed() != 0L) { setGasUsed(other.getGasUsed()); } if (other.hasTx()) { mergeTx(other.getTx()); } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; 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 { cosmos.base.abci.v1beta1.Abci.TxResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.TxResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long height_ ; /** *
       * The block height
       * 
* * int64 height = 1; */ public long getHeight() { return height_; } /** *
       * The block height
       * 
* * int64 height = 1; */ public Builder setHeight(long value) { height_ = value; onChanged(); return this; } /** *
       * The block height
       * 
* * int64 height = 1; */ public Builder clearHeight() { height_ = 0L; onChanged(); return this; } private java.lang.Object txhash_ = ""; /** *
       * The transaction hash.
       * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public java.lang.String getTxhash() { java.lang.Object ref = txhash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); txhash_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The transaction hash.
       * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public com.google.protobuf.ByteString getTxhashBytes() { java.lang.Object ref = txhash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); txhash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The transaction hash.
       * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public Builder setTxhash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } txhash_ = value; onChanged(); return this; } /** *
       * The transaction hash.
       * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public Builder clearTxhash() { txhash_ = getDefaultInstance().getTxhash(); onChanged(); return this; } /** *
       * The transaction hash.
       * 
* * string txhash = 2 [(.gogoproto.customname) = "TxHash"]; */ public Builder setTxhashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); txhash_ = value; onChanged(); return this; } private java.lang.Object codespace_ = ""; /** *
       * Namespace for the Code
       * 
* * string codespace = 3; */ 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; } } /** *
       * Namespace for the Code
       * 
* * string codespace = 3; */ 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; } } /** *
       * Namespace for the Code
       * 
* * string codespace = 3; */ public Builder setCodespace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } codespace_ = value; onChanged(); return this; } /** *
       * Namespace for the Code
       * 
* * string codespace = 3; */ public Builder clearCodespace() { codespace_ = getDefaultInstance().getCodespace(); onChanged(); return this; } /** *
       * Namespace for the Code
       * 
* * string codespace = 3; */ public Builder setCodespaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); codespace_ = value; onChanged(); return this; } private int code_ ; /** *
       * Response code.
       * 
* * uint32 code = 4; */ public int getCode() { return code_; } /** *
       * Response code.
       * 
* * uint32 code = 4; */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /** *
       * Response code.
       * 
* * uint32 code = 4; */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object data_ = ""; /** *
       * Result bytes, if any.
       * 
* * string data = 5; */ 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; } } /** *
       * Result bytes, if any.
       * 
* * string data = 5; */ 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; } } /** *
       * Result bytes, if any.
       * 
* * string data = 5; */ public Builder setData( java.lang.String value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * Result bytes, if any.
       * 
* * string data = 5; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } /** *
       * Result bytes, if any.
       * 
* * string data = 5; */ 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 rawLog_ = ""; /** *
       * The output of the application's logger (raw string). May be
       * non-deterministic.
       * 
* * string raw_log = 6; */ public java.lang.String getRawLog() { java.lang.Object ref = rawLog_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rawLog_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The output of the application's logger (raw string). May be
       * non-deterministic.
       * 
* * string raw_log = 6; */ public com.google.protobuf.ByteString getRawLogBytes() { java.lang.Object ref = rawLog_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rawLog_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The output of the application's logger (raw string). May be
       * non-deterministic.
       * 
* * string raw_log = 6; */ public Builder setRawLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rawLog_ = value; onChanged(); return this; } /** *
       * The output of the application's logger (raw string). May be
       * non-deterministic.
       * 
* * string raw_log = 6; */ public Builder clearRawLog() { rawLog_ = getDefaultInstance().getRawLog(); onChanged(); return this; } /** *
       * The output of the application's logger (raw string). May be
       * non-deterministic.
       * 
* * string raw_log = 6; */ public Builder setRawLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rawLog_ = value; onChanged(); return this; } private java.util.List logs_ = java.util.Collections.emptyList(); private void ensureLogsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { logs_ = new java.util.ArrayList(logs_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.ABCIMessageLog, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder, cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder> logsBuilder_; /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public java.util.List getLogsList() { if (logsBuilder_ == null) { return java.util.Collections.unmodifiableList(logs_); } else { return logsBuilder_.getMessageList(); } } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public int getLogsCount() { if (logsBuilder_ == null) { return logs_.size(); } else { return logsBuilder_.getCount(); } } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getLogs(int index) { if (logsBuilder_ == null) { return logs_.get(index); } else { return logsBuilder_.getMessage(index); } } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder setLogs( int index, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.set(index, value); onChanged(); } else { logsBuilder_.setMessage(index, value); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder setLogs( int index, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.set(index, builderForValue.build()); onChanged(); } else { logsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder addLogs(cosmos.base.abci.v1beta1.Abci.ABCIMessageLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.add(value); onChanged(); } else { logsBuilder_.addMessage(value); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder addLogs( int index, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.add(index, value); onChanged(); } else { logsBuilder_.addMessage(index, value); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder addLogs( cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.add(builderForValue.build()); onChanged(); } else { logsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder addLogs( int index, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.add(index, builderForValue.build()); onChanged(); } else { logsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder addAllLogs( java.lang.Iterable values) { if (logsBuilder_ == null) { ensureLogsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logs_); onChanged(); } else { logsBuilder_.addAllMessages(values); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder clearLogs() { if (logsBuilder_ == null) { logs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { logsBuilder_.clear(); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public Builder removeLogs(int index) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.remove(index); onChanged(); } else { logsBuilder_.remove(index); } return this; } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder getLogsBuilder( int index) { return getLogsFieldBuilder().getBuilder(index); } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder getLogsOrBuilder( int index) { if (logsBuilder_ == null) { return logs_.get(index); } else { return logsBuilder_.getMessageOrBuilder(index); } } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public java.util.List getLogsOrBuilderList() { if (logsBuilder_ != null) { return logsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logs_); } } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder addLogsBuilder() { return getLogsFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.getDefaultInstance()); } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder addLogsBuilder( int index) { return getLogsFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.getDefaultInstance()); } /** *
       * The output of the application's logger (typed). May be non-deterministic.
       * 
* * repeated .cosmos.base.abci.v1beta1.ABCIMessageLog logs = 7 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "ABCIMessageLogs"]; */ public java.util.List getLogsBuilderList() { return getLogsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.ABCIMessageLog, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder, cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder> getLogsFieldBuilder() { if (logsBuilder_ == null) { logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.ABCIMessageLog, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder, cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder>( logs_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); logs_ = null; } return logsBuilder_; } private java.lang.Object info_ = ""; /** *
       * Additional information. May be non-deterministic.
       * 
* * string info = 8; */ 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; } } /** *
       * Additional information. May be non-deterministic.
       * 
* * string info = 8; */ 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; } } /** *
       * Additional information. May be non-deterministic.
       * 
* * string info = 8; */ public Builder setInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); return this; } /** *
       * Additional information. May be non-deterministic.
       * 
* * string info = 8; */ public Builder clearInfo() { info_ = getDefaultInstance().getInfo(); onChanged(); return this; } /** *
       * Additional information. May be non-deterministic.
       * 
* * string info = 8; */ public Builder setInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); info_ = value; onChanged(); return this; } private long gasWanted_ ; /** *
       * Amount of gas requested for transaction.
       * 
* * int64 gas_wanted = 9; */ public long getGasWanted() { return gasWanted_; } /** *
       * Amount of gas requested for transaction.
       * 
* * int64 gas_wanted = 9; */ public Builder setGasWanted(long value) { gasWanted_ = value; onChanged(); return this; } /** *
       * Amount of gas requested for transaction.
       * 
* * int64 gas_wanted = 9; */ public Builder clearGasWanted() { gasWanted_ = 0L; onChanged(); return this; } private long gasUsed_ ; /** *
       * Amount of gas consumed by transaction.
       * 
* * int64 gas_used = 10; */ public long getGasUsed() { return gasUsed_; } /** *
       * Amount of gas consumed by transaction.
       * 
* * int64 gas_used = 10; */ public Builder setGasUsed(long value) { gasUsed_ = value; onChanged(); return this; } /** *
       * Amount of gas consumed by transaction.
       * 
* * int64 gas_used = 10; */ public Builder clearGasUsed() { gasUsed_ = 0L; onChanged(); return this; } private com.google.protobuf.Any tx_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> txBuilder_; /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public boolean hasTx() { return txBuilder_ != null || tx_ != null; } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public com.google.protobuf.Any getTx() { if (txBuilder_ == null) { return tx_ == null ? com.google.protobuf.Any.getDefaultInstance() : tx_; } else { return txBuilder_.getMessage(); } } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public Builder setTx(com.google.protobuf.Any value) { if (txBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tx_ = value; onChanged(); } else { txBuilder_.setMessage(value); } return this; } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public Builder setTx( com.google.protobuf.Any.Builder builderForValue) { if (txBuilder_ == null) { tx_ = builderForValue.build(); onChanged(); } else { txBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public Builder mergeTx(com.google.protobuf.Any value) { if (txBuilder_ == null) { if (tx_ != null) { tx_ = com.google.protobuf.Any.newBuilder(tx_).mergeFrom(value).buildPartial(); } else { tx_ = value; } onChanged(); } else { txBuilder_.mergeFrom(value); } return this; } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public Builder clearTx() { if (txBuilder_ == null) { tx_ = null; onChanged(); } else { tx_ = null; txBuilder_ = null; } return this; } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public com.google.protobuf.Any.Builder getTxBuilder() { onChanged(); return getTxFieldBuilder().getBuilder(); } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ public com.google.protobuf.AnyOrBuilder getTxOrBuilder() { if (txBuilder_ != null) { return txBuilder_.getMessageOrBuilder(); } else { return tx_ == null ? com.google.protobuf.Any.getDefaultInstance() : tx_; } } /** *
       * The request transaction bytes.
       * 
* * .google.protobuf.Any tx = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getTxFieldBuilder() { if (txBuilder_ == null) { txBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getTx(), getParentForChildren(), isClean()); tx_ = null; } return txBuilder_; } private java.lang.Object timestamp_ = ""; /** *
       * Time of the previous block. For heights > 1, it's the weighted median of
       * the timestamps of the valid votes in the block.LastCommit. For height == 1,
       * it's genesis time.
       * 
* * string timestamp = 12; */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Time of the previous block. For heights > 1, it's the weighted median of
       * the timestamps of the valid votes in the block.LastCommit. For height == 1,
       * it's genesis time.
       * 
* * string timestamp = 12; */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Time of the previous block. For heights > 1, it's the weighted median of
       * the timestamps of the valid votes in the block.LastCommit. For height == 1,
       * it's genesis time.
       * 
* * string timestamp = 12; */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timestamp_ = value; onChanged(); return this; } /** *
       * Time of the previous block. For heights > 1, it's the weighted median of
       * the timestamps of the valid votes in the block.LastCommit. For height == 1,
       * it's genesis time.
       * 
* * string timestamp = 12; */ public Builder clearTimestamp() { timestamp_ = getDefaultInstance().getTimestamp(); onChanged(); return this; } /** *
       * Time of the previous block. For heights > 1, it's the weighted median of
       * the timestamps of the valid votes in the block.LastCommit. For height == 1,
       * it's genesis time.
       * 
* * string timestamp = 12; */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timestamp_ = 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:cosmos.base.abci.v1beta1.TxResponse) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.TxResponse) private static final cosmos.base.abci.v1beta1.Abci.TxResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.TxResponse(); } public static cosmos.base.abci.v1beta1.Abci.TxResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TxResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TxResponse(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 cosmos.base.abci.v1beta1.Abci.TxResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ABCIMessageLogOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.ABCIMessageLog) com.google.protobuf.MessageOrBuilder { /** * uint32 msg_index = 1; */ int getMsgIndex(); /** * string log = 2; */ java.lang.String getLog(); /** * string log = 2; */ com.google.protobuf.ByteString getLogBytes(); /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ java.util.List getEventsList(); /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ cosmos.base.abci.v1beta1.Abci.StringEvent getEvents(int index); /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ int getEventsCount(); /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ java.util.List getEventsOrBuilderList(); /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder getEventsOrBuilder( int index); } /** *
   * ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.ABCIMessageLog} */ public static final class ABCIMessageLog extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.ABCIMessageLog) ABCIMessageLogOrBuilder { private static final long serialVersionUID = 0L; // Use ABCIMessageLog.newBuilder() to construct. private ABCIMessageLog(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ABCIMessageLog() { msgIndex_ = 0; log_ = ""; events_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ABCIMessageLog( 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: { msgIndex_ = input.readUInt32(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { events_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } events_.add( input.readMessage(cosmos.base.abci.v1beta1.Abci.StringEvent.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_ & 0x00000004) == 0x00000004)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.class, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder.class); } private int bitField0_; public static final int MSG_INDEX_FIELD_NUMBER = 1; private int msgIndex_; /** * uint32 msg_index = 1; */ public int getMsgIndex() { return msgIndex_; } public static final int LOG_FIELD_NUMBER = 2; private volatile java.lang.Object log_; /** * string log = 2; */ 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; } } /** * string log = 2; */ 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 EVENTS_FIELD_NUMBER = 3; private java.util.List events_; /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public java.util.List getEventsList() { return events_; } /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public int getEventsCount() { return events_.size(); } /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEvent getEvents(int index) { return events_.get(index); } /** *
     * Events contains a slice of Event objects that were emitted during some
     * execution.
     * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder 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 { if (msgIndex_ != 0) { output.writeUInt32(1, msgIndex_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, log_); } 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; if (msgIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, msgIndex_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, log_); } 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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.ABCIMessageLog other = (cosmos.base.abci.v1beta1.Abci.ABCIMessageLog) obj; boolean result = true; result = result && (getMsgIndex() == other.getMsgIndex()); result = result && getLog() .equals(other.getLog()); 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(); hash = (37 * hash) + MSG_INDEX_FIELD_NUMBER; hash = (53 * hash) + getMsgIndex(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog 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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog 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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog 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(cosmos.base.abci.v1beta1.Abci.ABCIMessageLog 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; } /** *
     * ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.ABCIMessageLog} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.ABCIMessageLog) cosmos.base.abci.v1beta1.Abci.ABCIMessageLogOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.class, cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.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(); msgIndex_ = 0; log_ = ""; 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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog build() { cosmos.base.abci.v1beta1.Abci.ABCIMessageLog result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.ABCIMessageLog buildPartial() { cosmos.base.abci.v1beta1.Abci.ABCIMessageLog result = new cosmos.base.abci.v1beta1.Abci.ABCIMessageLog(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.msgIndex_ = msgIndex_; result.log_ = log_; 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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.ABCIMessageLog)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.ABCIMessageLog other) { if (other == cosmos.base.abci.v1beta1.Abci.ABCIMessageLog.getDefaultInstance()) return this; if (other.getMsgIndex() != 0) { setMsgIndex(other.getMsgIndex()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } 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 { cosmos.base.abci.v1beta1.Abci.ABCIMessageLog parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.ABCIMessageLog) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int msgIndex_ ; /** * uint32 msg_index = 1; */ public int getMsgIndex() { return msgIndex_; } /** * uint32 msg_index = 1; */ public Builder setMsgIndex(int value) { msgIndex_ = value; onChanged(); return this; } /** * uint32 msg_index = 1; */ public Builder clearMsgIndex() { msgIndex_ = 0; onChanged(); return this; } private java.lang.Object log_ = ""; /** * string log = 2; */ 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; } } /** * string log = 2; */ 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; } } /** * string log = 2; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** * string log = 2; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** * string log = 2; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } 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< cosmos.base.abci.v1beta1.Abci.StringEvent, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder, cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder> eventsBuilder_; /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEvent getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder setEvents( int index, cosmos.base.abci.v1beta1.Abci.StringEvent value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.set(index, value); onChanged(); } else { eventsBuilder_.setMessage(index, value); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder setEvents( int index, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.set(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder addEvents(cosmos.base.abci.v1beta1.Abci.StringEvent value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(value); onChanged(); } else { eventsBuilder_.addMessage(value); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder addEvents( int index, cosmos.base.abci.v1beta1.Abci.StringEvent value) { if (eventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEventsIsMutable(); events_.add(index, value); onChanged(); } else { eventsBuilder_.addMessage(index, value); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder addEvents( cosmos.base.abci.v1beta1.Abci.StringEvent.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder addEvents( int index, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder builderForValue) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.add(index, builderForValue.build()); onChanged(); } else { eventsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEvent.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEvent.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.StringEvent.getDefaultInstance()); } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public cosmos.base.abci.v1beta1.Abci.StringEvent.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.StringEvent.getDefaultInstance()); } /** *
       * Events contains a slice of Event objects that were emitted during some
       * execution.
       * 
* * repeated .cosmos.base.abci.v1beta1.StringEvent events = 3 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "StringEvents"]; */ public java.util.List getEventsBuilderList() { return getEventsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.StringEvent, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder, cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder> getEventsFieldBuilder() { if (eventsBuilder_ == null) { eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.StringEvent, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder, cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder>( 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:cosmos.base.abci.v1beta1.ABCIMessageLog) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.ABCIMessageLog) private static final cosmos.base.abci.v1beta1.Abci.ABCIMessageLog DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.ABCIMessageLog(); } public static cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ABCIMessageLog parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ABCIMessageLog(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 cosmos.base.abci.v1beta1.Abci.ABCIMessageLog getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringEventOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.StringEvent) com.google.protobuf.MessageOrBuilder { /** * string type = 1; */ java.lang.String getType(); /** * string type = 1; */ com.google.protobuf.ByteString getTypeBytes(); /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ java.util.List getAttributesList(); /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ cosmos.base.abci.v1beta1.Abci.Attribute getAttributes(int index); /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ int getAttributesCount(); /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ java.util.List getAttributesOrBuilderList(); /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder getAttributesOrBuilder( int index); } /** *
   * StringEvent defines en Event object wrapper where all the attributes
   * contain key/value pairs that are strings instead of raw bytes.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.StringEvent} */ public static final class StringEvent extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.StringEvent) StringEventOrBuilder { private static final long serialVersionUID = 0L; // Use StringEvent.newBuilder() to construct. private StringEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringEvent() { type_ = ""; attributes_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringEvent( 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(cosmos.base.abci.v1beta1.Abci.Attribute.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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_StringEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.StringEvent.class, cosmos.base.abci.v1beta1.Abci.StringEvent.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 .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getAttributesList() { return attributes_; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getAttributesOrBuilderList() { return attributes_; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public int getAttributesCount() { return attributes_.size(); } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.Attribute getAttributes(int index) { return attributes_.get(index); } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder 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 cosmos.base.abci.v1beta1.Abci.StringEvent)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.StringEvent other = (cosmos.base.abci.v1beta1.Abci.StringEvent) 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 cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.StringEvent 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 cosmos.base.abci.v1beta1.Abci.StringEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.StringEvent 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 cosmos.base.abci.v1beta1.Abci.StringEvent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.StringEvent 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(cosmos.base.abci.v1beta1.Abci.StringEvent 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; } /** *
     * StringEvent defines en Event object wrapper where all the attributes
     * contain key/value pairs that are strings instead of raw bytes.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.StringEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.StringEvent) cosmos.base.abci.v1beta1.Abci.StringEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_StringEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.StringEvent.class, cosmos.base.abci.v1beta1.Abci.StringEvent.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.StringEvent.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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.StringEvent getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.StringEvent.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.StringEvent build() { cosmos.base.abci.v1beta1.Abci.StringEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.StringEvent buildPartial() { cosmos.base.abci.v1beta1.Abci.StringEvent result = new cosmos.base.abci.v1beta1.Abci.StringEvent(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 cosmos.base.abci.v1beta1.Abci.StringEvent) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.StringEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.StringEvent other) { if (other == cosmos.base.abci.v1beta1.Abci.StringEvent.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 { cosmos.base.abci.v1beta1.Abci.StringEvent parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.StringEvent) 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< cosmos.base.abci.v1beta1.Abci.Attribute, cosmos.base.abci.v1beta1.Abci.Attribute.Builder, cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder> attributesBuilder_; /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { return attributesBuilder_.getMessageList(); } } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { return attributes_.size(); } else { return attributesBuilder_.getCount(); } } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.Attribute getAttributes(int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessage(index); } } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder setAttributes( int index, cosmos.base.abci.v1beta1.Abci.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); onChanged(); } else { attributesBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder setAttributes( int index, cosmos.base.abci.v1beta1.Abci.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder addAttributes(cosmos.base.abci.v1beta1.Abci.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); onChanged(); } else { attributesBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder addAttributes( int index, cosmos.base.abci.v1beta1.Abci.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(index, value); onChanged(); } else { attributesBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder addAttributes( cosmos.base.abci.v1beta1.Abci.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder addAttributes( int index, cosmos.base.abci.v1beta1.Abci.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ 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 .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { attributesBuilder_.clear(); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.remove(index); onChanged(); } else { attributesBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.Attribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attributes_); } } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.Attribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.Attribute.getDefaultInstance()); } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public cosmos.base.abci.v1beta1.Abci.Attribute.Builder addAttributesBuilder( int index) { return getAttributesFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.Attribute.getDefaultInstance()); } /** * repeated .cosmos.base.abci.v1beta1.Attribute attributes = 2 [(.gogoproto.nullable) = false]; */ public java.util.List getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Attribute, cosmos.base.abci.v1beta1.Abci.Attribute.Builder, cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Attribute, cosmos.base.abci.v1beta1.Abci.Attribute.Builder, cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder>( 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:cosmos.base.abci.v1beta1.StringEvent) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.StringEvent) private static final cosmos.base.abci.v1beta1.Abci.StringEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.StringEvent(); } public static cosmos.base.abci.v1beta1.Abci.StringEvent getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StringEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StringEvent(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 cosmos.base.abci.v1beta1.Abci.StringEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.Attribute) 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(); } /** *
   * Attribute defines an attribute wrapper where the key and value are
   * strings instead of raw bytes.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.Attribute} */ public static final class Attribute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.Attribute) AttributeOrBuilder { private static final long serialVersionUID = 0L; // Use Attribute.newBuilder() to construct. private Attribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Attribute() { key_ = ""; value_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Attribute( 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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.Attribute.class, cosmos.base.abci.v1beta1.Abci.Attribute.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 cosmos.base.abci.v1beta1.Abci.Attribute)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.Attribute other = (cosmos.base.abci.v1beta1.Abci.Attribute) 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 cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Attribute parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Attribute 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 cosmos.base.abci.v1beta1.Abci.Attribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Attribute 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 cosmos.base.abci.v1beta1.Abci.Attribute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Attribute 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(cosmos.base.abci.v1beta1.Abci.Attribute 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; } /** *
     * Attribute defines an attribute wrapper where the key and value are
     * strings instead of raw bytes.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.Attribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.Attribute) cosmos.base.abci.v1beta1.Abci.AttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.Attribute.class, cosmos.base.abci.v1beta1.Abci.Attribute.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.Attribute.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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Attribute getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.Attribute.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Attribute build() { cosmos.base.abci.v1beta1.Abci.Attribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Attribute buildPartial() { cosmos.base.abci.v1beta1.Abci.Attribute result = new cosmos.base.abci.v1beta1.Abci.Attribute(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 cosmos.base.abci.v1beta1.Abci.Attribute) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.Attribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.Attribute other) { if (other == cosmos.base.abci.v1beta1.Abci.Attribute.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 { cosmos.base.abci.v1beta1.Abci.Attribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.Attribute) 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:cosmos.base.abci.v1beta1.Attribute) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.Attribute) private static final cosmos.base.abci.v1beta1.Abci.Attribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.Attribute(); } public static cosmos.base.abci.v1beta1.Abci.Attribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Attribute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Attribute(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 cosmos.base.abci.v1beta1.Abci.Attribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GasInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.GasInfo) com.google.protobuf.MessageOrBuilder { /** *
     * GasWanted is the maximum units of work we allow this tx to perform.
     * 
* * uint64 gas_wanted = 1 [(.gogoproto.moretags) = "yaml:\"gas_wanted\""]; */ long getGasWanted(); /** *
     * GasUsed is the amount of gas actually consumed.
     * 
* * uint64 gas_used = 2 [(.gogoproto.moretags) = "yaml:\"gas_used\""]; */ long getGasUsed(); } /** *
   * GasInfo defines tx execution gas context.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.GasInfo} */ public static final class GasInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.GasInfo) GasInfoOrBuilder { private static final long serialVersionUID = 0L; // Use GasInfo.newBuilder() to construct. private GasInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GasInfo() { gasWanted_ = 0L; gasUsed_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GasInfo( 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: { gasWanted_ = input.readUInt64(); break; } case 16: { gasUsed_ = 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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_GasInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.GasInfo.class, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder.class); } public static final int GAS_WANTED_FIELD_NUMBER = 1; private long gasWanted_; /** *
     * GasWanted is the maximum units of work we allow this tx to perform.
     * 
* * uint64 gas_wanted = 1 [(.gogoproto.moretags) = "yaml:\"gas_wanted\""]; */ public long getGasWanted() { return gasWanted_; } public static final int GAS_USED_FIELD_NUMBER = 2; private long gasUsed_; /** *
     * GasUsed is the amount of gas actually consumed.
     * 
* * uint64 gas_used = 2 [(.gogoproto.moretags) = "yaml:\"gas_used\""]; */ public long getGasUsed() { return gasUsed_; } 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 (gasWanted_ != 0L) { output.writeUInt64(1, gasWanted_); } if (gasUsed_ != 0L) { output.writeUInt64(2, gasUsed_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (gasWanted_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, gasWanted_); } if (gasUsed_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, gasUsed_); } 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 cosmos.base.abci.v1beta1.Abci.GasInfo)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.GasInfo other = (cosmos.base.abci.v1beta1.Abci.GasInfo) obj; boolean result = true; result = result && (getGasWanted() == other.getGasWanted()); result = result && (getGasUsed() == other.getGasUsed()); 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) + 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()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.GasInfo 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 cosmos.base.abci.v1beta1.Abci.GasInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.GasInfo 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 cosmos.base.abci.v1beta1.Abci.GasInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.GasInfo 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(cosmos.base.abci.v1beta1.Abci.GasInfo 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; } /** *
     * GasInfo defines tx execution gas context.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.GasInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.GasInfo) cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_GasInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.GasInfo.class, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.GasInfo.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(); gasWanted_ = 0L; gasUsed_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.GasInfo getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.GasInfo build() { cosmos.base.abci.v1beta1.Abci.GasInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.GasInfo buildPartial() { cosmos.base.abci.v1beta1.Abci.GasInfo result = new cosmos.base.abci.v1beta1.Abci.GasInfo(this); result.gasWanted_ = gasWanted_; result.gasUsed_ = gasUsed_; 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 cosmos.base.abci.v1beta1.Abci.GasInfo) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.GasInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.GasInfo other) { if (other == cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance()) return this; if (other.getGasWanted() != 0L) { setGasWanted(other.getGasWanted()); } if (other.getGasUsed() != 0L) { setGasUsed(other.getGasUsed()); } 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 { cosmos.base.abci.v1beta1.Abci.GasInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.GasInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long gasWanted_ ; /** *
       * GasWanted is the maximum units of work we allow this tx to perform.
       * 
* * uint64 gas_wanted = 1 [(.gogoproto.moretags) = "yaml:\"gas_wanted\""]; */ public long getGasWanted() { return gasWanted_; } /** *
       * GasWanted is the maximum units of work we allow this tx to perform.
       * 
* * uint64 gas_wanted = 1 [(.gogoproto.moretags) = "yaml:\"gas_wanted\""]; */ public Builder setGasWanted(long value) { gasWanted_ = value; onChanged(); return this; } /** *
       * GasWanted is the maximum units of work we allow this tx to perform.
       * 
* * uint64 gas_wanted = 1 [(.gogoproto.moretags) = "yaml:\"gas_wanted\""]; */ public Builder clearGasWanted() { gasWanted_ = 0L; onChanged(); return this; } private long gasUsed_ ; /** *
       * GasUsed is the amount of gas actually consumed.
       * 
* * uint64 gas_used = 2 [(.gogoproto.moretags) = "yaml:\"gas_used\""]; */ public long getGasUsed() { return gasUsed_; } /** *
       * GasUsed is the amount of gas actually consumed.
       * 
* * uint64 gas_used = 2 [(.gogoproto.moretags) = "yaml:\"gas_used\""]; */ public Builder setGasUsed(long value) { gasUsed_ = value; onChanged(); return this; } /** *
       * GasUsed is the amount of gas actually consumed.
       * 
* * uint64 gas_used = 2 [(.gogoproto.moretags) = "yaml:\"gas_used\""]; */ public Builder clearGasUsed() { gasUsed_ = 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:cosmos.base.abci.v1beta1.GasInfo) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.GasInfo) private static final cosmos.base.abci.v1beta1.Abci.GasInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.GasInfo(); } public static cosmos.base.abci.v1beta1.Abci.GasInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GasInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GasInfo(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 cosmos.base.abci.v1beta1.Abci.GasInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResultOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.Result) com.google.protobuf.MessageOrBuilder { /** *
     * Data is any data returned from message or handler execution. It MUST be
     * length prefixed in order to separate data from multiple message executions.
     * 
* * bytes data = 1; */ com.google.protobuf.ByteString getData(); /** *
     * Log contains the log information from message or handler execution.
     * 
* * string log = 2; */ java.lang.String getLog(); /** *
     * Log contains the log information from message or handler execution.
     * 
* * string log = 2; */ com.google.protobuf.ByteString getLogBytes(); /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ java.util.List getEventsList(); /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.Event getEvents(int index); /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ int getEventsCount(); /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ java.util.List getEventsOrBuilderList(); /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index); } /** *
   * Result is the union of ResponseFormat and ResponseCheckTx.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.Result} */ public static final class Result extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.Result) ResultOrBuilder { private static final long serialVersionUID = 0L; // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Result() { data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; events_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Result( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { data_ = input.readBytes(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); log_ = s; 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_ & 0x00000004) == 0x00000004)) { events_ = java.util.Collections.unmodifiableList(events_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.Result.class, cosmos.base.abci.v1beta1.Abci.Result.Builder.class); } private int bitField0_; public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_; /** *
     * Data is any data returned from message or handler execution. It MUST be
     * length prefixed in order to separate data from multiple message executions.
     * 
* * bytes data = 1; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int LOG_FIELD_NUMBER = 2; private volatile java.lang.Object log_; /** *
     * Log contains the log information from message or handler execution.
     * 
* * string log = 2; */ 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; } } /** *
     * Log contains the log information from message or handler execution.
     * 
* * string log = 2; */ 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 EVENTS_FIELD_NUMBER = 3; private java.util.List events_; /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public java.util.List getEventsList() { return events_; } /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public java.util.List getEventsOrBuilderList() { return events_; } /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public int getEventsCount() { return events_.size(); } /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Event getEvents(int index) { return events_.get(index); } /** *
     * Events contains a slice of Event objects that were emitted during message
     * or handler execution.
     * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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 { if (!data_.isEmpty()) { output.writeBytes(1, data_); } if (!getLogBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, log_); } 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; if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, data_); } if (!getLogBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, log_); } 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 cosmos.base.abci.v1beta1.Abci.Result)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.Result other = (cosmos.base.abci.v1beta1.Abci.Result) obj; boolean result = true; result = result && getData() .equals(other.getData()); result = result && getLog() .equals(other.getLog()); 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(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + LOG_FIELD_NUMBER; hash = (53 * hash) + getLog().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 cosmos.base.abci.v1beta1.Abci.Result parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Result parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.Result parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cosmos.base.abci.v1beta1.Abci.Result prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Result is the union of ResponseFormat and ResponseCheckTx.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.Result} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.Result) cosmos.base.abci.v1beta1.Abci.ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.Result.class, cosmos.base.abci.v1beta1.Abci.Result.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.Result.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEventsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); data_ = com.google.protobuf.ByteString.EMPTY; log_ = ""; 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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_Result_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Result getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Result build() { cosmos.base.abci.v1beta1.Abci.Result result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Result buildPartial() { cosmos.base.abci.v1beta1.Abci.Result result = new cosmos.base.abci.v1beta1.Abci.Result(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.data_ = data_; result.log_ = log_; 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 cosmos.base.abci.v1beta1.Abci.Result) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.Result)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.Result other) { if (other == cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance()) return this; if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getLog().isEmpty()) { log_ = other.log_; onChanged(); } 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 { cosmos.base.abci.v1beta1.Abci.Result parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.Result) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * Data is any data returned from message or handler execution. It MUST be
       * length prefixed in order to separate data from multiple message executions.
       * 
* * bytes data = 1; */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * Data is any data returned from message or handler execution. It MUST be
       * length prefixed in order to separate data from multiple message executions.
       * 
* * bytes data = 1; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * Data is any data returned from message or handler execution. It MUST be
       * length prefixed in order to separate data from multiple message executions.
       * 
* * bytes data = 1; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object log_ = ""; /** *
       * Log contains the log information from message or handler execution.
       * 
* * string log = 2; */ 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; } } /** *
       * Log contains the log information from message or handler execution.
       * 
* * string log = 2; */ 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; } } /** *
       * Log contains the log information from message or handler execution.
       * 
* * string log = 2; */ public Builder setLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } log_ = value; onChanged(); return this; } /** *
       * Log contains the log information from message or handler execution.
       * 
* * string log = 2; */ public Builder clearLog() { log_ = getDefaultInstance().getLog(); onChanged(); return this; } /** *
       * Log contains the log information from message or handler execution.
       * 
* * string log = 2; */ public Builder setLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); log_ = value; onChanged(); return this; } 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_; /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public java.util.List getEventsList() { if (eventsBuilder_ == null) { return java.util.Collections.unmodifiableList(events_); } else { return eventsBuilder_.getMessageList(); } } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public int getEventsCount() { if (eventsBuilder_ == null) { return events_.size(); } else { return eventsBuilder_.getCount(); } } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Event getEvents(int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessage(index); } } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public Builder clearEvents() { if (eventsBuilder_ == null) { events_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { eventsBuilder_.clear(); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public Builder removeEvents(int index) { if (eventsBuilder_ == null) { ensureEventsIsMutable(); events_.remove(index); onChanged(); } else { eventsBuilder_.remove(index); } return this; } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Event.Builder getEventsBuilder( int index) { return getEventsFieldBuilder().getBuilder(index); } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.EventOrBuilder getEventsOrBuilder( int index) { if (eventsBuilder_ == null) { return events_.get(index); } else { return eventsBuilder_.getMessageOrBuilder(index); } } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public java.util.List getEventsOrBuilderList() { if (eventsBuilder_ != null) { return eventsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(events_); } } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder() { return getEventsFieldBuilder().addBuilder( tendermint.abci.Types.Event.getDefaultInstance()); } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ public tendermint.abci.Types.Event.Builder addEventsBuilder( int index) { return getEventsFieldBuilder().addBuilder( index, tendermint.abci.Types.Event.getDefaultInstance()); } /** *
       * Events contains a slice of Event objects that were emitted during message
       * or handler execution.
       * 
* * repeated .tendermint.abci.Event events = 3 [(.gogoproto.nullable) = false]; */ 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:cosmos.base.abci.v1beta1.Result) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.Result) private static final cosmos.base.abci.v1beta1.Abci.Result DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.Result(); } public static cosmos.base.abci.v1beta1.Abci.Result getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Result parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Result(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.Result getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SimulationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.SimulationResponse) com.google.protobuf.MessageOrBuilder { /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ boolean hasGasInfo(); /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo(); /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder(); /** * .cosmos.base.abci.v1beta1.Result result = 2; */ boolean hasResult(); /** * .cosmos.base.abci.v1beta1.Result result = 2; */ cosmos.base.abci.v1beta1.Abci.Result getResult(); /** * .cosmos.base.abci.v1beta1.Result result = 2; */ cosmos.base.abci.v1beta1.Abci.ResultOrBuilder getResultOrBuilder(); } /** *
   * SimulationResponse defines the response generated when a transaction is
   * successfully simulated.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.SimulationResponse} */ public static final class SimulationResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.SimulationResponse) SimulationResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SimulationResponse.newBuilder() to construct. private SimulationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SimulationResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SimulationResponse( 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: { cosmos.base.abci.v1beta1.Abci.GasInfo.Builder subBuilder = null; if (gasInfo_ != null) { subBuilder = gasInfo_.toBuilder(); } gasInfo_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.GasInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gasInfo_); gasInfo_ = subBuilder.buildPartial(); } break; } case 18: { cosmos.base.abci.v1beta1.Abci.Result.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(cosmos.base.abci.v1beta1.Abci.Result.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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SimulationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.SimulationResponse.class, cosmos.base.abci.v1beta1.Abci.SimulationResponse.Builder.class); } public static final int GAS_INFO_FIELD_NUMBER = 1; private cosmos.base.abci.v1beta1.Abci.GasInfo gasInfo_; /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public boolean hasGasInfo() { return gasInfo_ != null; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo() { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder() { return getGasInfo(); } public static final int RESULT_FIELD_NUMBER = 2; private cosmos.base.abci.v1beta1.Abci.Result result_; /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public boolean hasResult() { return result_ != null; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result getResult() { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.ResultOrBuilder 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 (gasInfo_ != null) { output.writeMessage(1, getGasInfo()); } if (result_ != null) { output.writeMessage(2, getResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (gasInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getGasInfo()); } if (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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 cosmos.base.abci.v1beta1.Abci.SimulationResponse)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.SimulationResponse other = (cosmos.base.abci.v1beta1.Abci.SimulationResponse) obj; boolean result = true; result = result && (hasGasInfo() == other.hasGasInfo()); if (hasGasInfo()) { result = result && getGasInfo() .equals(other.getGasInfo()); } 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(); if (hasGasInfo()) { hash = (37 * hash) + GAS_INFO_FIELD_NUMBER; hash = (53 * hash) + getGasInfo().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 cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse 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 cosmos.base.abci.v1beta1.Abci.SimulationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse 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 cosmos.base.abci.v1beta1.Abci.SimulationResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse 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(cosmos.base.abci.v1beta1.Abci.SimulationResponse 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; } /** *
     * SimulationResponse defines the response generated when a transaction is
     * successfully simulated.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.SimulationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.SimulationResponse) cosmos.base.abci.v1beta1.Abci.SimulationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SimulationResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.SimulationResponse.class, cosmos.base.abci.v1beta1.Abci.SimulationResponse.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.SimulationResponse.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 (gasInfoBuilder_ == null) { gasInfo_ = null; } else { gasInfo_ = null; gasInfoBuilder_ = null; } if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SimulationResponse getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.SimulationResponse.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SimulationResponse build() { cosmos.base.abci.v1beta1.Abci.SimulationResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SimulationResponse buildPartial() { cosmos.base.abci.v1beta1.Abci.SimulationResponse result = new cosmos.base.abci.v1beta1.Abci.SimulationResponse(this); if (gasInfoBuilder_ == null) { result.gasInfo_ = gasInfo_; } else { result.gasInfo_ = gasInfoBuilder_.build(); } 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 cosmos.base.abci.v1beta1.Abci.SimulationResponse) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.SimulationResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.SimulationResponse other) { if (other == cosmos.base.abci.v1beta1.Abci.SimulationResponse.getDefaultInstance()) return this; if (other.hasGasInfo()) { mergeGasInfo(other.getGasInfo()); } 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 { cosmos.base.abci.v1beta1.Abci.SimulationResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.SimulationResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.abci.v1beta1.Abci.GasInfo gasInfo_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder> gasInfoBuilder_; /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public boolean hasGasInfo() { return gasInfoBuilder_ != null || gasInfo_ != null; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public cosmos.base.abci.v1beta1.Abci.GasInfo getGasInfo() { if (gasInfoBuilder_ == null) { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } else { return gasInfoBuilder_.getMessage(); } } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public Builder setGasInfo(cosmos.base.abci.v1beta1.Abci.GasInfo value) { if (gasInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gasInfo_ = value; onChanged(); } else { gasInfoBuilder_.setMessage(value); } return this; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public Builder setGasInfo( cosmos.base.abci.v1beta1.Abci.GasInfo.Builder builderForValue) { if (gasInfoBuilder_ == null) { gasInfo_ = builderForValue.build(); onChanged(); } else { gasInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public Builder mergeGasInfo(cosmos.base.abci.v1beta1.Abci.GasInfo value) { if (gasInfoBuilder_ == null) { if (gasInfo_ != null) { gasInfo_ = cosmos.base.abci.v1beta1.Abci.GasInfo.newBuilder(gasInfo_).mergeFrom(value).buildPartial(); } else { gasInfo_ = value; } onChanged(); } else { gasInfoBuilder_.mergeFrom(value); } return this; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public Builder clearGasInfo() { if (gasInfoBuilder_ == null) { gasInfo_ = null; onChanged(); } else { gasInfo_ = null; gasInfoBuilder_ = null; } return this; } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public cosmos.base.abci.v1beta1.Abci.GasInfo.Builder getGasInfoBuilder() { onChanged(); return getGasInfoFieldBuilder().getBuilder(); } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ public cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder getGasInfoOrBuilder() { if (gasInfoBuilder_ != null) { return gasInfoBuilder_.getMessageOrBuilder(); } else { return gasInfo_ == null ? cosmos.base.abci.v1beta1.Abci.GasInfo.getDefaultInstance() : gasInfo_; } } /** * .cosmos.base.abci.v1beta1.GasInfo gas_info = 1 [(.gogoproto.nullable) = false, (.gogoproto.embed) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder> getGasInfoFieldBuilder() { if (gasInfoBuilder_ == null) { gasInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.GasInfo, cosmos.base.abci.v1beta1.Abci.GasInfo.Builder, cosmos.base.abci.v1beta1.Abci.GasInfoOrBuilder>( getGasInfo(), getParentForChildren(), isClean()); gasInfo_ = null; } return gasInfoBuilder_; } private cosmos.base.abci.v1beta1.Abci.Result result_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder> resultBuilder_; /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result getResult() { if (resultBuilder_ == null) { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder setResult(cosmos.base.abci.v1beta1.Abci.Result value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder setResult( cosmos.base.abci.v1beta1.Abci.Result.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder mergeResult(cosmos.base.abci.v1beta1.Abci.Result value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = cosmos.base.abci.v1beta1.Abci.Result.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.Result.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ public cosmos.base.abci.v1beta1.Abci.ResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? cosmos.base.abci.v1beta1.Abci.Result.getDefaultInstance() : result_; } } /** * .cosmos.base.abci.v1beta1.Result result = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.Result, cosmos.base.abci.v1beta1.Abci.Result.Builder, cosmos.base.abci.v1beta1.Abci.ResultOrBuilder>( 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:cosmos.base.abci.v1beta1.SimulationResponse) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.SimulationResponse) private static final cosmos.base.abci.v1beta1.Abci.SimulationResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.SimulationResponse(); } public static cosmos.base.abci.v1beta1.Abci.SimulationResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SimulationResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SimulationResponse(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 cosmos.base.abci.v1beta1.Abci.SimulationResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgDataOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.MsgData) com.google.protobuf.MessageOrBuilder { /** * string msg_type = 1; */ java.lang.String getMsgType(); /** * string msg_type = 1; */ com.google.protobuf.ByteString getMsgTypeBytes(); /** * bytes data = 2; */ com.google.protobuf.ByteString getData(); } /** *
   * MsgData defines the data returned in a Result object during message
   * execution.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.MsgData} */ public static final class MsgData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.MsgData) MsgDataOrBuilder { private static final long serialVersionUID = 0L; // Use MsgData.newBuilder() to construct. private MsgData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgData() { msgType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgData( 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(); msgType_ = s; break; } case 18: { data_ = 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 cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_MsgData_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.MsgData.class, cosmos.base.abci.v1beta1.Abci.MsgData.Builder.class); } public static final int MSG_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object msgType_; /** * string msg_type = 1; */ public java.lang.String getMsgType() { java.lang.Object ref = msgType_; 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(); msgType_ = s; return s; } } /** * string msg_type = 1; */ public com.google.protobuf.ByteString getMsgTypeBytes() { java.lang.Object ref = msgType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_; } 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 (!getMsgTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, msgType_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMsgTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, msgType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } 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 cosmos.base.abci.v1beta1.Abci.MsgData)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.MsgData other = (cosmos.base.abci.v1beta1.Abci.MsgData) obj; boolean result = true; result = result && getMsgType() .equals(other.getMsgType()); result = result && getData() .equals(other.getData()); 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) + MSG_TYPE_FIELD_NUMBER; hash = (53 * hash) + getMsgType().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.MsgData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.MsgData 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 cosmos.base.abci.v1beta1.Abci.MsgData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.MsgData 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 cosmos.base.abci.v1beta1.Abci.MsgData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.MsgData 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(cosmos.base.abci.v1beta1.Abci.MsgData 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; } /** *
     * MsgData defines the data returned in a Result object during message
     * execution.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.MsgData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.MsgData) cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_MsgData_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.MsgData.class, cosmos.base.abci.v1beta1.Abci.MsgData.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.MsgData.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(); msgType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.MsgData getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.MsgData.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.MsgData build() { cosmos.base.abci.v1beta1.Abci.MsgData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.MsgData buildPartial() { cosmos.base.abci.v1beta1.Abci.MsgData result = new cosmos.base.abci.v1beta1.Abci.MsgData(this); result.msgType_ = msgType_; result.data_ = data_; 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 cosmos.base.abci.v1beta1.Abci.MsgData) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.MsgData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.MsgData other) { if (other == cosmos.base.abci.v1beta1.Abci.MsgData.getDefaultInstance()) return this; if (!other.getMsgType().isEmpty()) { msgType_ = other.msgType_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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 { cosmos.base.abci.v1beta1.Abci.MsgData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.MsgData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object msgType_ = ""; /** * string msg_type = 1; */ public java.lang.String getMsgType() { java.lang.Object ref = msgType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); msgType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string msg_type = 1; */ public com.google.protobuf.ByteString getMsgTypeBytes() { java.lang.Object ref = msgType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string msg_type = 1; */ public Builder setMsgType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } msgType_ = value; onChanged(); return this; } /** * string msg_type = 1; */ public Builder clearMsgType() { msgType_ = getDefaultInstance().getMsgType(); onChanged(); return this; } /** * string msg_type = 1; */ public Builder setMsgTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); msgType_ = value; 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; } @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:cosmos.base.abci.v1beta1.MsgData) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.MsgData) private static final cosmos.base.abci.v1beta1.Abci.MsgData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.MsgData(); } public static cosmos.base.abci.v1beta1.Abci.MsgData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgData(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 cosmos.base.abci.v1beta1.Abci.MsgData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TxMsgDataOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.TxMsgData) com.google.protobuf.MessageOrBuilder { /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ java.util.List getDataList(); /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ cosmos.base.abci.v1beta1.Abci.MsgData getData(int index); /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ int getDataCount(); /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ java.util.List getDataOrBuilderList(); /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder getDataOrBuilder( int index); } /** *
   * TxMsgData defines a list of MsgData. A transaction will have a MsgData object
   * for each message.
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.TxMsgData} */ public static final class TxMsgData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.TxMsgData) TxMsgDataOrBuilder { private static final long serialVersionUID = 0L; // Use TxMsgData.newBuilder() to construct. private TxMsgData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TxMsgData() { data_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TxMsgData( 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)) { data_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } data_.add( input.readMessage(cosmos.base.abci.v1beta1.Abci.MsgData.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)) { data_ = java.util.Collections.unmodifiableList(data_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxMsgData_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.TxMsgData.class, cosmos.base.abci.v1beta1.Abci.TxMsgData.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private java.util.List data_; /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public java.util.List getDataList() { return data_; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public java.util.List getDataOrBuilderList() { return data_; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public int getDataCount() { return data_.size(); } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgData getData(int index) { return data_.get(index); } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder getDataOrBuilder( int index) { return data_.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 < data_.size(); i++) { output.writeMessage(1, data_.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 < data_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, data_.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 cosmos.base.abci.v1beta1.Abci.TxMsgData)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.TxMsgData other = (cosmos.base.abci.v1beta1.Abci.TxMsgData) obj; boolean result = true; result = result && getDataList() .equals(other.getDataList()); 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 (getDataCount() > 0) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getDataList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData 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 cosmos.base.abci.v1beta1.Abci.TxMsgData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData 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 cosmos.base.abci.v1beta1.Abci.TxMsgData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData 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(cosmos.base.abci.v1beta1.Abci.TxMsgData 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; } /** *
     * TxMsgData defines a list of MsgData. A transaction will have a MsgData object
     * for each message.
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.TxMsgData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.TxMsgData) cosmos.base.abci.v1beta1.Abci.TxMsgDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxMsgData_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.TxMsgData.class, cosmos.base.abci.v1beta1.Abci.TxMsgData.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.TxMsgData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxMsgData getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.TxMsgData.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxMsgData build() { cosmos.base.abci.v1beta1.Abci.TxMsgData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.TxMsgData buildPartial() { cosmos.base.abci.v1beta1.Abci.TxMsgData result = new cosmos.base.abci.v1beta1.Abci.TxMsgData(this); int from_bitField0_ = bitField0_; if (dataBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { data_ = java.util.Collections.unmodifiableList(data_); bitField0_ = (bitField0_ & ~0x00000001); } result.data_ = data_; } else { result.data_ = dataBuilder_.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 cosmos.base.abci.v1beta1.Abci.TxMsgData) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.TxMsgData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.TxMsgData other) { if (other == cosmos.base.abci.v1beta1.Abci.TxMsgData.getDefaultInstance()) return this; if (dataBuilder_ == null) { if (!other.data_.isEmpty()) { if (data_.isEmpty()) { data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataIsMutable(); data_.addAll(other.data_); } onChanged(); } } else { if (!other.data_.isEmpty()) { if (dataBuilder_.isEmpty()) { dataBuilder_.dispose(); dataBuilder_ = null; data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000001); dataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldBuilder() : null; } else { dataBuilder_.addAllMessages(other.data_); } } } 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 { cosmos.base.abci.v1beta1.Abci.TxMsgData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.TxMsgData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { data_ = new java.util.ArrayList(data_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.MsgData, cosmos.base.abci.v1beta1.Abci.MsgData.Builder, cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder> dataBuilder_; /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public java.util.List getDataList() { if (dataBuilder_ == null) { return java.util.Collections.unmodifiableList(data_); } else { return dataBuilder_.getMessageList(); } } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public int getDataCount() { if (dataBuilder_ == null) { return data_.size(); } else { return dataBuilder_.getCount(); } } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgData getData(int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessage(index); } } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder setData( int index, cosmos.base.abci.v1beta1.Abci.MsgData value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.set(index, value); onChanged(); } else { dataBuilder_.setMessage(index, value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder setData( int index, cosmos.base.abci.v1beta1.Abci.MsgData.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.set(index, builderForValue.build()); onChanged(); } else { dataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder addData(cosmos.base.abci.v1beta1.Abci.MsgData value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(value); onChanged(); } else { dataBuilder_.addMessage(value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder addData( int index, cosmos.base.abci.v1beta1.Abci.MsgData value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(index, value); onChanged(); } else { dataBuilder_.addMessage(index, value); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder addData( cosmos.base.abci.v1beta1.Abci.MsgData.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder addData( int index, cosmos.base.abci.v1beta1.Abci.MsgData.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(index, builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder addAllData( java.lang.Iterable values) { if (dataBuilder_ == null) { ensureDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, data_); onChanged(); } else { dataBuilder_.addAllMessages(values); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataBuilder_.clear(); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public Builder removeData(int index) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.remove(index); onChanged(); } else { dataBuilder_.remove(index); } return this; } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgData.Builder getDataBuilder( int index) { return getDataFieldBuilder().getBuilder(index); } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder getDataOrBuilder( int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessageOrBuilder(index); } } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public java.util.List getDataOrBuilderList() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(data_); } } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgData.Builder addDataBuilder() { return getDataFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.MsgData.getDefaultInstance()); } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public cosmos.base.abci.v1beta1.Abci.MsgData.Builder addDataBuilder( int index) { return getDataFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.MsgData.getDefaultInstance()); } /** * repeated .cosmos.base.abci.v1beta1.MsgData data = 1; */ public java.util.List getDataBuilderList() { return getDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.MsgData, cosmos.base.abci.v1beta1.Abci.MsgData.Builder, cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.MsgData, cosmos.base.abci.v1beta1.Abci.MsgData.Builder, cosmos.base.abci.v1beta1.Abci.MsgDataOrBuilder>( data_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } @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:cosmos.base.abci.v1beta1.TxMsgData) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.TxMsgData) private static final cosmos.base.abci.v1beta1.Abci.TxMsgData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.TxMsgData(); } public static cosmos.base.abci.v1beta1.Abci.TxMsgData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TxMsgData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TxMsgData(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 cosmos.base.abci.v1beta1.Abci.TxMsgData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SearchTxsResultOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.base.abci.v1beta1.SearchTxsResult) com.google.protobuf.MessageOrBuilder { /** *
     * Count of all txs
     * 
* * uint64 total_count = 1 [(.gogoproto.jsontag) = "total_count", (.gogoproto.moretags) = "yaml:\"total_count\""]; */ long getTotalCount(); /** *
     * Count of txs in current page
     * 
* * uint64 count = 2; */ long getCount(); /** *
     * Index of current page, start from 1
     * 
* * uint64 page_number = 3 [(.gogoproto.jsontag) = "page_number", (.gogoproto.moretags) = "yaml:\"page_number\""]; */ long getPageNumber(); /** *
     * Count of total pages
     * 
* * uint64 page_total = 4 [(.gogoproto.jsontag) = "page_total", (.gogoproto.moretags) = "yaml:\"page_total\""]; */ long getPageTotal(); /** *
     * Max count txs per page
     * 
* * uint64 limit = 5; */ long getLimit(); /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ java.util.List getTxsList(); /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ cosmos.base.abci.v1beta1.Abci.TxResponse getTxs(int index); /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ int getTxsCount(); /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ java.util.List getTxsOrBuilderList(); /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxsOrBuilder( int index); } /** *
   * SearchTxsResult defines a structure for querying txs pageable
   * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.SearchTxsResult} */ public static final class SearchTxsResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.base.abci.v1beta1.SearchTxsResult) SearchTxsResultOrBuilder { private static final long serialVersionUID = 0L; // Use SearchTxsResult.newBuilder() to construct. private SearchTxsResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SearchTxsResult() { totalCount_ = 0L; count_ = 0L; pageNumber_ = 0L; pageTotal_ = 0L; limit_ = 0L; txs_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SearchTxsResult( 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: { totalCount_ = input.readUInt64(); break; } case 16: { count_ = input.readUInt64(); break; } case 24: { pageNumber_ = input.readUInt64(); break; } case 32: { pageTotal_ = input.readUInt64(); break; } case 40: { limit_ = input.readUInt64(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { txs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } txs_.add( input.readMessage(cosmos.base.abci.v1beta1.Abci.TxResponse.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_ & 0x00000020) == 0x00000020)) { txs_ = java.util.Collections.unmodifiableList(txs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.SearchTxsResult.class, cosmos.base.abci.v1beta1.Abci.SearchTxsResult.Builder.class); } private int bitField0_; public static final int TOTAL_COUNT_FIELD_NUMBER = 1; private long totalCount_; /** *
     * Count of all txs
     * 
* * uint64 total_count = 1 [(.gogoproto.jsontag) = "total_count", (.gogoproto.moretags) = "yaml:\"total_count\""]; */ public long getTotalCount() { return totalCount_; } public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** *
     * Count of txs in current page
     * 
* * uint64 count = 2; */ public long getCount() { return count_; } public static final int PAGE_NUMBER_FIELD_NUMBER = 3; private long pageNumber_; /** *
     * Index of current page, start from 1
     * 
* * uint64 page_number = 3 [(.gogoproto.jsontag) = "page_number", (.gogoproto.moretags) = "yaml:\"page_number\""]; */ public long getPageNumber() { return pageNumber_; } public static final int PAGE_TOTAL_FIELD_NUMBER = 4; private long pageTotal_; /** *
     * Count of total pages
     * 
* * uint64 page_total = 4 [(.gogoproto.jsontag) = "page_total", (.gogoproto.moretags) = "yaml:\"page_total\""]; */ public long getPageTotal() { return pageTotal_; } public static final int LIMIT_FIELD_NUMBER = 5; private long limit_; /** *
     * Max count txs per page
     * 
* * uint64 limit = 5; */ public long getLimit() { return limit_; } public static final int TXS_FIELD_NUMBER = 6; private java.util.List txs_; /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public java.util.List getTxsList() { return txs_; } /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public java.util.List getTxsOrBuilderList() { return txs_; } /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public int getTxsCount() { return txs_.size(); } /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxs(int index) { return txs_.get(index); } /** *
     * List of txs in current page
     * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxsOrBuilder( int index) { return txs_.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 (totalCount_ != 0L) { output.writeUInt64(1, totalCount_); } if (count_ != 0L) { output.writeUInt64(2, count_); } if (pageNumber_ != 0L) { output.writeUInt64(3, pageNumber_); } if (pageTotal_ != 0L) { output.writeUInt64(4, pageTotal_); } if (limit_ != 0L) { output.writeUInt64(5, limit_); } for (int i = 0; i < txs_.size(); i++) { output.writeMessage(6, txs_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (totalCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, totalCount_); } if (count_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, count_); } if (pageNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, pageNumber_); } if (pageTotal_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, pageTotal_); } if (limit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, limit_); } for (int i = 0; i < txs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, txs_.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 cosmos.base.abci.v1beta1.Abci.SearchTxsResult)) { return super.equals(obj); } cosmos.base.abci.v1beta1.Abci.SearchTxsResult other = (cosmos.base.abci.v1beta1.Abci.SearchTxsResult) obj; boolean result = true; result = result && (getTotalCount() == other.getTotalCount()); result = result && (getCount() == other.getCount()); result = result && (getPageNumber() == other.getPageNumber()); result = result && (getPageTotal() == other.getPageTotal()); result = result && (getLimit() == other.getLimit()); result = result && getTxsList() .equals(other.getTxsList()); 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) + TOTAL_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalCount()); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); hash = (37 * hash) + PAGE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageNumber()); hash = (37 * hash) + PAGE_TOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageTotal()); hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLimit()); if (getTxsCount() > 0) { hash = (37 * hash) + TXS_FIELD_NUMBER; hash = (53 * hash) + getTxsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult 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 cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult 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 cosmos.base.abci.v1beta1.Abci.SearchTxsResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult 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(cosmos.base.abci.v1beta1.Abci.SearchTxsResult 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; } /** *
     * SearchTxsResult defines a structure for querying txs pageable
     * 
* * Protobuf type {@code cosmos.base.abci.v1beta1.SearchTxsResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.base.abci.v1beta1.SearchTxsResult) cosmos.base.abci.v1beta1.Abci.SearchTxsResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.base.abci.v1beta1.Abci.SearchTxsResult.class, cosmos.base.abci.v1beta1.Abci.SearchTxsResult.Builder.class); } // Construct using cosmos.base.abci.v1beta1.Abci.SearchTxsResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTxsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); totalCount_ = 0L; count_ = 0L; pageNumber_ = 0L; pageTotal_ = 0L; limit_ = 0L; if (txsBuilder_ == null) { txs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { txsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.base.abci.v1beta1.Abci.internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SearchTxsResult getDefaultInstanceForType() { return cosmos.base.abci.v1beta1.Abci.SearchTxsResult.getDefaultInstance(); } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SearchTxsResult build() { cosmos.base.abci.v1beta1.Abci.SearchTxsResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.base.abci.v1beta1.Abci.SearchTxsResult buildPartial() { cosmos.base.abci.v1beta1.Abci.SearchTxsResult result = new cosmos.base.abci.v1beta1.Abci.SearchTxsResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.totalCount_ = totalCount_; result.count_ = count_; result.pageNumber_ = pageNumber_; result.pageTotal_ = pageTotal_; result.limit_ = limit_; if (txsBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { txs_ = java.util.Collections.unmodifiableList(txs_); bitField0_ = (bitField0_ & ~0x00000020); } result.txs_ = txs_; } else { result.txs_ = txsBuilder_.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 cosmos.base.abci.v1beta1.Abci.SearchTxsResult) { return mergeFrom((cosmos.base.abci.v1beta1.Abci.SearchTxsResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.base.abci.v1beta1.Abci.SearchTxsResult other) { if (other == cosmos.base.abci.v1beta1.Abci.SearchTxsResult.getDefaultInstance()) return this; if (other.getTotalCount() != 0L) { setTotalCount(other.getTotalCount()); } if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getPageNumber() != 0L) { setPageNumber(other.getPageNumber()); } if (other.getPageTotal() != 0L) { setPageTotal(other.getPageTotal()); } if (other.getLimit() != 0L) { setLimit(other.getLimit()); } if (txsBuilder_ == null) { if (!other.txs_.isEmpty()) { if (txs_.isEmpty()) { txs_ = other.txs_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureTxsIsMutable(); txs_.addAll(other.txs_); } onChanged(); } } else { if (!other.txs_.isEmpty()) { if (txsBuilder_.isEmpty()) { txsBuilder_.dispose(); txsBuilder_ = null; txs_ = other.txs_; bitField0_ = (bitField0_ & ~0x00000020); txsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTxsFieldBuilder() : null; } else { txsBuilder_.addAllMessages(other.txs_); } } } 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 { cosmos.base.abci.v1beta1.Abci.SearchTxsResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.base.abci.v1beta1.Abci.SearchTxsResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long totalCount_ ; /** *
       * Count of all txs
       * 
* * uint64 total_count = 1 [(.gogoproto.jsontag) = "total_count", (.gogoproto.moretags) = "yaml:\"total_count\""]; */ public long getTotalCount() { return totalCount_; } /** *
       * Count of all txs
       * 
* * uint64 total_count = 1 [(.gogoproto.jsontag) = "total_count", (.gogoproto.moretags) = "yaml:\"total_count\""]; */ public Builder setTotalCount(long value) { totalCount_ = value; onChanged(); return this; } /** *
       * Count of all txs
       * 
* * uint64 total_count = 1 [(.gogoproto.jsontag) = "total_count", (.gogoproto.moretags) = "yaml:\"total_count\""]; */ public Builder clearTotalCount() { totalCount_ = 0L; onChanged(); return this; } private long count_ ; /** *
       * Count of txs in current page
       * 
* * uint64 count = 2; */ public long getCount() { return count_; } /** *
       * Count of txs in current page
       * 
* * uint64 count = 2; */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** *
       * Count of txs in current page
       * 
* * uint64 count = 2; */ public Builder clearCount() { count_ = 0L; onChanged(); return this; } private long pageNumber_ ; /** *
       * Index of current page, start from 1
       * 
* * uint64 page_number = 3 [(.gogoproto.jsontag) = "page_number", (.gogoproto.moretags) = "yaml:\"page_number\""]; */ public long getPageNumber() { return pageNumber_; } /** *
       * Index of current page, start from 1
       * 
* * uint64 page_number = 3 [(.gogoproto.jsontag) = "page_number", (.gogoproto.moretags) = "yaml:\"page_number\""]; */ public Builder setPageNumber(long value) { pageNumber_ = value; onChanged(); return this; } /** *
       * Index of current page, start from 1
       * 
* * uint64 page_number = 3 [(.gogoproto.jsontag) = "page_number", (.gogoproto.moretags) = "yaml:\"page_number\""]; */ public Builder clearPageNumber() { pageNumber_ = 0L; onChanged(); return this; } private long pageTotal_ ; /** *
       * Count of total pages
       * 
* * uint64 page_total = 4 [(.gogoproto.jsontag) = "page_total", (.gogoproto.moretags) = "yaml:\"page_total\""]; */ public long getPageTotal() { return pageTotal_; } /** *
       * Count of total pages
       * 
* * uint64 page_total = 4 [(.gogoproto.jsontag) = "page_total", (.gogoproto.moretags) = "yaml:\"page_total\""]; */ public Builder setPageTotal(long value) { pageTotal_ = value; onChanged(); return this; } /** *
       * Count of total pages
       * 
* * uint64 page_total = 4 [(.gogoproto.jsontag) = "page_total", (.gogoproto.moretags) = "yaml:\"page_total\""]; */ public Builder clearPageTotal() { pageTotal_ = 0L; onChanged(); return this; } private long limit_ ; /** *
       * Max count txs per page
       * 
* * uint64 limit = 5; */ public long getLimit() { return limit_; } /** *
       * Max count txs per page
       * 
* * uint64 limit = 5; */ public Builder setLimit(long value) { limit_ = value; onChanged(); return this; } /** *
       * Max count txs per page
       * 
* * uint64 limit = 5; */ public Builder clearLimit() { limit_ = 0L; onChanged(); return this; } private java.util.List txs_ = java.util.Collections.emptyList(); private void ensureTxsIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { txs_ = new java.util.ArrayList(txs_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> txsBuilder_; /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public java.util.List getTxsList() { if (txsBuilder_ == null) { return java.util.Collections.unmodifiableList(txs_); } else { return txsBuilder_.getMessageList(); } } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public int getTxsCount() { if (txsBuilder_ == null) { return txs_.size(); } else { return txsBuilder_.getCount(); } } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponse getTxs(int index) { if (txsBuilder_ == null) { return txs_.get(index); } else { return txsBuilder_.getMessage(index); } } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder setTxs( int index, cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.set(index, value); onChanged(); } else { txsBuilder_.setMessage(index, value); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder setTxs( int index, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.set(index, builderForValue.build()); onChanged(); } else { txsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder addTxs(cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.add(value); onChanged(); } else { txsBuilder_.addMessage(value); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder addTxs( int index, cosmos.base.abci.v1beta1.Abci.TxResponse value) { if (txsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTxsIsMutable(); txs_.add(index, value); onChanged(); } else { txsBuilder_.addMessage(index, value); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder addTxs( cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.add(builderForValue.build()); onChanged(); } else { txsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder addTxs( int index, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder builderForValue) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.add(index, builderForValue.build()); onChanged(); } else { txsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder addAllTxs( java.lang.Iterable values) { if (txsBuilder_ == null) { ensureTxsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, txs_); onChanged(); } else { txsBuilder_.addAllMessages(values); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder clearTxs() { if (txsBuilder_ == null) { txs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { txsBuilder_.clear(); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public Builder removeTxs(int index) { if (txsBuilder_ == null) { ensureTxsIsMutable(); txs_.remove(index); onChanged(); } else { txsBuilder_.remove(index); } return this; } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder getTxsBuilder( int index) { return getTxsFieldBuilder().getBuilder(index); } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder getTxsOrBuilder( int index) { if (txsBuilder_ == null) { return txs_.get(index); } else { return txsBuilder_.getMessageOrBuilder(index); } } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public java.util.List getTxsOrBuilderList() { if (txsBuilder_ != null) { return txsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(txs_); } } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder addTxsBuilder() { return getTxsFieldBuilder().addBuilder( cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance()); } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public cosmos.base.abci.v1beta1.Abci.TxResponse.Builder addTxsBuilder( int index) { return getTxsFieldBuilder().addBuilder( index, cosmos.base.abci.v1beta1.Abci.TxResponse.getDefaultInstance()); } /** *
       * List of txs in current page
       * 
* * repeated .cosmos.base.abci.v1beta1.TxResponse txs = 6; */ public java.util.List getTxsBuilderList() { return getTxsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder> getTxsFieldBuilder() { if (txsBuilder_ == null) { txsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.abci.v1beta1.Abci.TxResponse, cosmos.base.abci.v1beta1.Abci.TxResponse.Builder, cosmos.base.abci.v1beta1.Abci.TxResponseOrBuilder>( txs_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); txs_ = null; } return txsBuilder_; } @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:cosmos.base.abci.v1beta1.SearchTxsResult) } // @@protoc_insertion_point(class_scope:cosmos.base.abci.v1beta1.SearchTxsResult) private static final cosmos.base.abci.v1beta1.Abci.SearchTxsResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.base.abci.v1beta1.Abci.SearchTxsResult(); } public static cosmos.base.abci.v1beta1.Abci.SearchTxsResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SearchTxsResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SearchTxsResult(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 cosmos.base.abci.v1beta1.Abci.SearchTxsResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_TxResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_StringEvent_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_Attribute_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_GasInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_Result_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_Result_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_SimulationResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_MsgData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_TxMsgData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_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#cosmos/base/abci/v1beta1/abci.proto\022\030c" + "osmos.base.abci.v1beta1\032\024gogoproto/gogo." + "proto\032\033tendermint/abci/types.proto\032\031goog" + "le/protobuf/any.proto\"\270\002\n\nTxResponse\022\016\n\006" + "height\030\001 \001(\003\022\032\n\006txhash\030\002 \001(\tB\n\342\336\037\006TxHash" + "\022\021\n\tcodespace\030\003 \001(\t\022\014\n\004code\030\004 \001(\r\022\014\n\004dat" + "a\030\005 \001(\t\022\017\n\007raw_log\030\006 \001(\t\022O\n\004logs\030\007 \003(\0132(" + ".cosmos.base.abci.v1beta1.ABCIMessageLog" + "B\027\252\337\037\017ABCIMessageLogs\310\336\037\000\022\014\n\004info\030\010 \001(\t\022" + "\022\n\ngas_wanted\030\t \001(\003\022\020\n\010gas_used\030\n \001(\003\022 \n" + "\002tx\030\013 \001(\0132\024.google.protobuf.Any\022\021\n\ttimes" + "tamp\030\014 \001(\t:\004\210\240\037\000\"\203\001\n\016ABCIMessageLog\022\021\n\tm" + "sg_index\030\001 \001(\r\022\013\n\003log\030\002 \001(\t\022K\n\006events\030\003 " + "\003(\0132%.cosmos.base.abci.v1beta1.StringEve" + "ntB\024\252\337\037\014StringEvents\310\336\037\000:\004\200\334 \001\"`\n\013String" + "Event\022\014\n\004type\030\001 \001(\t\022=\n\nattributes\030\002 \003(\0132" + "#.cosmos.base.abci.v1beta1.AttributeB\004\310\336" + "\037\000:\004\200\334 \001\"\'\n\tAttribute\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t\"[\n\007GasInfo\022)\n\ngas_wanted\030\001 \001(\004" + "B\025\362\336\037\021yaml:\"gas_wanted\"\022%\n\010gas_used\030\002 \001(" + "\004B\023\362\336\037\017yaml:\"gas_used\"\"W\n\006Result\022\014\n\004data" + "\030\001 \001(\014\022\013\n\003log\030\002 \001(\t\022,\n\006events\030\003 \003(\0132\026.te" + "ndermint.abci.EventB\004\310\336\037\000:\004\210\240\037\000\"\205\001\n\022Simu" + "lationResponse\022=\n\010gas_info\030\001 \001(\0132!.cosmo" + "s.base.abci.v1beta1.GasInfoB\010\320\336\037\001\310\336\037\000\0220\n" + "\006result\030\002 \001(\0132 .cosmos.base.abci.v1beta1" + ".Result\"/\n\007MsgData\022\020\n\010msg_type\030\001 \001(\t\022\014\n\004" + "data\030\002 \001(\014:\004\200\334 \001\"B\n\tTxMsgData\022/\n\004data\030\001 " + "\003(\0132!.cosmos.base.abci.v1beta1.MsgData:\004" + "\200\334 \001\"\231\002\n\017SearchTxsResult\022:\n\013total_count\030" + "\001 \001(\004B%\362\336\037\022yaml:\"total_count\"\352\336\037\013total_c" + "ount\022\r\n\005count\030\002 \001(\004\022:\n\013page_number\030\003 \001(\004" + "B%\362\336\037\022yaml:\"page_number\"\352\336\037\013page_number\022" + "7\n\npage_total\030\004 \001(\004B#\362\336\037\021yaml:\"page_tota" + "l\"\352\336\037\npage_total\022\r\n\005limit\030\005 \001(\004\0221\n\003txs\030\006" + " \003(\0132$.cosmos.base.abci.v1beta1.TxRespon" + "se:\004\200\334 \001B(Z\"github.com/cosmos/cosmos-sdk" + "/types\330\341\036\000b\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[] { com.google.protobuf.GoGoProtos.getDescriptor(), tendermint.abci.Types.getDescriptor(), com.google.protobuf.AnyProto.getDescriptor(), }, assigner); internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_base_abci_v1beta1_TxResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_TxResponse_descriptor, new java.lang.String[] { "Height", "Txhash", "Codespace", "Code", "Data", "RawLog", "Logs", "Info", "GasWanted", "GasUsed", "Tx", "Timestamp", }); internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_ABCIMessageLog_descriptor, new java.lang.String[] { "MsgIndex", "Log", "Events", }); internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cosmos_base_abci_v1beta1_StringEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_StringEvent_descriptor, new java.lang.String[] { "Type", "Attributes", }); internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cosmos_base_abci_v1beta1_Attribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_Attribute_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cosmos_base_abci_v1beta1_GasInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_GasInfo_descriptor, new java.lang.String[] { "GasWanted", "GasUsed", }); internal_static_cosmos_base_abci_v1beta1_Result_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cosmos_base_abci_v1beta1_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_Result_descriptor, new java.lang.String[] { "Data", "Log", "Events", }); internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cosmos_base_abci_v1beta1_SimulationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_SimulationResponse_descriptor, new java.lang.String[] { "GasInfo", "Result", }); internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cosmos_base_abci_v1beta1_MsgData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_MsgData_descriptor, new java.lang.String[] { "MsgType", "Data", }); internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cosmos_base_abci_v1beta1_TxMsgData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_TxMsgData_descriptor, new java.lang.String[] { "Data", }); internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_base_abci_v1beta1_SearchTxsResult_descriptor, new java.lang.String[] { "TotalCount", "Count", "PageNumber", "PageTotal", "Limit", "Txs", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.castrepeated); registry.add(com.google.protobuf.GoGoProtos.customname); registry.add(com.google.protobuf.GoGoProtos.embed); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.goprotoStringerAll); registry.add(com.google.protobuf.GoGoProtos.jsontag); registry.add(com.google.protobuf.GoGoProtos.moretags); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.protobuf.GoGoProtos.stringer); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); tendermint.abci.Types.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy