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

ibc.applications.transfer.v1.QueryOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ibc/applications/transfer/v1/query.proto

package ibc.applications.transfer.v1;

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 QueryDenomTraceRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryDenomTraceRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * hash (in hex format) of the denomination trace information.
     * 
* * string hash = 1; */ java.lang.String getHash(); /** *
     * hash (in hex format) of the denomination trace information.
     * 
* * string hash = 1; */ com.google.protobuf.ByteString getHashBytes(); } /** *
   * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC
   * method
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTraceRequest} */ public static final class QueryDenomTraceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.QueryDenomTraceRequest) QueryDenomTraceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomTraceRequest.newBuilder() to construct. private QueryDenomTraceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomTraceRequest() { hash_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomTraceRequest( 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(); hash_ = 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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.Builder.class); } public static final int HASH_FIELD_NUMBER = 1; private volatile java.lang.Object hash_; /** *
     * hash (in hex format) of the denomination trace information.
     * 
* * string hash = 1; */ public java.lang.String getHash() { java.lang.Object ref = hash_; 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(); hash_ = s; return s; } } /** *
     * hash (in hex format) of the denomination trace information.
     * 
* * string hash = 1; */ public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hash_ = 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 (!getHashBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getHashBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hash_); } 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest other = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest) obj; boolean result = true; result = result && getHash() .equals(other.getHash()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HASH_FIELD_NUMBER; hash = (53 * hash) + getHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest 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(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest 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; } /** *
     * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC
     * method
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTraceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryDenomTraceRequest) ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.Builder.class); } // Construct using ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.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(); hash_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest build() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest result = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest(this); result.hash_ = hash_; 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest other) { if (other == ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest.getDefaultInstance()) return this; if (!other.getHash().isEmpty()) { hash_ = other.hash_; 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 { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object hash_ = ""; /** *
       * hash (in hex format) of the denomination trace information.
       * 
* * string hash = 1; */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * hash (in hex format) of the denomination trace information.
       * 
* * string hash = 1; */ public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * hash (in hex format) of the denomination trace information.
       * 
* * string hash = 1; */ public Builder setHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } hash_ = value; onChanged(); return this; } /** *
       * hash (in hex format) of the denomination trace information.
       * 
* * string hash = 1; */ public Builder clearHash() { hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** *
       * hash (in hex format) of the denomination trace information.
       * 
* * string hash = 1; */ public Builder setHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hash_ = 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:ibc.applications.transfer.v1.QueryDenomTraceRequest) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryDenomTraceRequest) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest(); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomTraceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomTraceRequest(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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomTraceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryDenomTraceResponse) com.google.protobuf.MessageOrBuilder { /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ boolean hasDenomTrace(); /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTrace(); /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTraceOrBuilder(); } /** *
   * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC
   * method.
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTraceResponse} */ public static final class QueryDenomTraceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.QueryDenomTraceResponse) QueryDenomTraceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomTraceResponse.newBuilder() to construct. private QueryDenomTraceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomTraceResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomTraceResponse( 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: { ibc.applications.transfer.v1.Transfer.DenomTrace.Builder subBuilder = null; if (denomTrace_ != null) { subBuilder = denomTrace_.toBuilder(); } denomTrace_ = input.readMessage(ibc.applications.transfer.v1.Transfer.DenomTrace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(denomTrace_); denomTrace_ = 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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.Builder.class); } public static final int DENOM_TRACE_FIELD_NUMBER = 1; private ibc.applications.transfer.v1.Transfer.DenomTrace denomTrace_; /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public boolean hasDenomTrace() { return denomTrace_ != null; } /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTrace() { return denomTrace_ == null ? ibc.applications.transfer.v1.Transfer.DenomTrace.getDefaultInstance() : denomTrace_; } /** *
     * denom_trace returns the requested denomination trace information.
     * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTraceOrBuilder() { return getDenomTrace(); } 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 (denomTrace_ != null) { output.writeMessage(1, getDenomTrace()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (denomTrace_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDenomTrace()); } 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse other = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse) obj; boolean result = true; result = result && (hasDenomTrace() == other.hasDenomTrace()); if (hasDenomTrace()) { result = result && getDenomTrace() .equals(other.getDenomTrace()); } 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 (hasDenomTrace()) { hash = (37 * hash) + DENOM_TRACE_FIELD_NUMBER; hash = (53 * hash) + getDenomTrace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse 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(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse 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; } /** *
     * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC
     * method.
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTraceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryDenomTraceResponse) ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.Builder.class); } // Construct using ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.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 (denomTraceBuilder_ == null) { denomTrace_ = null; } else { denomTrace_ = null; denomTraceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse build() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse result = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse(this); if (denomTraceBuilder_ == null) { result.denomTrace_ = denomTrace_; } else { result.denomTrace_ = denomTraceBuilder_.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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse other) { if (other == ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse.getDefaultInstance()) return this; if (other.hasDenomTrace()) { mergeDenomTrace(other.getDenomTrace()); } 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 { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.applications.transfer.v1.Transfer.DenomTrace denomTrace_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder> denomTraceBuilder_; /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public boolean hasDenomTrace() { return denomTraceBuilder_ != null || denomTrace_ != null; } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTrace() { if (denomTraceBuilder_ == null) { return denomTrace_ == null ? ibc.applications.transfer.v1.Transfer.DenomTrace.getDefaultInstance() : denomTrace_; } else { return denomTraceBuilder_.getMessage(); } } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public Builder setDenomTrace(ibc.applications.transfer.v1.Transfer.DenomTrace value) { if (denomTraceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } denomTrace_ = value; onChanged(); } else { denomTraceBuilder_.setMessage(value); } return this; } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public Builder setDenomTrace( ibc.applications.transfer.v1.Transfer.DenomTrace.Builder builderForValue) { if (denomTraceBuilder_ == null) { denomTrace_ = builderForValue.build(); onChanged(); } else { denomTraceBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public Builder mergeDenomTrace(ibc.applications.transfer.v1.Transfer.DenomTrace value) { if (denomTraceBuilder_ == null) { if (denomTrace_ != null) { denomTrace_ = ibc.applications.transfer.v1.Transfer.DenomTrace.newBuilder(denomTrace_).mergeFrom(value).buildPartial(); } else { denomTrace_ = value; } onChanged(); } else { denomTraceBuilder_.mergeFrom(value); } return this; } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public Builder clearDenomTrace() { if (denomTraceBuilder_ == null) { denomTrace_ = null; onChanged(); } else { denomTrace_ = null; denomTraceBuilder_ = null; } return this; } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public ibc.applications.transfer.v1.Transfer.DenomTrace.Builder getDenomTraceBuilder() { onChanged(); return getDenomTraceFieldBuilder().getBuilder(); } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ public ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTraceOrBuilder() { if (denomTraceBuilder_ != null) { return denomTraceBuilder_.getMessageOrBuilder(); } else { return denomTrace_ == null ? ibc.applications.transfer.v1.Transfer.DenomTrace.getDefaultInstance() : denomTrace_; } } /** *
       * denom_trace returns the requested denomination trace information.
       * 
* * .ibc.applications.transfer.v1.DenomTrace denom_trace = 1; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder> getDenomTraceFieldBuilder() { if (denomTraceBuilder_ == null) { denomTraceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder>( getDenomTrace(), getParentForChildren(), isClean()); denomTrace_ = null; } return denomTraceBuilder_; } @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:ibc.applications.transfer.v1.QueryDenomTraceResponse) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryDenomTraceResponse) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse(); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomTraceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomTraceResponse(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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTraceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomTracesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryDenomTracesRequest) 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(); } /** *
   * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC
   * method
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTracesRequest} */ public static final class QueryDenomTracesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.QueryDenomTracesRequest) QueryDenomTracesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomTracesRequest.newBuilder() to construct. private QueryDenomTracesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomTracesRequest() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomTracesRequest( 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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest other = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest) 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest 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(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest 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; } /** *
     * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC
     * method
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTracesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryDenomTracesRequest) ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.Builder.class); } // Construct using ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest build() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest result = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest(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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest other) { if (other == ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest.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 { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest) 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:ibc.applications.transfer.v1.QueryDenomTracesRequest) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryDenomTracesRequest) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest(); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomTracesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomTracesRequest(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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryDenomTracesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryDenomTracesResponse) com.google.protobuf.MessageOrBuilder { /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ java.util.List getDenomTracesList(); /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTraces(int index); /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ int getDenomTracesCount(); /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ java.util.List getDenomTracesOrBuilderList(); /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTracesOrBuilder( 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(); } /** *
   * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC
   * method.
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTracesResponse} */ public static final class QueryDenomTracesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.QueryDenomTracesResponse) QueryDenomTracesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryDenomTracesResponse.newBuilder() to construct. private QueryDenomTracesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryDenomTracesResponse() { denomTraces_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryDenomTracesResponse( 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)) { denomTraces_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } denomTraces_.add( input.readMessage(ibc.applications.transfer.v1.Transfer.DenomTrace.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)) { denomTraces_ = java.util.Collections.unmodifiableList(denomTraces_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.Builder.class); } private int bitField0_; public static final int DENOM_TRACES_FIELD_NUMBER = 1; private java.util.List denomTraces_; /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public java.util.List getDenomTracesList() { return denomTraces_; } /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public java.util.List getDenomTracesOrBuilderList() { return denomTraces_; } /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public int getDenomTracesCount() { return denomTraces_.size(); } /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTraces(int index) { return denomTraces_.get(index); } /** *
     * denom_traces returns all denominations trace information.
     * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTracesOrBuilder( int index) { return denomTraces_.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 < denomTraces_.size(); i++) { output.writeMessage(1, denomTraces_.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 < denomTraces_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, denomTraces_.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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse other = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse) obj; boolean result = true; result = result && getDenomTracesList() .equals(other.getDenomTracesList()); 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 (getDenomTracesCount() > 0) { hash = (37 * hash) + DENOM_TRACES_FIELD_NUMBER; hash = (53 * hash) + getDenomTracesList().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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse 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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse 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(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse 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; } /** *
     * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC
     * method.
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryDenomTracesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryDenomTracesResponse) ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.Builder.class); } // Construct using ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDenomTracesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (denomTracesBuilder_ == null) { denomTraces_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { denomTracesBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse build() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse result = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (denomTracesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { denomTraces_ = java.util.Collections.unmodifiableList(denomTraces_); bitField0_ = (bitField0_ & ~0x00000001); } result.denomTraces_ = denomTraces_; } else { result.denomTraces_ = denomTracesBuilder_.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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse other) { if (other == ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse.getDefaultInstance()) return this; if (denomTracesBuilder_ == null) { if (!other.denomTraces_.isEmpty()) { if (denomTraces_.isEmpty()) { denomTraces_ = other.denomTraces_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDenomTracesIsMutable(); denomTraces_.addAll(other.denomTraces_); } onChanged(); } } else { if (!other.denomTraces_.isEmpty()) { if (denomTracesBuilder_.isEmpty()) { denomTracesBuilder_.dispose(); denomTracesBuilder_ = null; denomTraces_ = other.denomTraces_; bitField0_ = (bitField0_ & ~0x00000001); denomTracesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDenomTracesFieldBuilder() : null; } else { denomTracesBuilder_.addAllMessages(other.denomTraces_); } } } 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 { ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List denomTraces_ = java.util.Collections.emptyList(); private void ensureDenomTracesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { denomTraces_ = new java.util.ArrayList(denomTraces_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder> denomTracesBuilder_; /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public java.util.List getDenomTracesList() { if (denomTracesBuilder_ == null) { return java.util.Collections.unmodifiableList(denomTraces_); } else { return denomTracesBuilder_.getMessageList(); } } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public int getDenomTracesCount() { if (denomTracesBuilder_ == null) { return denomTraces_.size(); } else { return denomTracesBuilder_.getCount(); } } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTrace getDenomTraces(int index) { if (denomTracesBuilder_ == null) { return denomTraces_.get(index); } else { return denomTracesBuilder_.getMessage(index); } } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder setDenomTraces( int index, ibc.applications.transfer.v1.Transfer.DenomTrace value) { if (denomTracesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenomTracesIsMutable(); denomTraces_.set(index, value); onChanged(); } else { denomTracesBuilder_.setMessage(index, value); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder setDenomTraces( int index, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder builderForValue) { if (denomTracesBuilder_ == null) { ensureDenomTracesIsMutable(); denomTraces_.set(index, builderForValue.build()); onChanged(); } else { denomTracesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder addDenomTraces(ibc.applications.transfer.v1.Transfer.DenomTrace value) { if (denomTracesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenomTracesIsMutable(); denomTraces_.add(value); onChanged(); } else { denomTracesBuilder_.addMessage(value); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder addDenomTraces( int index, ibc.applications.transfer.v1.Transfer.DenomTrace value) { if (denomTracesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenomTracesIsMutable(); denomTraces_.add(index, value); onChanged(); } else { denomTracesBuilder_.addMessage(index, value); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder addDenomTraces( ibc.applications.transfer.v1.Transfer.DenomTrace.Builder builderForValue) { if (denomTracesBuilder_ == null) { ensureDenomTracesIsMutable(); denomTraces_.add(builderForValue.build()); onChanged(); } else { denomTracesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder addDenomTraces( int index, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder builderForValue) { if (denomTracesBuilder_ == null) { ensureDenomTracesIsMutable(); denomTraces_.add(index, builderForValue.build()); onChanged(); } else { denomTracesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder addAllDenomTraces( java.lang.Iterable values) { if (denomTracesBuilder_ == null) { ensureDenomTracesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, denomTraces_); onChanged(); } else { denomTracesBuilder_.addAllMessages(values); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder clearDenomTraces() { if (denomTracesBuilder_ == null) { denomTraces_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { denomTracesBuilder_.clear(); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public Builder removeDenomTraces(int index) { if (denomTracesBuilder_ == null) { ensureDenomTracesIsMutable(); denomTraces_.remove(index); onChanged(); } else { denomTracesBuilder_.remove(index); } return this; } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTrace.Builder getDenomTracesBuilder( int index) { return getDenomTracesFieldBuilder().getBuilder(index); } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder getDenomTracesOrBuilder( int index) { if (denomTracesBuilder_ == null) { return denomTraces_.get(index); } else { return denomTracesBuilder_.getMessageOrBuilder(index); } } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public java.util.List getDenomTracesOrBuilderList() { if (denomTracesBuilder_ != null) { return denomTracesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(denomTraces_); } } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTrace.Builder addDenomTracesBuilder() { return getDenomTracesFieldBuilder().addBuilder( ibc.applications.transfer.v1.Transfer.DenomTrace.getDefaultInstance()); } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public ibc.applications.transfer.v1.Transfer.DenomTrace.Builder addDenomTracesBuilder( int index) { return getDenomTracesFieldBuilder().addBuilder( index, ibc.applications.transfer.v1.Transfer.DenomTrace.getDefaultInstance()); } /** *
       * denom_traces returns all denominations trace information.
       * 
* * repeated .ibc.applications.transfer.v1.DenomTrace denom_traces = 1 [(.gogoproto.nullable) = false, (.gogoproto.castrepeated) = "Traces"]; */ public java.util.List getDenomTracesBuilderList() { return getDenomTracesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder> getDenomTracesFieldBuilder() { if (denomTracesBuilder_ == null) { denomTracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ibc.applications.transfer.v1.Transfer.DenomTrace, ibc.applications.transfer.v1.Transfer.DenomTrace.Builder, ibc.applications.transfer.v1.Transfer.DenomTraceOrBuilder>( denomTraces_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); denomTraces_ = null; } return denomTracesBuilder_; } 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:ibc.applications.transfer.v1.QueryDenomTracesResponse) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryDenomTracesResponse) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse(); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryDenomTracesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryDenomTracesResponse(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 ibc.applications.transfer.v1.QueryOuterClass.QueryDenomTracesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryParamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryParamsRequest) com.google.protobuf.MessageOrBuilder { } /** *
   * QueryParamsRequest is the request type for the Query/Params RPC method.
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryParamsRequest} */ public static final class QueryParamsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest.class, ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest other = (ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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(ibc.applications.transfer.v1.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 is the request type for the Query/Params RPC method.
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryParamsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryParamsRequest) ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest.class, ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest.Builder.class); } // Construct using ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest build() { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest result = new ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest other) { if (other == ibc.applications.transfer.v1.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 { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.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:ibc.applications.transfer.v1.QueryParamsRequest) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryParamsRequest) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest(); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryParamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.applications.transfer.v1.QueryParamsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ boolean hasParams(); /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ ibc.applications.transfer.v1.Transfer.Params getParams(); /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ ibc.applications.transfer.v1.Transfer.ParamsOrBuilder getParamsOrBuilder(); } /** *
   * QueryParamsResponse is the response type for the Query/Params RPC method.
   * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryParamsResponse} */ public static final class QueryParamsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.applications.transfer.v1.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: { ibc.applications.transfer.v1.Transfer.Params.Builder subBuilder = null; if (params_ != null) { subBuilder = params_.toBuilder(); } params_ = input.readMessage(ibc.applications.transfer.v1.Transfer.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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse.Builder.class); } public static final int PARAMS_FIELD_NUMBER = 1; private ibc.applications.transfer.v1.Transfer.Params params_; /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public boolean hasParams() { return params_ != null; } /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public ibc.applications.transfer.v1.Transfer.Params getParams() { return params_ == null ? ibc.applications.transfer.v1.Transfer.Params.getDefaultInstance() : params_; } /** *
     * params defines the parameters of the module.
     * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public ibc.applications.transfer.v1.Transfer.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse)) { return super.equals(obj); } ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse other = (ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.applications.transfer.v1.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(ibc.applications.transfer.v1.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 is the response type for the Query/Params RPC method.
     * 
* * Protobuf type {@code ibc.applications.transfer.v1.QueryParamsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.applications.transfer.v1.QueryParamsResponse) ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse.class, ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse.Builder.class); } // Construct using ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse.getDefaultInstance(); } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse build() { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse buildPartial() { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse result = new ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse) { return mergeFrom((ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse other) { if (other == ibc.applications.transfer.v1.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 { ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.applications.transfer.v1.Transfer.Params params_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.Params, ibc.applications.transfer.v1.Transfer.Params.Builder, ibc.applications.transfer.v1.Transfer.ParamsOrBuilder> paramsBuilder_; /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public boolean hasParams() { return paramsBuilder_ != null || params_ != null; } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public ibc.applications.transfer.v1.Transfer.Params getParams() { if (paramsBuilder_ == null) { return params_ == null ? ibc.applications.transfer.v1.Transfer.Params.getDefaultInstance() : params_; } else { return paramsBuilder_.getMessage(); } } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public Builder setParams(ibc.applications.transfer.v1.Transfer.Params value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } params_ = value; onChanged(); } else { paramsBuilder_.setMessage(value); } return this; } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public Builder setParams( ibc.applications.transfer.v1.Transfer.Params.Builder builderForValue) { if (paramsBuilder_ == null) { params_ = builderForValue.build(); onChanged(); } else { paramsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public Builder mergeParams(ibc.applications.transfer.v1.Transfer.Params value) { if (paramsBuilder_ == null) { if (params_ != null) { params_ = ibc.applications.transfer.v1.Transfer.Params.newBuilder(params_).mergeFrom(value).buildPartial(); } else { params_ = value; } onChanged(); } else { paramsBuilder_.mergeFrom(value); } return this; } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public Builder clearParams() { if (paramsBuilder_ == null) { params_ = null; onChanged(); } else { params_ = null; paramsBuilder_ = null; } return this; } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public ibc.applications.transfer.v1.Transfer.Params.Builder getParamsBuilder() { onChanged(); return getParamsFieldBuilder().getBuilder(); } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ public ibc.applications.transfer.v1.Transfer.ParamsOrBuilder getParamsOrBuilder() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilder(); } else { return params_ == null ? ibc.applications.transfer.v1.Transfer.Params.getDefaultInstance() : params_; } } /** *
       * params defines the parameters of the module.
       * 
* * .ibc.applications.transfer.v1.Params params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.Params, ibc.applications.transfer.v1.Transfer.Params.Builder, ibc.applications.transfer.v1.Transfer.ParamsOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.applications.transfer.v1.Transfer.Params, ibc.applications.transfer.v1.Transfer.Params.Builder, ibc.applications.transfer.v1.Transfer.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:ibc.applications.transfer.v1.QueryParamsResponse) } // @@protoc_insertion_point(class_scope:ibc.applications.transfer.v1.QueryParamsResponse) private static final ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse(); } public static ibc.applications.transfer.v1.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 ibc.applications.transfer.v1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryParamsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_applications_transfer_v1_QueryParamsResponse_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(ibc/applications/transfer/v1/query.pro" + "to\022\034ibc.applications.transfer.v1\032\024gogopr" + "oto/gogo.proto\032*cosmos/base/query/v1beta" + "1/pagination.proto\032+ibc/applications/tra" + "nsfer/v1/transfer.proto\032\034google/api/anno" + "tations.proto\"&\n\026QueryDenomTraceRequest\022" + "\014\n\004hash\030\001 \001(\t\"X\n\027QueryDenomTraceResponse" + "\022=\n\013denom_trace\030\001 \001(\0132(.ibc.applications" + ".transfer.v1.DenomTrace\"U\n\027QueryDenomTra" + "cesRequest\022:\n\npagination\030\001 \001(\0132&.cosmos." + "base.query.v1beta1.PageRequest\"\247\001\n\030Query" + "DenomTracesResponse\022N\n\014denom_traces\030\001 \003(" + "\0132(.ibc.applications.transfer.v1.DenomTr" + "aceB\016\252\337\037\006Traces\310\336\037\000\022;\n\npagination\030\002 \001(\0132" + "\'.cosmos.base.query.v1beta1.PageResponse" + "\"\024\n\022QueryParamsRequest\"K\n\023QueryParamsRes" + "ponse\0224\n\006params\030\001 \001(\0132$.ibc.applications" + ".transfer.v1.Params2\236\004\n\005Query\022\271\001\n\nDenomT" + "race\0224.ibc.applications.transfer.v1.Quer" + "yDenomTraceRequest\0325.ibc.applications.tr" + "ansfer.v1.QueryDenomTraceResponse\">\202\323\344\223\002" + "8\0226/ibc/applications/transfer/v1beta1/de" + "nom_traces/{hash}\022\265\001\n\013DenomTraces\0225.ibc." + "applications.transfer.v1.QueryDenomTrace" + "sRequest\0326.ibc.applications.transfer.v1." + "QueryDenomTracesResponse\"7\202\323\344\223\0021\022//ibc/a" + "pplications/transfer/v1beta1/denom_trace" + "s\022\240\001\n\006Params\0220.ibc.applications.transfer" + ".v1.QueryParamsRequest\0321.ibc.application" + "s.transfer.v1.QueryParamsResponse\"1\202\323\344\223\002" + "+\022)/ibc/applications/transfer/v1beta1/pa" + "ramsB@Z>github.com/cosmos/cosmos-sdk/x/i" + "bc/applications/transfer/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[] { com.google.protobuf.GoGoProtos.getDescriptor(), cosmos.base.query.v1beta1.Pagination.getDescriptor(), ibc.applications.transfer.v1.Transfer.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryDenomTraceRequest_descriptor, new java.lang.String[] { "Hash", }); internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryDenomTraceResponse_descriptor, new java.lang.String[] { "DenomTrace", }); internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryDenomTracesRequest_descriptor, new java.lang.String[] { "Pagination", }); internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryDenomTracesResponse_descriptor, new java.lang.String[] { "DenomTraces", "Pagination", }); internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_ibc_applications_transfer_v1_QueryParamsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryParamsRequest_descriptor, new java.lang.String[] { }); internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_ibc_applications_transfer_v1_QueryParamsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_applications_transfer_v1_QueryParamsResponse_descriptor, new java.lang.String[] { "Params", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.castrepeated); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); cosmos.base.query.v1beta1.Pagination.getDescriptor(); ibc.applications.transfer.v1.Transfer.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy