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

cosmos.bank.v1beta1.QueryOuterClass Maven / Gradle / Ivy

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

package cosmos.bank.v1beta1;

public final class QueryOuterClass {
  private QueryOuterClass() {}
  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 QueryBalanceRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryBalanceRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * address is the address to query balances for.
     * 
* * string address = 1; */ java.lang.String getAddress(); /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ com.google.protobuf.ByteString getAddressBytes(); /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 2; */ java.lang.String getDenom(); /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 2; */ com.google.protobuf.ByteString getDenomBytes(); } /** *
   * QueryBalanceRequest is the request type for the Query/Balance RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryBalanceRequest} */ public static final class QueryBalanceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryBalanceRequest) QueryBalanceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryBalanceRequest.newBuilder() to construct. private QueryBalanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryBalanceRequest() { address_ = ""; denom_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryBalanceRequest( 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(); address_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); denom_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; 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(); address_ = s; return s; } } /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DENOM_FIELD_NUMBER = 2; private volatile java.lang.Object denom_; /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 2; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; 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(); denom_ = s; return s; } } /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 2; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = 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 (!getAddressBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } if (!getDenomBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, denom_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAddressBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, address_); } if (!getDenomBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, denom_); } 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest) obj; boolean result = true; result = result && getAddress() .equals(other.getAddress()); result = result && getDenom() .equals(other.getDenom()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); hash = (37 * hash) + DENOM_FIELD_NUMBER; hash = (53 * hash) + getDenom().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest 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; } /** *
     * QueryBalanceRequest is the request type for the Query/Balance RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryBalanceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryBalanceRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); address_ = ""; denom_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest(this); result.address_ = address_; result.denom_ = denom_; 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest.getDefaultInstance()) return this; if (!other.getAddress().isEmpty()) { address_ = other.address_; onChanged(); } if (!other.getDenom().isEmpty()) { denom_ = other.denom_; 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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object address_ = ""; /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); return this; } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); address_ = value; onChanged(); return this; } private java.lang.Object denom_ = ""; /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 2; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denom_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 2; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 2; */ public Builder setDenom( java.lang.String value) { if (value == null) { throw new NullPointerException(); } denom_ = value; onChanged(); return this; } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 2; */ public Builder clearDenom() { denom_ = getDefaultInstance().getDenom(); onChanged(); return this; } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 2; */ public Builder setDenomBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); denom_ = 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.bank.v1beta1.QueryBalanceRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryBalanceRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryBalanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryBalanceRequest(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.bank.v1beta1.QueryOuterClass.QueryBalanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryBalanceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryBalanceResponse) com.google.protobuf.MessageOrBuilder { /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ boolean hasBalance(); /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ cosmos.base.v1beta1.CoinOuterClass.Coin getBalance(); /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalanceOrBuilder(); } /** *
   * QueryBalanceResponse is the response type for the Query/Balance RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryBalanceResponse} */ public static final class QueryBalanceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryBalanceResponse) QueryBalanceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryBalanceResponse.newBuilder() to construct. private QueryBalanceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryBalanceResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryBalanceResponse( 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.v1beta1.CoinOuterClass.Coin.Builder subBuilder = null; if (balance_ != null) { subBuilder = balance_.toBuilder(); } balance_ = input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(balance_); balance_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.Builder.class); } public static final int BALANCE_FIELD_NUMBER = 1; private cosmos.base.v1beta1.CoinOuterClass.Coin balance_; /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public boolean hasBalance() { return balance_ != null; } /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getBalance() { return balance_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : balance_; } /** *
     * balance is the balance of the coin.
     * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalanceOrBuilder() { return getBalance(); } 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 (balance_ != null) { output.writeMessage(1, getBalance()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (balance_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBalance()); } 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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse) obj; boolean result = true; result = result && (hasBalance() == other.hasBalance()); if (hasBalance()) { result = result && getBalance() .equals(other.getBalance()); } 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 (hasBalance()) { hash = (37 * hash) + BALANCE_FIELD_NUMBER; hash = (53 * hash) + getBalance().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse 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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse 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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse 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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse 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; } /** *
     * QueryBalanceResponse is the response type for the Query/Balance RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryBalanceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryBalanceResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.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 (balanceBuilder_ == null) { balance_ = null; } else { balance_ = null; balanceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse(this); if (balanceBuilder_ == null) { result.balance_ = balance_; } else { result.balance_ = balanceBuilder_.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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse.getDefaultInstance()) return this; if (other.hasBalance()) { mergeBalance(other.getBalance()); } 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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.v1beta1.CoinOuterClass.Coin balance_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> balanceBuilder_; /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public boolean hasBalance() { return balanceBuilder_ != null || balance_ != null; } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getBalance() { if (balanceBuilder_ == null) { return balance_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : balance_; } else { return balanceBuilder_.getMessage(); } } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public Builder setBalance(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (balanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } balance_ = value; onChanged(); } else { balanceBuilder_.setMessage(value); } return this; } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public Builder setBalance( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (balanceBuilder_ == null) { balance_ = builderForValue.build(); onChanged(); } else { balanceBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public Builder mergeBalance(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (balanceBuilder_ == null) { if (balance_ != null) { balance_ = cosmos.base.v1beta1.CoinOuterClass.Coin.newBuilder(balance_).mergeFrom(value).buildPartial(); } else { balance_ = value; } onChanged(); } else { balanceBuilder_.mergeFrom(value); } return this; } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public Builder clearBalance() { if (balanceBuilder_ == null) { balance_ = null; onChanged(); } else { balance_ = null; balanceBuilder_ = null; } return this; } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getBalanceBuilder() { onChanged(); return getBalanceFieldBuilder().getBuilder(); } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalanceOrBuilder() { if (balanceBuilder_ != null) { return balanceBuilder_.getMessageOrBuilder(); } else { return balance_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : balance_; } } /** *
       * balance is the balance of the coin.
       * 
* * .cosmos.base.v1beta1.Coin balance = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getBalanceFieldBuilder() { if (balanceBuilder_ == null) { balanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( getBalance(), getParentForChildren(), isClean()); balance_ = null; } return balanceBuilder_; } @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.bank.v1beta1.QueryBalanceResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryBalanceResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryBalanceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryBalanceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryBalanceResponse(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.bank.v1beta1.QueryOuterClass.QueryBalanceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryAllBalancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryAllBalancesRequest) com.google.protobuf.MessageOrBuilder { /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ java.lang.String getAddress(); /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ com.google.protobuf.ByteString getAddressBytes(); /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ boolean hasPagination(); /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageRequest getPagination(); /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder(); } /** *
   * QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryAllBalancesRequest} */ public static final class QueryAllBalancesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryAllBalancesRequest) QueryAllBalancesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryAllBalancesRequest.newBuilder() to construct. private QueryAllBalancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryAllBalancesRequest() { address_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryAllBalancesRequest( 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(); address_ = s; break; } case 18: { cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.Builder.class); } public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; 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(); address_ = s; return s; } } /** *
     * address is the address to query balances for.
     * 
* * string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGINATION_FIELD_NUMBER = 2; private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 (!getAddressBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAddressBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, address_); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest) obj; boolean result = true; result = result && getAddress() .equals(other.getAddress()); result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest 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; } /** *
     * QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryAllBalancesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryAllBalancesRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); address_ = ""; if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest(this); result.address_ = address_; if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest.getDefaultInstance()) return this; if (!other.getAddress().isEmpty()) { address_ = other.address_; onChanged(); } if (other.hasPagination()) { mergePagination(other.getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object address_ = ""; /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); return this; } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** *
       * address is the address to query balances for.
       * 
* * string address = 1; */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); address_ = value; onChanged(); return this; } private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_; /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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.bank.v1beta1.QueryAllBalancesRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryAllBalancesRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryAllBalancesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryAllBalancesRequest(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.bank.v1beta1.QueryOuterClass.QueryAllBalancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryAllBalancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryAllBalancesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getBalancesList(); /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.Coin getBalances(int index); /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ int getBalancesCount(); /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getBalancesOrBuilderList(); /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalancesOrBuilder( int index); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ boolean hasPagination(); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageResponse getPagination(); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder(); } /** *
   * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
   * method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryAllBalancesResponse} */ public static final class QueryAllBalancesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryAllBalancesResponse) QueryAllBalancesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryAllBalancesResponse.newBuilder() to construct. private QueryAllBalancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryAllBalancesResponse() { balances_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryAllBalancesResponse( 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)) { balances_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } balances_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry)); break; } case 18: { cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { balances_ = java.util.Collections.unmodifiableList(balances_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.Builder.class); } private int bitField0_; public static final int BALANCES_FIELD_NUMBER = 1; private java.util.List balances_; /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getBalancesList() { return balances_; } /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getBalancesOrBuilderList() { return balances_; } /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getBalancesCount() { return balances_.size(); } /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getBalances(int index) { return balances_.get(index); } /** *
     * balances is the balances of all the coins.
     * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalancesOrBuilder( int index) { return balances_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 < balances_.size(); i++) { output.writeMessage(1, balances_.get(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < balances_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, balances_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse) obj; boolean result = true; result = result && getBalancesList() .equals(other.getBalancesList()); result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } 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 (getBalancesCount() > 0) { hash = (37 * hash) + BALANCES_FIELD_NUMBER; hash = (53 * hash) + getBalancesList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse 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; } /** *
     * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
     * method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryAllBalancesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryAllBalancesResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBalancesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (balancesBuilder_ == null) { balances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { balancesBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (balancesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { balances_ = java.util.Collections.unmodifiableList(balances_); bitField0_ = (bitField0_ & ~0x00000001); } result.balances_ = balances_; } else { result.balances_ = balancesBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse.getDefaultInstance()) return this; if (balancesBuilder_ == null) { if (!other.balances_.isEmpty()) { if (balances_.isEmpty()) { balances_ = other.balances_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBalancesIsMutable(); balances_.addAll(other.balances_); } onChanged(); } } else { if (!other.balances_.isEmpty()) { if (balancesBuilder_.isEmpty()) { balancesBuilder_.dispose(); balancesBuilder_ = null; balances_ = other.balances_; bitField0_ = (bitField0_ & ~0x00000001); balancesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBalancesFieldBuilder() : null; } else { balancesBuilder_.addAllMessages(other.balances_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List balances_ = java.util.Collections.emptyList(); private void ensureBalancesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { balances_ = new java.util.ArrayList(balances_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> balancesBuilder_; /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getBalancesList() { if (balancesBuilder_ == null) { return java.util.Collections.unmodifiableList(balances_); } else { return balancesBuilder_.getMessageList(); } } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getBalancesCount() { if (balancesBuilder_ == null) { return balances_.size(); } else { return balancesBuilder_.getCount(); } } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getBalances(int index) { if (balancesBuilder_ == null) { return balances_.get(index); } else { return balancesBuilder_.getMessage(index); } } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setBalances( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (balancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBalancesIsMutable(); balances_.set(index, value); onChanged(); } else { balancesBuilder_.setMessage(index, value); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setBalances( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (balancesBuilder_ == null) { ensureBalancesIsMutable(); balances_.set(index, builderForValue.build()); onChanged(); } else { balancesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addBalances(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (balancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBalancesIsMutable(); balances_.add(value); onChanged(); } else { balancesBuilder_.addMessage(value); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addBalances( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (balancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBalancesIsMutable(); balances_.add(index, value); onChanged(); } else { balancesBuilder_.addMessage(index, value); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addBalances( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (balancesBuilder_ == null) { ensureBalancesIsMutable(); balances_.add(builderForValue.build()); onChanged(); } else { balancesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addBalances( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (balancesBuilder_ == null) { ensureBalancesIsMutable(); balances_.add(index, builderForValue.build()); onChanged(); } else { balancesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllBalances( java.lang.Iterable values) { if (balancesBuilder_ == null) { ensureBalancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, balances_); onChanged(); } else { balancesBuilder_.addAllMessages(values); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearBalances() { if (balancesBuilder_ == null) { balances_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { balancesBuilder_.clear(); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeBalances(int index) { if (balancesBuilder_ == null) { ensureBalancesIsMutable(); balances_.remove(index); onChanged(); } else { balancesBuilder_.remove(index); } return this; } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getBalancesBuilder( int index) { return getBalancesFieldBuilder().getBuilder(index); } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getBalancesOrBuilder( int index) { if (balancesBuilder_ == null) { return balances_.get(index); } else { return balancesBuilder_.getMessageOrBuilder(index); } } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getBalancesOrBuilderList() { if (balancesBuilder_ != null) { return balancesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(balances_); } } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addBalancesBuilder() { return getBalancesFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addBalancesBuilder( int index) { return getBalancesFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** *
       * balances is the balances of all the coins.
       * 
* * repeated .cosmos.base.v1beta1.Coin balances = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getBalancesBuilderList() { return getBalancesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getBalancesFieldBuilder() { if (balancesBuilder_ == null) { balancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( balances_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); balances_ = null; } return balancesBuilder_; } private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_; /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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.bank.v1beta1.QueryAllBalancesResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryAllBalancesResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryAllBalancesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryAllBalancesResponse(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.bank.v1beta1.QueryOuterClass.QueryAllBalancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryTotalSupplyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryTotalSupplyRequest) com.google.protobuf.MessageOrBuilder { } /** *
   * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
   * method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryTotalSupplyRequest} */ public static final class QueryTotalSupplyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryTotalSupplyRequest) QueryTotalSupplyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryTotalSupplyRequest.newBuilder() to construct. private QueryTotalSupplyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryTotalSupplyRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryTotalSupplyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest 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; } /** *
     * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
     * method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryTotalSupplyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryTotalSupplyRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.bank.v1beta1.QueryTotalSupplyRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryTotalSupplyRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryTotalSupplyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryTotalSupplyRequest(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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryTotalSupplyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryTotalSupplyResponse) com.google.protobuf.MessageOrBuilder { /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getSupplyList(); /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.Coin getSupply(int index); /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ int getSupplyCount(); /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ java.util.List getSupplyOrBuilderList(); /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getSupplyOrBuilder( int index); } /** *
   * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
   * method
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryTotalSupplyResponse} */ public static final class QueryTotalSupplyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryTotalSupplyResponse) QueryTotalSupplyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryTotalSupplyResponse.newBuilder() to construct. private QueryTotalSupplyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryTotalSupplyResponse() { supply_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryTotalSupplyResponse( 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)) { supply_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } supply_.add( input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.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)) { supply_ = java.util.Collections.unmodifiableList(supply_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.Builder.class); } public static final int SUPPLY_FIELD_NUMBER = 1; private java.util.List supply_; /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getSupplyList() { return supply_; } /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getSupplyOrBuilderList() { return supply_; } /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getSupplyCount() { return supply_.size(); } /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getSupply(int index) { return supply_.get(index); } /** *
     * supply is the supply of the coins
     * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getSupplyOrBuilder( int index) { return supply_.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 < supply_.size(); i++) { output.writeMessage(1, supply_.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 < supply_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, supply_.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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse) obj; boolean result = true; result = result && getSupplyList() .equals(other.getSupplyList()); 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 (getSupplyCount() > 0) { hash = (37 * hash) + SUPPLY_FIELD_NUMBER; hash = (53 * hash) + getSupplyList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse 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; } /** *
     * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
     * method
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryTotalSupplyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryTotalSupplyResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSupplyFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (supplyBuilder_ == null) { supply_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { supplyBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse(this); int from_bitField0_ = bitField0_; if (supplyBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { supply_ = java.util.Collections.unmodifiableList(supply_); bitField0_ = (bitField0_ & ~0x00000001); } result.supply_ = supply_; } else { result.supply_ = supplyBuilder_.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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse.getDefaultInstance()) return this; if (supplyBuilder_ == null) { if (!other.supply_.isEmpty()) { if (supply_.isEmpty()) { supply_ = other.supply_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSupplyIsMutable(); supply_.addAll(other.supply_); } onChanged(); } } else { if (!other.supply_.isEmpty()) { if (supplyBuilder_.isEmpty()) { supplyBuilder_.dispose(); supplyBuilder_ = null; supply_ = other.supply_; bitField0_ = (bitField0_ & ~0x00000001); supplyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSupplyFieldBuilder() : null; } else { supplyBuilder_.addAllMessages(other.supply_); } } } 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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List supply_ = java.util.Collections.emptyList(); private void ensureSupplyIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { supply_ = new java.util.ArrayList(supply_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> supplyBuilder_; /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getSupplyList() { if (supplyBuilder_ == null) { return java.util.Collections.unmodifiableList(supply_); } else { return supplyBuilder_.getMessageList(); } } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public int getSupplyCount() { if (supplyBuilder_ == null) { return supply_.size(); } else { return supplyBuilder_.getCount(); } } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getSupply(int index) { if (supplyBuilder_ == null) { return supply_.get(index); } else { return supplyBuilder_.getMessage(index); } } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setSupply( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (supplyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSupplyIsMutable(); supply_.set(index, value); onChanged(); } else { supplyBuilder_.setMessage(index, value); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder setSupply( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (supplyBuilder_ == null) { ensureSupplyIsMutable(); supply_.set(index, builderForValue.build()); onChanged(); } else { supplyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addSupply(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (supplyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSupplyIsMutable(); supply_.add(value); onChanged(); } else { supplyBuilder_.addMessage(value); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addSupply( int index, cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (supplyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSupplyIsMutable(); supply_.add(index, value); onChanged(); } else { supplyBuilder_.addMessage(index, value); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addSupply( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (supplyBuilder_ == null) { ensureSupplyIsMutable(); supply_.add(builderForValue.build()); onChanged(); } else { supplyBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addSupply( int index, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (supplyBuilder_ == null) { ensureSupplyIsMutable(); supply_.add(index, builderForValue.build()); onChanged(); } else { supplyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder addAllSupply( java.lang.Iterable values) { if (supplyBuilder_ == null) { ensureSupplyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, supply_); onChanged(); } else { supplyBuilder_.addAllMessages(values); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder clearSupply() { if (supplyBuilder_ == null) { supply_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { supplyBuilder_.clear(); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public Builder removeSupply(int index) { if (supplyBuilder_ == null) { ensureSupplyIsMutable(); supply_.remove(index); onChanged(); } else { supplyBuilder_.remove(index); } return this; } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getSupplyBuilder( int index) { return getSupplyFieldBuilder().getBuilder(index); } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getSupplyOrBuilder( int index) { if (supplyBuilder_ == null) { return supply_.get(index); } else { return supplyBuilder_.getMessageOrBuilder(index); } } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getSupplyOrBuilderList() { if (supplyBuilder_ != null) { return supplyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(supply_); } } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addSupplyBuilder() { return getSupplyFieldBuilder().addBuilder( cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder addSupplyBuilder( int index) { return getSupplyFieldBuilder().addBuilder( index, cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance()); } /** *
       * supply is the supply of the coins
       * 
* * repeated .cosmos.base.v1beta1.Coin supply = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; */ public java.util.List getSupplyBuilderList() { return getSupplyFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getSupplyFieldBuilder() { if (supplyBuilder_ == null) { supplyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( supply_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); supply_ = null; } return supplyBuilder_; } @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.bank.v1beta1.QueryTotalSupplyResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryTotalSupplyResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryTotalSupplyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryTotalSupplyResponse(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.bank.v1beta1.QueryOuterClass.QueryTotalSupplyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QuerySupplyOfRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QuerySupplyOfRequest) com.google.protobuf.MessageOrBuilder { /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 1; */ java.lang.String getDenom(); /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 1; */ com.google.protobuf.ByteString getDenomBytes(); } /** *
   * QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QuerySupplyOfRequest} */ public static final class QuerySupplyOfRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QuerySupplyOfRequest) QuerySupplyOfRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QuerySupplyOfRequest.newBuilder() to construct. private QuerySupplyOfRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QuerySupplyOfRequest() { denom_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QuerySupplyOfRequest( 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(); denom_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.Builder.class); } public static final int DENOM_FIELD_NUMBER = 1; private volatile java.lang.Object denom_; /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 1; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; 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(); denom_ = s; return s; } } /** *
     * denom is the coin denom to query balances for.
     * 
* * string denom = 1; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = 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 (!getDenomBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, denom_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDenomBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, denom_); } 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest) obj; boolean result = true; result = result && getDenom() .equals(other.getDenom()); 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) + DENOM_FIELD_NUMBER; hash = (53 * hash) + getDenom().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest 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; } /** *
     * QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QuerySupplyOfRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QuerySupplyOfRequest) cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.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(); denom_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest(this); result.denom_ = denom_; 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest.getDefaultInstance()) return this; if (!other.getDenom().isEmpty()) { denom_ = other.denom_; 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object denom_ = ""; /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 1; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denom_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 1; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 1; */ public Builder setDenom( java.lang.String value) { if (value == null) { throw new NullPointerException(); } denom_ = value; onChanged(); return this; } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 1; */ public Builder clearDenom() { denom_ = getDefaultInstance().getDenom(); onChanged(); return this; } /** *
       * denom is the coin denom to query balances for.
       * 
* * string denom = 1; */ public Builder setDenomBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); denom_ = 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.bank.v1beta1.QuerySupplyOfRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QuerySupplyOfRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QuerySupplyOfRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QuerySupplyOfRequest(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.bank.v1beta1.QueryOuterClass.QuerySupplyOfRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QuerySupplyOfResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QuerySupplyOfResponse) com.google.protobuf.MessageOrBuilder { /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ boolean hasAmount(); /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ cosmos.base.v1beta1.CoinOuterClass.Coin getAmount(); /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder(); } /** *
   * QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QuerySupplyOfResponse} */ public static final class QuerySupplyOfResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QuerySupplyOfResponse) QuerySupplyOfResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QuerySupplyOfResponse.newBuilder() to construct. private QuerySupplyOfResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QuerySupplyOfResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QuerySupplyOfResponse( 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.v1beta1.CoinOuterClass.Coin.Builder subBuilder = null; if (amount_ != null) { subBuilder = amount_.toBuilder(); } amount_ = input.readMessage(cosmos.base.v1beta1.CoinOuterClass.Coin.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(amount_); amount_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.Builder.class); } public static final int AMOUNT_FIELD_NUMBER = 1; private cosmos.base.v1beta1.CoinOuterClass.Coin amount_; /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public boolean hasAmount() { return amount_ != null; } /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getAmount() { return amount_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : amount_; } /** *
     * amount is the supply of the coin.
     * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder() { return getAmount(); } 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 (amount_ != null) { output.writeMessage(1, getAmount()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (amount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAmount()); } 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse) obj; boolean result = true; result = result && (hasAmount() == other.hasAmount()); if (hasAmount()) { result = result && getAmount() .equals(other.getAmount()); } 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 (hasAmount()) { hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + getAmount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse 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; } /** *
     * QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QuerySupplyOfResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QuerySupplyOfResponse) cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.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 (amountBuilder_ == null) { amount_ = null; } else { amount_ = null; amountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse(this); if (amountBuilder_ == null) { result.amount_ = amount_; } else { result.amount_ = amountBuilder_.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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse.getDefaultInstance()) return this; if (other.hasAmount()) { mergeAmount(other.getAmount()); } 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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.v1beta1.CoinOuterClass.Coin amount_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> amountBuilder_; /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public boolean hasAmount() { return amountBuilder_ != null || amount_ != null; } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin getAmount() { if (amountBuilder_ == null) { return amount_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : amount_; } else { return amountBuilder_.getMessage(); } } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public Builder setAmount(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (amountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } amount_ = value; onChanged(); } else { amountBuilder_.setMessage(value); } return this; } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public Builder setAmount( cosmos.base.v1beta1.CoinOuterClass.Coin.Builder builderForValue) { if (amountBuilder_ == null) { amount_ = builderForValue.build(); onChanged(); } else { amountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeAmount(cosmos.base.v1beta1.CoinOuterClass.Coin value) { if (amountBuilder_ == null) { if (amount_ != null) { amount_ = cosmos.base.v1beta1.CoinOuterClass.Coin.newBuilder(amount_).mergeFrom(value).buildPartial(); } else { amount_ = value; } onChanged(); } else { amountBuilder_.mergeFrom(value); } return this; } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public Builder clearAmount() { if (amountBuilder_ == null) { amount_ = null; onChanged(); } else { amount_ = null; amountBuilder_ = null; } return this; } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public cosmos.base.v1beta1.CoinOuterClass.Coin.Builder getAmountBuilder() { onChanged(); return getAmountFieldBuilder().getBuilder(); } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ public cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder getAmountOrBuilder() { if (amountBuilder_ != null) { return amountBuilder_.getMessageOrBuilder(); } else { return amount_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : amount_; } } /** *
       * amount is the supply of the coin.
       * 
* * .cosmos.base.v1beta1.Coin amount = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.v1beta1.CoinOuterClass.Coin, cosmos.base.v1beta1.CoinOuterClass.Coin.Builder, cosmos.base.v1beta1.CoinOuterClass.CoinOrBuilder>( getAmount(), getParentForChildren(), isClean()); amount_ = null; } return amountBuilder_; } @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.bank.v1beta1.QuerySupplyOfResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QuerySupplyOfResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QuerySupplyOfResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QuerySupplyOfResponse(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.bank.v1beta1.QueryOuterClass.QuerySupplyOfResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryParamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryParamsRequest) com.google.protobuf.MessageOrBuilder { } /** *
   * QueryParamsRequest defines the request type for querying x/bank parameters.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryParamsRequest} */ public static final class QueryParamsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryParamsRequest) QueryParamsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryParamsRequest.newBuilder() to construct. private QueryParamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryParamsRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryParamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest 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.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest 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.bank.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest 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.bank.v1beta1.QueryOuterClass.QueryParamsRequest 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; } /** *
     * QueryParamsRequest defines the request type for querying x/bank parameters.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryParamsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryParamsRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.bank.v1beta1.QueryParamsRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryParamsRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryParamsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryParamsRequest(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.bank.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryParamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryParamsResponse) com.google.protobuf.MessageOrBuilder { /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ boolean hasParams(); /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.Params getParams(); /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.ParamsOrBuilder getParamsOrBuilder(); } /** *
   * QueryParamsResponse defines the response type for querying x/bank parameters.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryParamsResponse} */ public static final class QueryParamsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryParamsResponse) QueryParamsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryParamsResponse.newBuilder() to construct. private QueryParamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryParamsResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryParamsResponse( 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.bank.v1beta1.Bank.Params.Builder subBuilder = null; if (params_ != null) { subBuilder = params_.toBuilder(); } params_ = input.readMessage(cosmos.bank.v1beta1.Bank.Params.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(params_); params_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class); } public static final int PARAMS_FIELD_NUMBER = 1; private cosmos.bank.v1beta1.Bank.Params params_; /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public boolean hasParams() { return params_ != null; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Params getParams() { return params_ == null ? cosmos.bank.v1beta1.Bank.Params.getDefaultInstance() : params_; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.ParamsOrBuilder getParamsOrBuilder() { return getParams(); } 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 (params_ != null) { output.writeMessage(1, getParams()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (params_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getParams()); } 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.bank.v1beta1.QueryOuterClass.QueryParamsResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse) obj; boolean result = true; result = result && (hasParams() == other.hasParams()); if (hasParams()) { result = result && getParams() .equals(other.getParams()); } 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 (hasParams()) { hash = (37 * hash) + PARAMS_FIELD_NUMBER; hash = (53 * hash) + getParams().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse 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.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse 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.bank.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse 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.bank.v1beta1.QueryOuterClass.QueryParamsResponse 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; } /** *
     * QueryParamsResponse defines the response type for querying x/bank parameters.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryParamsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryParamsResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.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 (paramsBuilder_ == null) { params_ = null; } else { params_ = null; paramsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse(this); if (paramsBuilder_ == null) { result.params_ = params_; } else { result.params_ = paramsBuilder_.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.bank.v1beta1.QueryOuterClass.QueryParamsResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance()) return this; if (other.hasParams()) { mergeParams(other.getParams()); } 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.bank.v1beta1.QueryOuterClass.QueryParamsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.bank.v1beta1.Bank.Params params_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Params, cosmos.bank.v1beta1.Bank.Params.Builder, cosmos.bank.v1beta1.Bank.ParamsOrBuilder> paramsBuilder_; /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public boolean hasParams() { return paramsBuilder_ != null || params_ != null; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Params getParams() { if (paramsBuilder_ == null) { return params_ == null ? cosmos.bank.v1beta1.Bank.Params.getDefaultInstance() : params_; } else { return paramsBuilder_.getMessage(); } } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder setParams(cosmos.bank.v1beta1.Bank.Params value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } params_ = value; onChanged(); } else { paramsBuilder_.setMessage(value); } return this; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder setParams( cosmos.bank.v1beta1.Bank.Params.Builder builderForValue) { if (paramsBuilder_ == null) { params_ = builderForValue.build(); onChanged(); } else { paramsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeParams(cosmos.bank.v1beta1.Bank.Params value) { if (paramsBuilder_ == null) { if (params_ != null) { params_ = cosmos.bank.v1beta1.Bank.Params.newBuilder(params_).mergeFrom(value).buildPartial(); } else { params_ = value; } onChanged(); } else { paramsBuilder_.mergeFrom(value); } return this; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = null; onChanged(); } else { params_ = null; paramsBuilder_ = null; } return this; } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Params.Builder getParamsBuilder() { onChanged(); return getParamsFieldBuilder().getBuilder(); } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.ParamsOrBuilder getParamsOrBuilder() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilder(); } else { return params_ == null ? cosmos.bank.v1beta1.Bank.Params.getDefaultInstance() : params_; } } /** * .cosmos.bank.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Params, cosmos.bank.v1beta1.Bank.Params.Builder, cosmos.bank.v1beta1.Bank.ParamsOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Params, cosmos.bank.v1beta1.Bank.Params.Builder, cosmos.bank.v1beta1.Bank.ParamsOrBuilder>( getParams(), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } @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.bank.v1beta1.QueryParamsResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryParamsResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryParamsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryParamsResponse(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.bank.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomsMetadataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryDenomsMetadataRequest) com.google.protobuf.MessageOrBuilder { /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ boolean hasPagination(); /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ cosmos.base.query.v1beta1.Pagination.PageRequest getPagination(); /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder(); } /** *
   * QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomsMetadataRequest} */ public static final class QueryDenomsMetadataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryDenomsMetadataRequest) QueryDenomsMetadataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomsMetadataRequest.newBuilder() to construct. private QueryDenomsMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomsMetadataRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomsMetadataRequest( 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.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.Builder.class); } public static final int PAGINATION_FIELD_NUMBER = 1; private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } /** *
     * pagination defines an optional pagination for the request.
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 (pagination_ != null) { output.writeMessage(1, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest) obj; boolean result = true; result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } 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 (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest 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; } /** *
     * QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomsMetadataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryDenomsMetadataRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.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 (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest(this); if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest.getDefaultInstance()) return this; if (other.hasPagination()) { mergePagination(other.getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_; /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } } /** *
       * pagination defines an optional pagination for the request.
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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.bank.v1beta1.QueryDenomsMetadataRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryDenomsMetadataRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomsMetadataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomsMetadataRequest(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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomsMetadataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryDenomsMetadataResponse) com.google.protobuf.MessageOrBuilder { /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ java.util.List getMetadatasList(); /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.Metadata getMetadatas(int index); /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ int getMetadatasCount(); /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ java.util.List getMetadatasOrBuilderList(); /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadatasOrBuilder( int index); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ boolean hasPagination(); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageResponse getPagination(); /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder(); } /** *
   * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
   * method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomsMetadataResponse} */ public static final class QueryDenomsMetadataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryDenomsMetadataResponse) QueryDenomsMetadataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomsMetadataResponse.newBuilder() to construct. private QueryDenomsMetadataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomsMetadataResponse() { metadatas_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomsMetadataResponse( 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)) { metadatas_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } metadatas_.add( input.readMessage(cosmos.bank.v1beta1.Bank.Metadata.parser(), extensionRegistry)); break; } case 18: { cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { metadatas_ = java.util.Collections.unmodifiableList(metadatas_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.Builder.class); } private int bitField0_; public static final int METADATAS_FIELD_NUMBER = 1; private java.util.List metadatas_; /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getMetadatasList() { return metadatas_; } /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getMetadatasOrBuilderList() { return metadatas_; } /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public int getMetadatasCount() { return metadatas_.size(); } /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata getMetadatas(int index) { return metadatas_.get(index); } /** *
     * metadata provides the client information for all the registered tokens.
     * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadatasOrBuilder( int index) { return metadatas_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } /** *
     * pagination defines the pagination in the response.
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { return getPagination(); } 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 < metadatas_.size(); i++) { output.writeMessage(1, metadatas_.get(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < metadatas_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, metadatas_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse) obj; boolean result = true; result = result && getMetadatasList() .equals(other.getMetadatasList()); result = result && (hasPagination() == other.hasPagination()); if (hasPagination()) { result = result && getPagination() .equals(other.getPagination()); } 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 (getMetadatasCount() > 0) { hash = (37 * hash) + METADATAS_FIELD_NUMBER; hash = (53 * hash) + getMetadatasList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse 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; } /** *
     * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
     * method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomsMetadataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryDenomsMetadataResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMetadatasFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (metadatasBuilder_ == null) { metadatas_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { metadatasBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (metadatasBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { metadatas_ = java.util.Collections.unmodifiableList(metadatas_); bitField0_ = (bitField0_ & ~0x00000001); } result.metadatas_ = metadatas_; } else { result.metadatas_ = metadatasBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse.getDefaultInstance()) return this; if (metadatasBuilder_ == null) { if (!other.metadatas_.isEmpty()) { if (metadatas_.isEmpty()) { metadatas_ = other.metadatas_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMetadatasIsMutable(); metadatas_.addAll(other.metadatas_); } onChanged(); } } else { if (!other.metadatas_.isEmpty()) { if (metadatasBuilder_.isEmpty()) { metadatasBuilder_.dispose(); metadatasBuilder_ = null; metadatas_ = other.metadatas_; bitField0_ = (bitField0_ & ~0x00000001); metadatasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMetadatasFieldBuilder() : null; } else { metadatasBuilder_.addAllMessages(other.metadatas_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } 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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List metadatas_ = java.util.Collections.emptyList(); private void ensureMetadatasIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { metadatas_ = new java.util.ArrayList(metadatas_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder> metadatasBuilder_; /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getMetadatasList() { if (metadatasBuilder_ == null) { return java.util.Collections.unmodifiableList(metadatas_); } else { return metadatasBuilder_.getMessageList(); } } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public int getMetadatasCount() { if (metadatasBuilder_ == null) { return metadatas_.size(); } else { return metadatasBuilder_.getCount(); } } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata getMetadatas(int index) { if (metadatasBuilder_ == null) { return metadatas_.get(index); } else { return metadatasBuilder_.getMessage(index); } } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder setMetadatas( int index, cosmos.bank.v1beta1.Bank.Metadata value) { if (metadatasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadatasIsMutable(); metadatas_.set(index, value); onChanged(); } else { metadatasBuilder_.setMessage(index, value); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder setMetadatas( int index, cosmos.bank.v1beta1.Bank.Metadata.Builder builderForValue) { if (metadatasBuilder_ == null) { ensureMetadatasIsMutable(); metadatas_.set(index, builderForValue.build()); onChanged(); } else { metadatasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder addMetadatas(cosmos.bank.v1beta1.Bank.Metadata value) { if (metadatasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadatasIsMutable(); metadatas_.add(value); onChanged(); } else { metadatasBuilder_.addMessage(value); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder addMetadatas( int index, cosmos.bank.v1beta1.Bank.Metadata value) { if (metadatasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadatasIsMutable(); metadatas_.add(index, value); onChanged(); } else { metadatasBuilder_.addMessage(index, value); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder addMetadatas( cosmos.bank.v1beta1.Bank.Metadata.Builder builderForValue) { if (metadatasBuilder_ == null) { ensureMetadatasIsMutable(); metadatas_.add(builderForValue.build()); onChanged(); } else { metadatasBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder addMetadatas( int index, cosmos.bank.v1beta1.Bank.Metadata.Builder builderForValue) { if (metadatasBuilder_ == null) { ensureMetadatasIsMutable(); metadatas_.add(index, builderForValue.build()); onChanged(); } else { metadatasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder addAllMetadatas( java.lang.Iterable values) { if (metadatasBuilder_ == null) { ensureMetadatasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, metadatas_); onChanged(); } else { metadatasBuilder_.addAllMessages(values); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder clearMetadatas() { if (metadatasBuilder_ == null) { metadatas_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { metadatasBuilder_.clear(); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public Builder removeMetadatas(int index) { if (metadatasBuilder_ == null) { ensureMetadatasIsMutable(); metadatas_.remove(index); onChanged(); } else { metadatasBuilder_.remove(index); } return this; } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata.Builder getMetadatasBuilder( int index) { return getMetadatasFieldBuilder().getBuilder(index); } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadatasOrBuilder( int index) { if (metadatasBuilder_ == null) { return metadatas_.get(index); } else { return metadatasBuilder_.getMessageOrBuilder(index); } } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getMetadatasOrBuilderList() { if (metadatasBuilder_ != null) { return metadatasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(metadatas_); } } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata.Builder addMetadatasBuilder() { return getMetadatasFieldBuilder().addBuilder( cosmos.bank.v1beta1.Bank.Metadata.getDefaultInstance()); } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata.Builder addMetadatasBuilder( int index) { return getMetadatasFieldBuilder().addBuilder( index, cosmos.bank.v1beta1.Bank.Metadata.getDefaultInstance()); } /** *
       * metadata provides the client information for all the registered tokens.
       * 
* * repeated .cosmos.bank.v1beta1.Metadata metadatas = 1 [(.gogoproto.nullable) = false]; */ public java.util.List getMetadatasBuilderList() { return getMetadatasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder> getMetadatasFieldBuilder() { if (metadatasBuilder_ == null) { metadatasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder>( metadatas_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); metadatas_ = null; } return metadatasBuilder_; } private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_; /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination( cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } } /** *
       * pagination defines the pagination in the response.
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @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.bank.v1beta1.QueryDenomsMetadataResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryDenomsMetadataResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomsMetadataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomsMetadataResponse(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.bank.v1beta1.QueryOuterClass.QueryDenomsMetadataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomMetadataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryDenomMetadataRequest) com.google.protobuf.MessageOrBuilder { /** *
     * denom is the coin denom to query the metadata for.
     * 
* * string denom = 1; */ java.lang.String getDenom(); /** *
     * denom is the coin denom to query the metadata for.
     * 
* * string denom = 1; */ com.google.protobuf.ByteString getDenomBytes(); } /** *
   * QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomMetadataRequest} */ public static final class QueryDenomMetadataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryDenomMetadataRequest) QueryDenomMetadataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomMetadataRequest.newBuilder() to construct. private QueryDenomMetadataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomMetadataRequest() { denom_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomMetadataRequest( 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(); denom_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.Builder.class); } public static final int DENOM_FIELD_NUMBER = 1; private volatile java.lang.Object denom_; /** *
     * denom is the coin denom to query the metadata for.
     * 
* * string denom = 1; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; 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(); denom_ = s; return s; } } /** *
     * denom is the coin denom to query the metadata for.
     * 
* * string denom = 1; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = 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 (!getDenomBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, denom_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDenomBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, denom_); } 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest other = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest) obj; boolean result = true; result = result && getDenom() .equals(other.getDenom()); 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) + DENOM_FIELD_NUMBER; hash = (53 * hash) + getDenom().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest 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; } /** *
     * QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomMetadataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryDenomMetadataRequest) cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.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(); denom_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest build() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest result = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest(this); result.denom_ = denom_; 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest.getDefaultInstance()) return this; if (!other.getDenom().isEmpty()) { denom_ = other.denom_; 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object denom_ = ""; /** *
       * denom is the coin denom to query the metadata for.
       * 
* * string denom = 1; */ public java.lang.String getDenom() { java.lang.Object ref = denom_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denom_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * denom is the coin denom to query the metadata for.
       * 
* * string denom = 1; */ public com.google.protobuf.ByteString getDenomBytes() { java.lang.Object ref = denom_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); denom_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * denom is the coin denom to query the metadata for.
       * 
* * string denom = 1; */ public Builder setDenom( java.lang.String value) { if (value == null) { throw new NullPointerException(); } denom_ = value; onChanged(); return this; } /** *
       * denom is the coin denom to query the metadata for.
       * 
* * string denom = 1; */ public Builder clearDenom() { denom_ = getDefaultInstance().getDenom(); onChanged(); return this; } /** *
       * denom is the coin denom to query the metadata for.
       * 
* * string denom = 1; */ public Builder setDenomBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); denom_ = 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.bank.v1beta1.QueryDenomMetadataRequest) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryDenomMetadataRequest) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomMetadataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomMetadataRequest(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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomMetadataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.bank.v1beta1.QueryDenomMetadataResponse) com.google.protobuf.MessageOrBuilder { /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ boolean hasMetadata(); /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.Metadata getMetadata(); /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadataOrBuilder(); } /** *
   * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
   * method.
   * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomMetadataResponse} */ public static final class QueryDenomMetadataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.bank.v1beta1.QueryDenomMetadataResponse) QueryDenomMetadataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomMetadataResponse.newBuilder() to construct. private QueryDenomMetadataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomMetadataResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomMetadataResponse( 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.bank.v1beta1.Bank.Metadata.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(cosmos.bank.v1beta1.Bank.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metadata_); metadata_ = 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.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.Builder.class); } public static final int METADATA_FIELD_NUMBER = 1; private cosmos.bank.v1beta1.Bank.Metadata metadata_; /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public boolean hasMetadata() { return metadata_ != null; } /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata getMetadata() { return metadata_ == null ? cosmos.bank.v1beta1.Bank.Metadata.getDefaultInstance() : metadata_; } /** *
     * metadata describes and provides all the client information for the requested token.
     * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadataOrBuilder() { return getMetadata(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (metadata_ != null) { output.writeMessage(1, getMetadata()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMetadata()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse)) { return super.equals(obj); } cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse other = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse) obj; boolean result = true; result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() .equals(other.getMetadata()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse 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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse 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; } /** *
     * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
     * method.
     * 
* * Protobuf type {@code cosmos.bank.v1beta1.QueryDenomMetadataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.bank.v1beta1.QueryDenomMetadataResponse) cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.class, cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.Builder.class); } // Construct using cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.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 (metadataBuilder_ == null) { metadata_ = null; } else { metadata_ = null; metadataBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.bank.v1beta1.QueryOuterClass.internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse getDefaultInstanceForType() { return cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.getDefaultInstance(); } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse build() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse buildPartial() { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse result = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse(this); if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse) { return mergeFrom((cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse other) { if (other == cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cosmos.bank.v1beta1.Bank.Metadata metadata_ = null; private com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder> metadataBuilder_; /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? cosmos.bank.v1beta1.Bank.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public Builder setMetadata(cosmos.bank.v1beta1.Bank.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } return this; } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public Builder setMetadata( cosmos.bank.v1beta1.Bank.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeMetadata(cosmos.bank.v1beta1.Bank.Metadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = cosmos.bank.v1beta1.Bank.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } return this; } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadata_ = null; metadataBuilder_ = null; } return this; } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.Metadata.Builder getMetadataBuilder() { onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ public cosmos.bank.v1beta1.Bank.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? cosmos.bank.v1beta1.Bank.Metadata.getDefaultInstance() : metadata_; } } /** *
       * metadata describes and provides all the client information for the requested token.
       * 
* * .cosmos.bank.v1beta1.Metadata metadata = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cosmos.bank.v1beta1.Bank.Metadata, cosmos.bank.v1beta1.Bank.Metadata.Builder, cosmos.bank.v1beta1.Bank.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } @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.bank.v1beta1.QueryDenomMetadataResponse) } // @@protoc_insertion_point(class_scope:cosmos.bank.v1beta1.QueryDenomMetadataResponse) private static final cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse(); } public static cosmos.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomMetadataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomMetadataResponse(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.bank.v1beta1.QueryOuterClass.QueryDenomMetadataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryParamsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryParamsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_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\037cosmos/bank/v1beta1/query.proto\022\023cosmo" + "s.bank.v1beta1\032*cosmos/base/query/v1beta" + "1/pagination.proto\032\024gogoproto/gogo.proto" + "\032\034google/api/annotations.proto\032\036cosmos/b" + "ase/v1beta1/coin.proto\032\036cosmos/bank/v1be" + "ta1/bank.proto\"?\n\023QueryBalanceRequest\022\017\n" + "\007address\030\001 \001(\t\022\r\n\005denom\030\002 \001(\t:\010\350\240\037\000\210\240\037\000\"" + "B\n\024QueryBalanceResponse\022*\n\007balance\030\001 \001(\013" + "2\031.cosmos.base.v1beta1.Coin\"p\n\027QueryAllB" + "alancesRequest\022\017\n\007address\030\001 \001(\t\022:\n\npagin" + "ation\030\002 \001(\0132&.cosmos.base.query.v1beta1." + "PageRequest:\010\350\240\037\000\210\240\037\000\"\266\001\n\030QueryAllBalanc" + "esResponse\022]\n\010balances\030\001 \003(\0132\031.cosmos.ba" + "se.v1beta1.CoinB0\310\336\037\000\252\337\037(github.com/cosm" + "os/cosmos-sdk/types.Coins\022;\n\npagination\030" + "\002 \001(\0132\'.cosmos.base.query.v1beta1.PageRe" + "sponse\"\031\n\027QueryTotalSupplyRequest\"w\n\030Que" + "ryTotalSupplyResponse\022[\n\006supply\030\001 \003(\0132\031." + "cosmos.base.v1beta1.CoinB0\310\336\037\000\252\337\037(github" + ".com/cosmos/cosmos-sdk/types.Coins\"%\n\024Qu" + "erySupplyOfRequest\022\r\n\005denom\030\001 \001(\t\"H\n\025Que" + "rySupplyOfResponse\022/\n\006amount\030\001 \001(\0132\031.cos" + "mos.base.v1beta1.CoinB\004\310\336\037\000\"\024\n\022QueryPara" + "msRequest\"H\n\023QueryParamsResponse\0221\n\006para" + "ms\030\001 \001(\0132\033.cosmos.bank.v1beta1.ParamsB\004\310" + "\336\037\000\"X\n\032QueryDenomsMetadataRequest\022:\n\npag" + "ination\030\001 \001(\0132&.cosmos.base.query.v1beta" + "1.PageRequest\"\222\001\n\033QueryDenomsMetadataRes" + "ponse\0226\n\tmetadatas\030\001 \003(\0132\035.cosmos.bank.v" + "1beta1.MetadataB\004\310\336\037\000\022;\n\npagination\030\002 \001(" + "\0132\'.cosmos.base.query.v1beta1.PageRespon" + "se\"*\n\031QueryDenomMetadataRequest\022\r\n\005denom" + "\030\001 \001(\t\"S\n\032QueryDenomMetadataResponse\0225\n\010" + "metadata\030\001 \001(\0132\035.cosmos.bank.v1beta1.Met" + "adataB\004\310\336\037\0002\262\010\n\005Query\022\227\001\n\007Balance\022(.cosm" + "os.bank.v1beta1.QueryBalanceRequest\032).co" + "smos.bank.v1beta1.QueryBalanceResponse\"7" + "\202\323\344\223\0021\022//cosmos/bank/v1beta1/balances/{a" + "ddress}/{denom}\022\233\001\n\013AllBalances\022,.cosmos" + ".bank.v1beta1.QueryAllBalancesRequest\032-." + "cosmos.bank.v1beta1.QueryAllBalancesResp" + "onse\"/\202\323\344\223\002)\022\'/cosmos/bank/v1beta1/balan" + "ces/{address}\022\217\001\n\013TotalSupply\022,.cosmos.b" + "ank.v1beta1.QueryTotalSupplyRequest\032-.co" + "smos.bank.v1beta1.QueryTotalSupplyRespon" + "se\"#\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/supply\022" + "\216\001\n\010SupplyOf\022).cosmos.bank.v1beta1.Query" + "SupplyOfRequest\032*.cosmos.bank.v1beta1.Qu" + "erySupplyOfResponse\"+\202\323\344\223\002%\022#/cosmos/ban" + "k/v1beta1/supply/{denom}\022\200\001\n\006Params\022\'.co" + "smos.bank.v1beta1.QueryParamsRequest\032(.c" + "osmos.bank.v1beta1.QueryParamsResponse\"#" + "\202\323\344\223\002\035\022\033/cosmos/bank/v1beta1/params\022\246\001\n\r" + "DenomMetadata\022..cosmos.bank.v1beta1.Quer" + "yDenomMetadataRequest\032/.cosmos.bank.v1be" + "ta1.QueryDenomMetadataResponse\"4\202\323\344\223\002.\022," + "/cosmos/bank/v1beta1/denoms_metadata/{de" + "nom}\022\241\001\n\016DenomsMetadata\022/.cosmos.bank.v1" + "beta1.QueryDenomsMetadataRequest\0320.cosmo" + "s.bank.v1beta1.QueryDenomsMetadataRespon" + "se\",\202\323\344\223\002&\022$/cosmos/bank/v1beta1/denoms_" + "metadataB+Z)github.com/cosmos/cosmos-sdk" + "/x/bank/typesb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cosmos.base.query.v1beta1.Pagination.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), cosmos.base.v1beta1.CoinOuterClass.getDescriptor(), cosmos.bank.v1beta1.Bank.getDescriptor(), }, assigner); internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryBalanceRequest_descriptor, new java.lang.String[] { "Address", "Denom", }); internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryBalanceResponse_descriptor, new java.lang.String[] { "Balance", }); internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryAllBalancesRequest_descriptor, new java.lang.String[] { "Address", "Pagination", }); internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryAllBalancesResponse_descriptor, new java.lang.String[] { "Balances", "Pagination", }); internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryTotalSupplyRequest_descriptor, new java.lang.String[] { }); internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryTotalSupplyResponse_descriptor, new java.lang.String[] { "Supply", }); internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QuerySupplyOfRequest_descriptor, new java.lang.String[] { "Denom", }); internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QuerySupplyOfResponse_descriptor, new java.lang.String[] { "Amount", }); internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cosmos_bank_v1beta1_QueryParamsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryParamsRequest_descriptor, new java.lang.String[] { }); internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cosmos_bank_v1beta1_QueryParamsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryParamsResponse_descriptor, new java.lang.String[] { "Params", }); internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataRequest_descriptor, new java.lang.String[] { "Pagination", }); internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryDenomsMetadataResponse_descriptor, new java.lang.String[] { "Metadatas", "Pagination", }); internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryDenomMetadataRequest_descriptor, new java.lang.String[] { "Denom", }); internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_bank_v1beta1_QueryDenomMetadataResponse_descriptor, new java.lang.String[] { "Metadata", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.castrepeated); registry.add(com.google.protobuf.GoGoProtos.equal); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); cosmos.base.query.v1beta1.Pagination.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); cosmos.base.v1beta1.CoinOuterClass.getDescriptor(); cosmos.bank.v1beta1.Bank.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy