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

proto.tibc.core.packet.v1.QueryOuterClass Maven / Gradle / Ivy

There is a newer version: 0.13
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tibc/core/packet/v1/query.proto

package proto.tibc.core.packet.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 QueryPacketCommitmentRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketCommitmentRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ long getSequence(); } /** *
   * QueryPacketCommitmentRequest is the request type for the
   * QueryPacketCommitment RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentRequest} */ public static final class QueryPacketCommitmentRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketCommitmentRequest) QueryPacketCommitmentRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketCommitmentRequest.newBuilder() to construct. private QueryPacketCommitmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketCommitmentRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketCommitmentRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketCommitmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 24: { sequence_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCE_FIELD_NUMBER = 3; private long sequence_; /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } 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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (sequence_ != 0L) { output.writeUInt64(3, sequence_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, sequence_); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (getSequence() != other.getSequence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest 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; } /** *
     * QueryPacketCommitmentRequest is the request type for the
     * QueryPacketCommitment RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketCommitmentRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.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(); destChain_ = ""; sourceChain_ = ""; sequence_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; result.sequence_ = sequence_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (other.getSequence() != 0L) { setSequence(other.getSequence()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private long sequence_ ; /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @param value The sequence to set. * @return This builder for chaining. */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return This builder for chaining. */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketCommitmentRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketCommitmentRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketCommitmentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketCommitmentRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketCommitmentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketCommitmentResponse) com.google.protobuf.MessageOrBuilder { /** *
     * packet associated with the request fields
     * 
* * bytes commitment = 1; * @return The commitment. */ com.google.protobuf.ByteString getCommitment(); /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ com.google.protobuf.ByteString getProof(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ boolean hasProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ proto.tibc.core.client.v1.Client.Height getProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); } /** *
   * QueryPacketCommitmentResponse defines the client query response for a packet
   * which also includes a proof and the height from which the proof was
   * retrieved
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentResponse} */ public static final class QueryPacketCommitmentResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketCommitmentResponse) QueryPacketCommitmentResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketCommitmentResponse.newBuilder() to construct. private QueryPacketCommitmentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketCommitmentResponse() { commitment_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketCommitmentResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketCommitmentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { commitment_ = input.readBytes(); break; } case 18: { proof_ = input.readBytes(); break; } case 26: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.Builder.class); } public static final int COMMITMENT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString commitment_; /** *
     * packet associated with the request fields
     * 
* * bytes commitment = 1; * @return The commitment. */ @java.lang.Override public com.google.protobuf.ByteString getCommitment() { return commitment_; } public static final int PROOF_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proof_; /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 3; private proto.tibc.core.client.v1.Client.Height proofHeight_; /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ @java.lang.Override public boolean hasProofHeight() { return proofHeight_ != null; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } 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 (!commitment_.isEmpty()) { output.writeBytes(1, commitment_); } if (!proof_.isEmpty()) { output.writeBytes(2, proof_); } if (proofHeight_ != null) { output.writeMessage(3, getProofHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!commitment_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, commitment_); } if (!proof_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proof_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProofHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse) obj; if (!getCommitment() .equals(other.getCommitment())) return false; if (!getProof() .equals(other.getProof())) return false; if (hasProofHeight() != other.hasProofHeight()) return false; if (hasProofHeight()) { if (!getProofHeight() .equals(other.getProofHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COMMITMENT_FIELD_NUMBER; hash = (53 * hash) + getCommitment().hashCode(); hash = (37 * hash) + PROOF_FIELD_NUMBER; hash = (53 * hash) + getProof().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse 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; } /** *
     * QueryPacketCommitmentResponse defines the client query response for a packet
     * which also includes a proof and the height from which the proof was
     * retrieved
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketCommitmentResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.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(); commitment_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse(this); result.commitment_ = commitment_; result.proof_ = proof_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse.getDefaultInstance()) return this; if (other.getCommitment() != com.google.protobuf.ByteString.EMPTY) { setCommitment(other.getCommitment()); } if (other.getProof() != com.google.protobuf.ByteString.EMPTY) { setProof(other.getProof()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString commitment_ = com.google.protobuf.ByteString.EMPTY; /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @return The commitment. */ @java.lang.Override public com.google.protobuf.ByteString getCommitment() { return commitment_; } /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @param value The commitment to set. * @return This builder for chaining. */ public Builder setCommitment(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } commitment_ = value; onChanged(); return this; } /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @return This builder for chaining. */ public Builder clearCommitment() { commitment_ = getDefaultInstance().getCommitment(); onChanged(); return this; } private com.google.protobuf.ByteString proof_ = com.google.protobuf.ByteString.EMPTY; /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @param value The proof to set. * @return This builder for chaining. */ public Builder setProof(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proof_ = value; onChanged(); return this; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return This builder for chaining. */ public Builder clearProof() { proof_ = getDefaultInstance().getProof(); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height proofHeight_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ public proto.tibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = proto.tibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketCommitmentResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketCommitmentResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketCommitmentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketCommitmentResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketCommitmentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketCommitmentsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ boolean hasPagination(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder(); } /** *
   * QueryPacketCommitmentsRequest is the request type for the
   * Query/QueryPacketCommitments RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentsRequest} */ public static final class QueryPacketCommitmentsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketCommitmentsRequest) QueryPacketCommitmentsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketCommitmentsRequest.newBuilder() to construct. private QueryPacketCommitmentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketCommitmentsRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketCommitmentsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketCommitmentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 26: { proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGINATION_FIELD_NUMBER = 3; private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ @java.lang.Override public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ @java.lang.Override public proto.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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (pagination_ != null) { output.writeMessage(3, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest 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; } /** *
     * QueryPacketCommitmentsRequest is the request type for the
     * Query/QueryPacketCommitments RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketCommitmentsRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.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(); destChain_ = ""; sourceChain_ = ""; if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (other.hasPagination()) { mergePagination(other.getPagination()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_; /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder setPagination(proto.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 request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder setPagination( proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = proto.cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.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.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketCommitmentsRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketCommitmentsRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketCommitmentsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketCommitmentsRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketCommitmentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketCommitmentsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ java.util.List getCommitmentsList(); /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ proto.tibc.core.packet.v1.PacketOuterClass.PacketState getCommitments(int index); /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ int getCommitmentsCount(); /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ java.util.List getCommitmentsOrBuilderList(); /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder( int index); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ boolean hasPagination(); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination(); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ boolean hasHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ proto.tibc.core.client.v1.Client.Height getHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder(); } /** *
   * QueryPacketCommitmentsResponse is the request type for the
   * Query/QueryPacketCommitments RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentsResponse} */ public static final class QueryPacketCommitmentsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketCommitmentsResponse) QueryPacketCommitmentsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketCommitmentsResponse.newBuilder() to construct. private QueryPacketCommitmentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketCommitmentsResponse() { commitments_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketCommitmentsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketCommitmentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { commitments_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } commitments_.add( input.readMessage(proto.tibc.core.packet.v1.PacketOuterClass.PacketState.parser(), extensionRegistry)); break; } case 18: { proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } break; } case 26: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (height_ != null) { subBuilder = height_.toBuilder(); } height_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(height_); height_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { commitments_ = java.util.Collections.unmodifiableList(commitments_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.Builder.class); } public static final int COMMITMENTS_FIELD_NUMBER = 1; private java.util.List commitments_; /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ @java.lang.Override public java.util.List getCommitmentsList() { return commitments_; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ @java.lang.Override public java.util.List getCommitmentsOrBuilderList() { return commitments_; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ @java.lang.Override public int getCommitmentsCount() { return commitments_.size(); } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ @java.lang.Override public proto.tibc.core.packet.v1.PacketOuterClass.PacketState getCommitments(int index) { return commitments_.get(index); } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ @java.lang.Override public proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder( int index) { return commitments_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ @java.lang.Override public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { return getPagination(); } public static final int HEIGHT_FIELD_NUMBER = 3; private proto.tibc.core.client.v1.Client.Height height_; /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ @java.lang.Override public boolean hasHeight() { return height_ != null; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getHeight() { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { return getHeight(); } 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 < commitments_.size(); i++) { output.writeMessage(1, commitments_.get(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } if (height_ != null) { output.writeMessage(3, getHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < commitments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, commitments_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } if (height_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse) obj; if (!getCommitmentsList() .equals(other.getCommitmentsList())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) return false; } if (hasHeight() != other.hasHeight()) return false; if (hasHeight()) { if (!getHeight() .equals(other.getHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getCommitmentsCount() > 0) { hash = (37 * hash) + COMMITMENTS_FIELD_NUMBER; hash = (53 * hash) + getCommitmentsList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } if (hasHeight()) { hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse 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; } /** *
     * QueryPacketCommitmentsResponse is the request type for the
     * Query/QueryPacketCommitments RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketCommitmentsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketCommitmentsResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCommitmentsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (commitmentsBuilder_ == null) { commitments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { commitmentsBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } if (heightBuilder_ == null) { height_ = null; } else { height_ = null; heightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse(this); int from_bitField0_ = bitField0_; if (commitmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { commitments_ = java.util.Collections.unmodifiableList(commitments_); bitField0_ = (bitField0_ & ~0x00000001); } result.commitments_ = commitments_; } else { result.commitments_ = commitmentsBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } if (heightBuilder_ == null) { result.height_ = height_; } else { result.height_ = heightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse.getDefaultInstance()) return this; if (commitmentsBuilder_ == null) { if (!other.commitments_.isEmpty()) { if (commitments_.isEmpty()) { commitments_ = other.commitments_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCommitmentsIsMutable(); commitments_.addAll(other.commitments_); } onChanged(); } } else { if (!other.commitments_.isEmpty()) { if (commitmentsBuilder_.isEmpty()) { commitmentsBuilder_.dispose(); commitmentsBuilder_ = null; commitments_ = other.commitments_; bitField0_ = (bitField0_ & ~0x00000001); commitmentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCommitmentsFieldBuilder() : null; } else { commitmentsBuilder_.addAllMessages(other.commitments_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } if (other.hasHeight()) { mergeHeight(other.getHeight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List commitments_ = java.util.Collections.emptyList(); private void ensureCommitmentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { commitments_ = new java.util.ArrayList(commitments_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder> commitmentsBuilder_; /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public java.util.List getCommitmentsList() { if (commitmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(commitments_); } else { return commitmentsBuilder_.getMessageList(); } } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public int getCommitmentsCount() { if (commitmentsBuilder_ == null) { return commitments_.size(); } else { return commitmentsBuilder_.getCount(); } } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState getCommitments(int index) { if (commitmentsBuilder_ == null) { return commitments_.get(index); } else { return commitmentsBuilder_.getMessage(index); } } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder setCommitments( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (commitmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommitmentsIsMutable(); commitments_.set(index, value); onChanged(); } else { commitmentsBuilder_.setMessage(index, value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder setCommitments( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (commitmentsBuilder_ == null) { ensureCommitmentsIsMutable(); commitments_.set(index, builderForValue.build()); onChanged(); } else { commitmentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder addCommitments(proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (commitmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommitmentsIsMutable(); commitments_.add(value); onChanged(); } else { commitmentsBuilder_.addMessage(value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder addCommitments( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (commitmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCommitmentsIsMutable(); commitments_.add(index, value); onChanged(); } else { commitmentsBuilder_.addMessage(index, value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder addCommitments( proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (commitmentsBuilder_ == null) { ensureCommitmentsIsMutable(); commitments_.add(builderForValue.build()); onChanged(); } else { commitmentsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder addCommitments( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (commitmentsBuilder_ == null) { ensureCommitmentsIsMutable(); commitments_.add(index, builderForValue.build()); onChanged(); } else { commitmentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder addAllCommitments( java.lang.Iterable values) { if (commitmentsBuilder_ == null) { ensureCommitmentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, commitments_); onChanged(); } else { commitmentsBuilder_.addAllMessages(values); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder clearCommitments() { if (commitmentsBuilder_ == null) { commitments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { commitmentsBuilder_.clear(); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public Builder removeCommitments(int index) { if (commitmentsBuilder_ == null) { ensureCommitmentsIsMutable(); commitments_.remove(index); onChanged(); } else { commitmentsBuilder_.remove(index); } return this; } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder getCommitmentsBuilder( int index) { return getCommitmentsFieldBuilder().getBuilder(index); } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getCommitmentsOrBuilder( int index) { if (commitmentsBuilder_ == null) { return commitments_.get(index); } else { return commitmentsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public java.util.List getCommitmentsOrBuilderList() { if (commitmentsBuilder_ != null) { return commitmentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(commitments_); } } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder addCommitmentsBuilder() { return getCommitmentsFieldBuilder().addBuilder( proto.tibc.core.packet.v1.PacketOuterClass.PacketState.getDefaultInstance()); } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder addCommitmentsBuilder( int index) { return getCommitmentsFieldBuilder().addBuilder( index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.getDefaultInstance()); } /** * repeated .tibc.core.packet.v1.PacketState commitments = 1; */ public java.util.List getCommitmentsBuilderList() { return getCommitmentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder> getCommitmentsFieldBuilder() { if (commitmentsBuilder_ == null) { commitmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder>( commitments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); commitments_ = null; } return commitmentsBuilder_; } private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_; /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination(proto.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 response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination( proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = proto.cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination 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 response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } private proto.tibc.core.client.v1.Client.Height height_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> heightBuilder_; /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ public boolean hasHeight() { return heightBuilder_ != null || height_ != null; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ public proto.tibc.core.client.v1.Client.Height getHeight() { if (heightBuilder_ == null) { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } else { return heightBuilder_.getMessage(); } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder setHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } height_ = value; onChanged(); } else { heightBuilder_.setMessage(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder setHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (heightBuilder_ == null) { height_ = builderForValue.build(); onChanged(); } else { heightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (height_ != null) { height_ = proto.tibc.core.client.v1.Client.Height.newBuilder(height_).mergeFrom(value).buildPartial(); } else { height_ = value; } onChanged(); } else { heightBuilder_.mergeFrom(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder clearHeight() { if (heightBuilder_ == null) { height_ = null; onChanged(); } else { height_ = null; heightBuilder_ = null; } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getHeightBuilder() { onChanged(); return getHeightFieldBuilder().getBuilder(); } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { if (heightBuilder_ != null) { return heightBuilder_.getMessageOrBuilder(); } else { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getHeightFieldBuilder() { if (heightBuilder_ == null) { heightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getHeight(), getParentForChildren(), isClean()); height_ = null; } return heightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketCommitmentsResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketCommitmentsResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketCommitmentsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketCommitmentsResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketCommitmentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketReceiptRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketReceiptRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ long getSequence(); } /** *
   * QueryPacketReceiptRequest is the request type for the
   * Query/PacketReceipt RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketReceiptRequest} */ public static final class QueryPacketReceiptRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketReceiptRequest) QueryPacketReceiptRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketReceiptRequest.newBuilder() to construct. private QueryPacketReceiptRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketReceiptRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketReceiptRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketReceiptRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 24: { sequence_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCE_FIELD_NUMBER = 3; private long sequence_; /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } 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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (sequence_ != 0L) { output.writeUInt64(3, sequence_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, sequence_); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (getSequence() != other.getSequence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest 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; } /** *
     * QueryPacketReceiptRequest is the request type for the
     * Query/PacketReceipt RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketReceiptRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketReceiptRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.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(); destChain_ = ""; sourceChain_ = ""; sequence_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; result.sequence_ = sequence_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (other.getSequence() != 0L) { setSequence(other.getSequence()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private long sequence_ ; /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @param value The sequence to set. * @return This builder for chaining. */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return This builder for chaining. */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketReceiptRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketReceiptRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketReceiptRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketReceiptRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketReceiptResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketReceiptResponse) com.google.protobuf.MessageOrBuilder { /** *
     * success flag for if receipt exists
     * 
* * bool received = 2; * @return The received. */ boolean getReceived(); /** *
     * merkle proof of existence
     * 
* * bytes proof = 3; * @return The proof. */ com.google.protobuf.ByteString getProof(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ boolean hasProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ proto.tibc.core.client.v1.Client.Height getProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); } /** *
   * QueryPacketReceiptResponse defines the client query response for a packet receipt
   * which also includes a proof, and the height from which the proof was
   * retrieved
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketReceiptResponse} */ public static final class QueryPacketReceiptResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketReceiptResponse) QueryPacketReceiptResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketReceiptResponse.newBuilder() to construct. private QueryPacketReceiptResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketReceiptResponse() { proof_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketReceiptResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketReceiptResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 16: { received_ = input.readBool(); break; } case 26: { proof_ = input.readBytes(); break; } case 34: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.Builder.class); } public static final int RECEIVED_FIELD_NUMBER = 2; private boolean received_; /** *
     * success flag for if receipt exists
     * 
* * bool received = 2; * @return The received. */ @java.lang.Override public boolean getReceived() { return received_; } public static final int PROOF_FIELD_NUMBER = 3; private com.google.protobuf.ByteString proof_; /** *
     * merkle proof of existence
     * 
* * bytes proof = 3; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 4; private proto.tibc.core.client.v1.Client.Height proofHeight_; /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ @java.lang.Override public boolean hasProofHeight() { return proofHeight_ != null; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } 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 (received_ != false) { output.writeBool(2, received_); } if (!proof_.isEmpty()) { output.writeBytes(3, proof_); } if (proofHeight_ != null) { output.writeMessage(4, getProofHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (received_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, received_); } if (!proof_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, proof_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProofHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse) obj; if (getReceived() != other.getReceived()) return false; if (!getProof() .equals(other.getProof())) return false; if (hasProofHeight() != other.hasProofHeight()) return false; if (hasProofHeight()) { if (!getProofHeight() .equals(other.getProofHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RECEIVED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getReceived()); hash = (37 * hash) + PROOF_FIELD_NUMBER; hash = (53 * hash) + getProof().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse 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; } /** *
     * QueryPacketReceiptResponse defines the client query response for a packet receipt
     * which also includes a proof, and the height from which the proof was
     * retrieved
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketReceiptResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketReceiptResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.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(); received_ = false; proof_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse(this); result.received_ = received_; result.proof_ = proof_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse.getDefaultInstance()) return this; if (other.getReceived() != false) { setReceived(other.getReceived()); } if (other.getProof() != com.google.protobuf.ByteString.EMPTY) { setProof(other.getProof()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean received_ ; /** *
       * success flag for if receipt exists
       * 
* * bool received = 2; * @return The received. */ @java.lang.Override public boolean getReceived() { return received_; } /** *
       * success flag for if receipt exists
       * 
* * bool received = 2; * @param value The received to set. * @return This builder for chaining. */ public Builder setReceived(boolean value) { received_ = value; onChanged(); return this; } /** *
       * success flag for if receipt exists
       * 
* * bool received = 2; * @return This builder for chaining. */ public Builder clearReceived() { received_ = false; onChanged(); return this; } private com.google.protobuf.ByteString proof_ = com.google.protobuf.ByteString.EMPTY; /** *
       * merkle proof of existence
       * 
* * bytes proof = 3; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 3; * @param value The proof to set. * @return This builder for chaining. */ public Builder setProof(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proof_ = value; onChanged(); return this; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 3; * @return This builder for chaining. */ public Builder clearProof() { proof_ = getDefaultInstance().getProof(); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height proofHeight_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ public proto.tibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public Builder mergeProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = proto.tibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketReceiptResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketReceiptResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketReceiptResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketReceiptResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketReceiptResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketAcknowledgementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketAcknowledgementRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ long getSequence(); } /** *
   * QueryPacketAcknowledgementRequest is the request type for the
   * Query/PacketAcknowledgement RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementRequest} */ public static final class QueryPacketAcknowledgementRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketAcknowledgementRequest) QueryPacketAcknowledgementRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketAcknowledgementRequest.newBuilder() to construct. private QueryPacketAcknowledgementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketAcknowledgementRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketAcknowledgementRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketAcknowledgementRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 24: { sequence_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCE_FIELD_NUMBER = 3; private long sequence_; /** *
     * packet sequence
     * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } 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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (sequence_ != 0L) { output.writeUInt64(3, sequence_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, sequence_); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (getSequence() != other.getSequence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest 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; } /** *
     * QueryPacketAcknowledgementRequest is the request type for the
     * Query/PacketAcknowledgement RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketAcknowledgementRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.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(); destChain_ = ""; sourceChain_ = ""; sequence_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; result.sequence_ = sequence_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (other.getSequence() != 0L) { setSequence(other.getSequence()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private long sequence_ ; /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return The sequence. */ @java.lang.Override public long getSequence() { return sequence_; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @param value The sequence to set. * @return This builder for chaining. */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** *
       * packet sequence
       * 
* * uint64 sequence = 3; * @return This builder for chaining. */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketAcknowledgementRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketAcknowledgementRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketAcknowledgementRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketAcknowledgementRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketAcknowledgementResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketAcknowledgementResponse) com.google.protobuf.MessageOrBuilder { /** *
     * packet associated with the request fields
     * 
* * bytes acknowledgement = 1; * @return The acknowledgement. */ com.google.protobuf.ByteString getAcknowledgement(); /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ com.google.protobuf.ByteString getProof(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ boolean hasProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ proto.tibc.core.client.v1.Client.Height getProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); } /** *
   * QueryPacketAcknowledgementResponse defines the client query response for a
   * packet which also includes a proof and the height from which the
   * proof was retrieved
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementResponse} */ public static final class QueryPacketAcknowledgementResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketAcknowledgementResponse) QueryPacketAcknowledgementResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketAcknowledgementResponse.newBuilder() to construct. private QueryPacketAcknowledgementResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketAcknowledgementResponse() { acknowledgement_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketAcknowledgementResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketAcknowledgementResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { acknowledgement_ = input.readBytes(); break; } case 18: { proof_ = input.readBytes(); break; } case 26: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.Builder.class); } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString acknowledgement_; /** *
     * packet associated with the request fields
     * 
* * bytes acknowledgement = 1; * @return The acknowledgement. */ @java.lang.Override public com.google.protobuf.ByteString getAcknowledgement() { return acknowledgement_; } public static final int PROOF_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proof_; /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 3; private proto.tibc.core.client.v1.Client.Height proofHeight_; /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ @java.lang.Override public boolean hasProofHeight() { return proofHeight_ != null; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } 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 (!acknowledgement_.isEmpty()) { output.writeBytes(1, acknowledgement_); } if (!proof_.isEmpty()) { output.writeBytes(2, proof_); } if (proofHeight_ != null) { output.writeMessage(3, getProofHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!acknowledgement_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, acknowledgement_); } if (!proof_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proof_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProofHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse) obj; if (!getAcknowledgement() .equals(other.getAcknowledgement())) return false; if (!getProof() .equals(other.getProof())) return false; if (hasProofHeight() != other.hasProofHeight()) return false; if (hasProofHeight()) { if (!getProofHeight() .equals(other.getProofHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACKNOWLEDGEMENT_FIELD_NUMBER; hash = (53 * hash) + getAcknowledgement().hashCode(); hash = (37 * hash) + PROOF_FIELD_NUMBER; hash = (53 * hash) + getProof().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse 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; } /** *
     * QueryPacketAcknowledgementResponse defines the client query response for a
     * packet which also includes a proof and the height from which the
     * proof was retrieved
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketAcknowledgementResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.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(); acknowledgement_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse(this); result.acknowledgement_ = acknowledgement_; result.proof_ = proof_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse.getDefaultInstance()) return this; if (other.getAcknowledgement() != com.google.protobuf.ByteString.EMPTY) { setAcknowledgement(other.getAcknowledgement()); } if (other.getProof() != com.google.protobuf.ByteString.EMPTY) { setProof(other.getProof()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString acknowledgement_ = com.google.protobuf.ByteString.EMPTY; /** *
       * packet associated with the request fields
       * 
* * bytes acknowledgement = 1; * @return The acknowledgement. */ @java.lang.Override public com.google.protobuf.ByteString getAcknowledgement() { return acknowledgement_; } /** *
       * packet associated with the request fields
       * 
* * bytes acknowledgement = 1; * @param value The acknowledgement to set. * @return This builder for chaining. */ public Builder setAcknowledgement(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } acknowledgement_ = value; onChanged(); return this; } /** *
       * packet associated with the request fields
       * 
* * bytes acknowledgement = 1; * @return This builder for chaining. */ public Builder clearAcknowledgement() { acknowledgement_ = getDefaultInstance().getAcknowledgement(); onChanged(); return this; } private com.google.protobuf.ByteString proof_ = com.google.protobuf.ByteString.EMPTY; /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @param value The proof to set. * @return This builder for chaining. */ public Builder setProof(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proof_ = value; onChanged(); return this; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return This builder for chaining. */ public Builder clearProof() { proof_ = getDefaultInstance().getProof(); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height proofHeight_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ public proto.tibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = proto.tibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketAcknowledgementResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketAcknowledgementResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketAcknowledgementResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketAcknowledgementResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketAcknowledgementsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketAcknowledgementsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ boolean hasPagination(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination(); /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder(); } /** *
   * QueryPacketAcknowledgementsRequest is the request type for the
   * Query/QueryPacketCommitments RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementsRequest} */ public static final class QueryPacketAcknowledgementsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketAcknowledgementsRequest) QueryPacketAcknowledgementsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketAcknowledgementsRequest.newBuilder() to construct. private QueryPacketAcknowledgementsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketAcknowledgementsRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketAcknowledgementsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketAcknowledgementsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 26: { proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAGINATION_FIELD_NUMBER = 3; private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ @java.lang.Override public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } /** *
     * pagination request
     * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ @java.lang.Override public proto.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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (pagination_ != null) { output.writeMessage(3, getPagination()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest 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; } /** *
     * QueryPacketAcknowledgementsRequest is the request type for the
     * Query/QueryPacketCommitments RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketAcknowledgementsRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.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(); destChain_ = ""; sourceChain_ = ""; if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (other.hasPagination()) { mergePagination(other.getPagination()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private proto.cosmos.base.query.v1beta1.Pagination.PageRequest pagination_; private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_; /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; * @return The pagination. */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder setPagination(proto.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 request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder setPagination( proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageRequest value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = proto.cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ public proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_; } } /** *
       * pagination request
       * 
* * .cosmos.base.query.v1beta1.PageRequest pagination = 3; */ private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageRequest, proto.cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, proto.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.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketAcknowledgementsRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketAcknowledgementsRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketAcknowledgementsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketAcknowledgementsRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPacketAcknowledgementsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryPacketAcknowledgementsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ java.util.List getAcknowledgementsList(); /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ proto.tibc.core.packet.v1.PacketOuterClass.PacketState getAcknowledgements(int index); /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ int getAcknowledgementsCount(); /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ java.util.List getAcknowledgementsOrBuilderList(); /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder( int index); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ boolean hasPagination(); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination(); /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ boolean hasHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ proto.tibc.core.client.v1.Client.Height getHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder(); } /** *
   * QueryPacketAcknowledgemetsResponse is the request type for the
   * Query/QueryPacketAcknowledgements RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementsResponse} */ public static final class QueryPacketAcknowledgementsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryPacketAcknowledgementsResponse) QueryPacketAcknowledgementsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPacketAcknowledgementsResponse.newBuilder() to construct. private QueryPacketAcknowledgementsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPacketAcknowledgementsResponse() { acknowledgements_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPacketAcknowledgementsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPacketAcknowledgementsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { acknowledgements_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } acknowledgements_.add( input.readMessage(proto.tibc.core.packet.v1.PacketOuterClass.PacketState.parser(), extensionRegistry)); break; } case 18: { proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null; if (pagination_ != null) { subBuilder = pagination_.toBuilder(); } pagination_ = input.readMessage(proto.cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pagination_); pagination_ = subBuilder.buildPartial(); } break; } case 26: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (height_ != null) { subBuilder = height_.toBuilder(); } height_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(height_); height_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { acknowledgements_ = java.util.Collections.unmodifiableList(acknowledgements_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.Builder.class); } public static final int ACKNOWLEDGEMENTS_FIELD_NUMBER = 1; private java.util.List acknowledgements_; /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ @java.lang.Override public java.util.List getAcknowledgementsList() { return acknowledgements_; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ @java.lang.Override public java.util.List getAcknowledgementsOrBuilderList() { return acknowledgements_; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ @java.lang.Override public int getAcknowledgementsCount() { return acknowledgements_.size(); } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ @java.lang.Override public proto.tibc.core.packet.v1.PacketOuterClass.PacketState getAcknowledgements(int index) { return acknowledgements_.get(index); } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ @java.lang.Override public proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder( int index) { return acknowledgements_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ @java.lang.Override public boolean hasPagination() { return pagination_ != null; } /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } /** *
     * pagination response
     * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ @java.lang.Override public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { return getPagination(); } public static final int HEIGHT_FIELD_NUMBER = 3; private proto.tibc.core.client.v1.Client.Height height_; /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ @java.lang.Override public boolean hasHeight() { return height_ != null; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getHeight() { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { return getHeight(); } 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 < acknowledgements_.size(); i++) { output.writeMessage(1, acknowledgements_.get(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } if (height_ != null) { output.writeMessage(3, getHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < acknowledgements_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, acknowledgements_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } if (height_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse) obj; if (!getAcknowledgementsList() .equals(other.getAcknowledgementsList())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) return false; } if (hasHeight() != other.hasHeight()) return false; if (hasHeight()) { if (!getHeight() .equals(other.getHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getAcknowledgementsCount() > 0) { hash = (37 * hash) + ACKNOWLEDGEMENTS_FIELD_NUMBER; hash = (53 * hash) + getAcknowledgementsList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } if (hasHeight()) { hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse 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; } /** *
     * QueryPacketAcknowledgemetsResponse is the request type for the
     * Query/QueryPacketAcknowledgements RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryPacketAcknowledgementsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryPacketAcknowledgementsResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAcknowledgementsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (acknowledgementsBuilder_ == null) { acknowledgements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { acknowledgementsBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } if (heightBuilder_ == null) { height_ = null; } else { height_ = null; heightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse(this); int from_bitField0_ = bitField0_; if (acknowledgementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { acknowledgements_ = java.util.Collections.unmodifiableList(acknowledgements_); bitField0_ = (bitField0_ & ~0x00000001); } result.acknowledgements_ = acknowledgements_; } else { result.acknowledgements_ = acknowledgementsBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } if (heightBuilder_ == null) { result.height_ = height_; } else { result.height_ = heightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse.getDefaultInstance()) return this; if (acknowledgementsBuilder_ == null) { if (!other.acknowledgements_.isEmpty()) { if (acknowledgements_.isEmpty()) { acknowledgements_ = other.acknowledgements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAcknowledgementsIsMutable(); acknowledgements_.addAll(other.acknowledgements_); } onChanged(); } } else { if (!other.acknowledgements_.isEmpty()) { if (acknowledgementsBuilder_.isEmpty()) { acknowledgementsBuilder_.dispose(); acknowledgementsBuilder_ = null; acknowledgements_ = other.acknowledgements_; bitField0_ = (bitField0_ & ~0x00000001); acknowledgementsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAcknowledgementsFieldBuilder() : null; } else { acknowledgementsBuilder_.addAllMessages(other.acknowledgements_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } if (other.hasHeight()) { mergeHeight(other.getHeight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List acknowledgements_ = java.util.Collections.emptyList(); private void ensureAcknowledgementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { acknowledgements_ = new java.util.ArrayList(acknowledgements_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder> acknowledgementsBuilder_; /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public java.util.List getAcknowledgementsList() { if (acknowledgementsBuilder_ == null) { return java.util.Collections.unmodifiableList(acknowledgements_); } else { return acknowledgementsBuilder_.getMessageList(); } } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public int getAcknowledgementsCount() { if (acknowledgementsBuilder_ == null) { return acknowledgements_.size(); } else { return acknowledgementsBuilder_.getCount(); } } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState getAcknowledgements(int index) { if (acknowledgementsBuilder_ == null) { return acknowledgements_.get(index); } else { return acknowledgementsBuilder_.getMessage(index); } } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder setAcknowledgements( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (acknowledgementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAcknowledgementsIsMutable(); acknowledgements_.set(index, value); onChanged(); } else { acknowledgementsBuilder_.setMessage(index, value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder setAcknowledgements( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (acknowledgementsBuilder_ == null) { ensureAcknowledgementsIsMutable(); acknowledgements_.set(index, builderForValue.build()); onChanged(); } else { acknowledgementsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder addAcknowledgements(proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (acknowledgementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAcknowledgementsIsMutable(); acknowledgements_.add(value); onChanged(); } else { acknowledgementsBuilder_.addMessage(value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder addAcknowledgements( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState value) { if (acknowledgementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAcknowledgementsIsMutable(); acknowledgements_.add(index, value); onChanged(); } else { acknowledgementsBuilder_.addMessage(index, value); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder addAcknowledgements( proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (acknowledgementsBuilder_ == null) { ensureAcknowledgementsIsMutable(); acknowledgements_.add(builderForValue.build()); onChanged(); } else { acknowledgementsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder addAcknowledgements( int index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder builderForValue) { if (acknowledgementsBuilder_ == null) { ensureAcknowledgementsIsMutable(); acknowledgements_.add(index, builderForValue.build()); onChanged(); } else { acknowledgementsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder addAllAcknowledgements( java.lang.Iterable values) { if (acknowledgementsBuilder_ == null) { ensureAcknowledgementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, acknowledgements_); onChanged(); } else { acknowledgementsBuilder_.addAllMessages(values); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder clearAcknowledgements() { if (acknowledgementsBuilder_ == null) { acknowledgements_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { acknowledgementsBuilder_.clear(); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public Builder removeAcknowledgements(int index) { if (acknowledgementsBuilder_ == null) { ensureAcknowledgementsIsMutable(); acknowledgements_.remove(index); onChanged(); } else { acknowledgementsBuilder_.remove(index); } return this; } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder getAcknowledgementsBuilder( int index) { return getAcknowledgementsFieldBuilder().getBuilder(index); } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder getAcknowledgementsOrBuilder( int index) { if (acknowledgementsBuilder_ == null) { return acknowledgements_.get(index); } else { return acknowledgementsBuilder_.getMessageOrBuilder(index); } } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public java.util.List getAcknowledgementsOrBuilderList() { if (acknowledgementsBuilder_ != null) { return acknowledgementsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(acknowledgements_); } } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder addAcknowledgementsBuilder() { return getAcknowledgementsFieldBuilder().addBuilder( proto.tibc.core.packet.v1.PacketOuterClass.PacketState.getDefaultInstance()); } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder addAcknowledgementsBuilder( int index) { return getAcknowledgementsFieldBuilder().addBuilder( index, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.getDefaultInstance()); } /** * repeated .tibc.core.packet.v1.PacketState acknowledgements = 1; */ public java.util.List getAcknowledgementsBuilderList() { return getAcknowledgementsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder> getAcknowledgementsFieldBuilder() { if (acknowledgementsBuilder_ == null) { acknowledgementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< proto.tibc.core.packet.v1.PacketOuterClass.PacketState, proto.tibc.core.packet.v1.PacketOuterClass.PacketState.Builder, proto.tibc.core.packet.v1.PacketOuterClass.PacketStateOrBuilder>( acknowledgements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); acknowledgements_ = null; } return acknowledgementsBuilder_; } private proto.cosmos.base.query.v1beta1.Pagination.PageResponse pagination_; private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_; /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; * @return The pagination. */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination(proto.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 response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder setPagination( proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public Builder mergePagination(proto.cosmos.base.query.v1beta1.Pagination.PageResponse value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = proto.cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
       * pagination 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 response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ public proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? proto.cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_; } } /** *
       * pagination response
       * 
* * .cosmos.base.query.v1beta1.PageResponse pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.cosmos.base.query.v1beta1.Pagination.PageResponse, proto.cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, proto.cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } private proto.tibc.core.client.v1.Client.Height height_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> heightBuilder_; /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ public boolean hasHeight() { return heightBuilder_ != null || height_ != null; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; * @return The height. */ public proto.tibc.core.client.v1.Client.Height getHeight() { if (heightBuilder_ == null) { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } else { return heightBuilder_.getMessage(); } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder setHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } height_ = value; onChanged(); } else { heightBuilder_.setMessage(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder setHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (heightBuilder_ == null) { height_ = builderForValue.build(); onChanged(); } else { heightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (height_ != null) { height_ = proto.tibc.core.client.v1.Client.Height.newBuilder(height_).mergeFrom(value).buildPartial(); } else { height_ = value; } onChanged(); } else { heightBuilder_.mergeFrom(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public Builder clearHeight() { if (heightBuilder_ == null) { height_ = null; onChanged(); } else { height_ = null; heightBuilder_ = null; } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getHeightBuilder() { onChanged(); return getHeightFieldBuilder().getBuilder(); } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { if (heightBuilder_ != null) { return heightBuilder_.getMessageOrBuilder(); } else { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getHeightFieldBuilder() { if (heightBuilder_ == null) { heightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getHeight(), getParentForChildren(), isClean()); height_ = null; } return heightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryPacketAcknowledgementsResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryPacketAcknowledgementsResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPacketAcknowledgementsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPacketAcknowledgementsResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryPacketAcknowledgementsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryUnreceivedPacketsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryUnreceivedPacketsRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @return A list containing the packetCommitmentSequences. */ java.util.List getPacketCommitmentSequencesList(); /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @return The count of packetCommitmentSequences. */ int getPacketCommitmentSequencesCount(); /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @param index The index of the element to return. * @return The packetCommitmentSequences at the given index. */ long getPacketCommitmentSequences(int index); } /** *
   * QueryUnreceivedPacketsRequest is the request type for the
   * Query/UnreceivedPackets RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedPacketsRequest} */ public static final class QueryUnreceivedPacketsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryUnreceivedPacketsRequest) QueryUnreceivedPacketsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryUnreceivedPacketsRequest.newBuilder() to construct. private QueryUnreceivedPacketsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryUnreceivedPacketsRequest() { destChain_ = ""; sourceChain_ = ""; packetCommitmentSequences_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryUnreceivedPacketsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryUnreceivedPacketsRequest( 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(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 24: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { packetCommitmentSequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } packetCommitmentSequences_.addLong(input.readUInt64()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { packetCommitmentSequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { packetCommitmentSequences_.addLong(input.readUInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packetCommitmentSequences_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PACKET_COMMITMENT_SEQUENCES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.LongList packetCommitmentSequences_; /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @return A list containing the packetCommitmentSequences. */ @java.lang.Override public java.util.List getPacketCommitmentSequencesList() { return packetCommitmentSequences_; } /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @return The count of packetCommitmentSequences. */ public int getPacketCommitmentSequencesCount() { return packetCommitmentSequences_.size(); } /** *
     * list of packet sequences
     * 
* * repeated uint64 packet_commitment_sequences = 3; * @param index The index of the element to return. * @return The packetCommitmentSequences at the given index. */ public long getPacketCommitmentSequences(int index) { return packetCommitmentSequences_.getLong(index); } private int packetCommitmentSequencesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (getPacketCommitmentSequencesList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(packetCommitmentSequencesMemoizedSerializedSize); } for (int i = 0; i < packetCommitmentSequences_.size(); i++) { output.writeUInt64NoTag(packetCommitmentSequences_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } { int dataSize = 0; for (int i = 0; i < packetCommitmentSequences_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(packetCommitmentSequences_.getLong(i)); } size += dataSize; if (!getPacketCommitmentSequencesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packetCommitmentSequencesMemoizedSerializedSize = dataSize; } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (!getPacketCommitmentSequencesList() .equals(other.getPacketCommitmentSequencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); if (getPacketCommitmentSequencesCount() > 0) { hash = (37 * hash) + PACKET_COMMITMENT_SEQUENCES_FIELD_NUMBER; hash = (53 * hash) + getPacketCommitmentSequencesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest 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; } /** *
     * QueryUnreceivedPacketsRequest is the request type for the
     * Query/UnreceivedPackets RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedPacketsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryUnreceivedPacketsRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.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(); destChain_ = ""; sourceChain_ = ""; packetCommitmentSequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest(this); int from_bitField0_ = bitField0_; result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; if (((bitField0_ & 0x00000001) != 0)) { packetCommitmentSequences_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.packetCommitmentSequences_ = packetCommitmentSequences_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (!other.packetCommitmentSequences_.isEmpty()) { if (packetCommitmentSequences_.isEmpty()) { packetCommitmentSequences_ = other.packetCommitmentSequences_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePacketCommitmentSequencesIsMutable(); packetCommitmentSequences_.addAll(other.packetCommitmentSequences_); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private com.google.protobuf.Internal.LongList packetCommitmentSequences_ = emptyLongList(); private void ensurePacketCommitmentSequencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { packetCommitmentSequences_ = mutableCopy(packetCommitmentSequences_); bitField0_ |= 0x00000001; } } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @return A list containing the packetCommitmentSequences. */ public java.util.List getPacketCommitmentSequencesList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(packetCommitmentSequences_) : packetCommitmentSequences_; } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @return The count of packetCommitmentSequences. */ public int getPacketCommitmentSequencesCount() { return packetCommitmentSequences_.size(); } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @param index The index of the element to return. * @return The packetCommitmentSequences at the given index. */ public long getPacketCommitmentSequences(int index) { return packetCommitmentSequences_.getLong(index); } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @param index The index to set the value at. * @param value The packetCommitmentSequences to set. * @return This builder for chaining. */ public Builder setPacketCommitmentSequences( int index, long value) { ensurePacketCommitmentSequencesIsMutable(); packetCommitmentSequences_.setLong(index, value); onChanged(); return this; } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @param value The packetCommitmentSequences to add. * @return This builder for chaining. */ public Builder addPacketCommitmentSequences(long value) { ensurePacketCommitmentSequencesIsMutable(); packetCommitmentSequences_.addLong(value); onChanged(); return this; } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @param values The packetCommitmentSequences to add. * @return This builder for chaining. */ public Builder addAllPacketCommitmentSequences( java.lang.Iterable values) { ensurePacketCommitmentSequencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packetCommitmentSequences_); onChanged(); return this; } /** *
       * list of packet sequences
       * 
* * repeated uint64 packet_commitment_sequences = 3; * @return This builder for chaining. */ public Builder clearPacketCommitmentSequences() { packetCommitmentSequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryUnreceivedPacketsRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryUnreceivedPacketsRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryUnreceivedPacketsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryUnreceivedPacketsRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryUnreceivedPacketsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryUnreceivedPacketsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ java.util.List getSequencesList(); /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ int getSequencesCount(); /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ long getSequences(int index); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ boolean hasHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ proto.tibc.core.client.v1.Client.Height getHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder(); } /** *
   * QueryUnreceivedPacketsResponse is the response type for the
   * Query/UnreceivedPacketCommitments RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedPacketsResponse} */ public static final class QueryUnreceivedPacketsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryUnreceivedPacketsResponse) QueryUnreceivedPacketsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryUnreceivedPacketsResponse.newBuilder() to construct. private QueryUnreceivedPacketsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryUnreceivedPacketsResponse() { sequences_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryUnreceivedPacketsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryUnreceivedPacketsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { sequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } sequences_.addLong(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { sequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { sequences_.addLong(input.readUInt64()); } input.popLimit(limit); break; } case 18: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (height_ != null) { subBuilder = height_.toBuilder(); } height_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(height_); height_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { sequences_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.Builder.class); } public static final int SEQUENCES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList sequences_; /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ @java.lang.Override public java.util.List getSequencesList() { return sequences_; } /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ public int getSequencesCount() { return sequences_.size(); } /** *
     * list of unreceived packet sequences
     * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ public long getSequences(int index) { return sequences_.getLong(index); } private int sequencesMemoizedSerializedSize = -1; public static final int HEIGHT_FIELD_NUMBER = 2; private proto.tibc.core.client.v1.Client.Height height_; /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ @java.lang.Override public boolean hasHeight() { return height_ != null; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getHeight() { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { return getHeight(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getSequencesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(sequencesMemoizedSerializedSize); } for (int i = 0; i < sequences_.size(); i++) { output.writeUInt64NoTag(sequences_.getLong(i)); } if (height_ != null) { output.writeMessage(2, getHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < sequences_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(sequences_.getLong(i)); } size += dataSize; if (!getSequencesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } sequencesMemoizedSerializedSize = dataSize; } if (height_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse) obj; if (!getSequencesList() .equals(other.getSequencesList())) return false; if (hasHeight() != other.hasHeight()) return false; if (hasHeight()) { if (!getHeight() .equals(other.getHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSequencesCount() > 0) { hash = (37 * hash) + SEQUENCES_FIELD_NUMBER; hash = (53 * hash) + getSequencesList().hashCode(); } if (hasHeight()) { hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse 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; } /** *
     * QueryUnreceivedPacketsResponse is the response type for the
     * Query/UnreceivedPacketCommitments RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedPacketsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryUnreceivedPacketsResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.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(); sequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); if (heightBuilder_ == null) { height_ = null; } else { height_ = null; heightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { sequences_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.sequences_ = sequences_; if (heightBuilder_ == null) { result.height_ = height_; } else { result.height_ = heightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse.getDefaultInstance()) return this; if (!other.sequences_.isEmpty()) { if (sequences_.isEmpty()) { sequences_ = other.sequences_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSequencesIsMutable(); sequences_.addAll(other.sequences_); } onChanged(); } if (other.hasHeight()) { mergeHeight(other.getHeight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList sequences_ = emptyLongList(); private void ensureSequencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sequences_ = mutableCopy(sequences_); bitField0_ |= 0x00000001; } } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ public java.util.List getSequencesList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(sequences_) : sequences_; } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ public int getSequencesCount() { return sequences_.size(); } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ public long getSequences(int index) { return sequences_.getLong(index); } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @param index The index to set the value at. * @param value The sequences to set. * @return This builder for chaining. */ public Builder setSequences( int index, long value) { ensureSequencesIsMutable(); sequences_.setLong(index, value); onChanged(); return this; } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @param value The sequences to add. * @return This builder for chaining. */ public Builder addSequences(long value) { ensureSequencesIsMutable(); sequences_.addLong(value); onChanged(); return this; } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @param values The sequences to add. * @return This builder for chaining. */ public Builder addAllSequences( java.lang.Iterable values) { ensureSequencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sequences_); onChanged(); return this; } /** *
       * list of unreceived packet sequences
       * 
* * repeated uint64 sequences = 1; * @return This builder for chaining. */ public Builder clearSequences() { sequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height height_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> heightBuilder_; /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ public boolean hasHeight() { return heightBuilder_ != null || height_ != null; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ public proto.tibc.core.client.v1.Client.Height getHeight() { if (heightBuilder_ == null) { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } else { return heightBuilder_.getMessage(); } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } height_ = value; onChanged(); } else { heightBuilder_.setMessage(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (heightBuilder_ == null) { height_ = builderForValue.build(); onChanged(); } else { heightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (height_ != null) { height_ = proto.tibc.core.client.v1.Client.Height.newBuilder(height_).mergeFrom(value).buildPartial(); } else { height_ = value; } onChanged(); } else { heightBuilder_.mergeFrom(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder clearHeight() { if (heightBuilder_ == null) { height_ = null; onChanged(); } else { height_ = null; heightBuilder_ = null; } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getHeightBuilder() { onChanged(); return getHeightFieldBuilder().getBuilder(); } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { if (heightBuilder_ != null) { return heightBuilder_.getMessageOrBuilder(); } else { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getHeightFieldBuilder() { if (heightBuilder_ == null) { heightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getHeight(), getParentForChildren(), isClean()); height_ = null; } return heightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryUnreceivedPacketsResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryUnreceivedPacketsResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryUnreceivedPacketsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryUnreceivedPacketsResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedPacketsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryUnreceivedAcksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryUnreceivedAcksRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @return A list containing the packetAckSequences. */ java.util.List getPacketAckSequencesList(); /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @return The count of packetAckSequences. */ int getPacketAckSequencesCount(); /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @param index The index of the element to return. * @return The packetAckSequences at the given index. */ long getPacketAckSequences(int index); } /** *
   * QueryUnreceivedAcks is the request type for the
   * Query/UnreceivedAcks RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedAcksRequest} */ public static final class QueryUnreceivedAcksRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryUnreceivedAcksRequest) QueryUnreceivedAcksRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryUnreceivedAcksRequest.newBuilder() to construct. private QueryUnreceivedAcksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryUnreceivedAcksRequest() { destChain_ = ""; sourceChain_ = ""; packetAckSequences_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryUnreceivedAcksRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryUnreceivedAcksRequest( 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(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } case 24: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { packetAckSequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } packetAckSequences_.addLong(input.readUInt64()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { packetAckSequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { packetAckSequences_.addLong(input.readUInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packetAckSequences_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PACKET_ACK_SEQUENCES_FIELD_NUMBER = 3; private com.google.protobuf.Internal.LongList packetAckSequences_; /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @return A list containing the packetAckSequences. */ @java.lang.Override public java.util.List getPacketAckSequencesList() { return packetAckSequences_; } /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @return The count of packetAckSequences. */ public int getPacketAckSequencesCount() { return packetAckSequences_.size(); } /** *
     * list of acknowledgement sequences
     * 
* * repeated uint64 packet_ack_sequences = 3; * @param index The index of the element to return. * @return The packetAckSequences at the given index. */ public long getPacketAckSequences(int index) { return packetAckSequences_.getLong(index); } private int packetAckSequencesMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } if (getPacketAckSequencesList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(packetAckSequencesMemoizedSerializedSize); } for (int i = 0; i < packetAckSequences_.size(); i++) { output.writeUInt64NoTag(packetAckSequences_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } { int dataSize = 0; for (int i = 0; i < packetAckSequences_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(packetAckSequences_.getLong(i)); } size += dataSize; if (!getPacketAckSequencesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } packetAckSequencesMemoizedSerializedSize = dataSize; } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (!getPacketAckSequencesList() .equals(other.getPacketAckSequencesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); if (getPacketAckSequencesCount() > 0) { hash = (37 * hash) + PACKET_ACK_SEQUENCES_FIELD_NUMBER; hash = (53 * hash) + getPacketAckSequencesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest 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; } /** *
     * QueryUnreceivedAcks is the request type for the
     * Query/UnreceivedAcks RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedAcksRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryUnreceivedAcksRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.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(); destChain_ = ""; sourceChain_ = ""; packetAckSequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest(this); int from_bitField0_ = bitField0_; result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; if (((bitField0_ & 0x00000001) != 0)) { packetAckSequences_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.packetAckSequences_ = packetAckSequences_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; onChanged(); } if (!other.packetAckSequences_.isEmpty()) { if (packetAckSequences_.isEmpty()) { packetAckSequences_ = other.packetAckSequences_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePacketAckSequencesIsMutable(); packetAckSequences_.addAll(other.packetAckSequences_); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } private com.google.protobuf.Internal.LongList packetAckSequences_ = emptyLongList(); private void ensurePacketAckSequencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { packetAckSequences_ = mutableCopy(packetAckSequences_); bitField0_ |= 0x00000001; } } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @return A list containing the packetAckSequences. */ public java.util.List getPacketAckSequencesList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(packetAckSequences_) : packetAckSequences_; } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @return The count of packetAckSequences. */ public int getPacketAckSequencesCount() { return packetAckSequences_.size(); } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @param index The index of the element to return. * @return The packetAckSequences at the given index. */ public long getPacketAckSequences(int index) { return packetAckSequences_.getLong(index); } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @param index The index to set the value at. * @param value The packetAckSequences to set. * @return This builder for chaining. */ public Builder setPacketAckSequences( int index, long value) { ensurePacketAckSequencesIsMutable(); packetAckSequences_.setLong(index, value); onChanged(); return this; } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @param value The packetAckSequences to add. * @return This builder for chaining. */ public Builder addPacketAckSequences(long value) { ensurePacketAckSequencesIsMutable(); packetAckSequences_.addLong(value); onChanged(); return this; } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @param values The packetAckSequences to add. * @return This builder for chaining. */ public Builder addAllPacketAckSequences( java.lang.Iterable values) { ensurePacketAckSequencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, packetAckSequences_); onChanged(); return this; } /** *
       * list of acknowledgement sequences
       * 
* * repeated uint64 packet_ack_sequences = 3; * @return This builder for chaining. */ public Builder clearPacketAckSequences() { packetAckSequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryUnreceivedAcksRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryUnreceivedAcksRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryUnreceivedAcksRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryUnreceivedAcksRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryUnreceivedAcksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryUnreceivedAcksResponse) com.google.protobuf.MessageOrBuilder { /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ java.util.List getSequencesList(); /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ int getSequencesCount(); /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ long getSequences(int index); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ boolean hasHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ proto.tibc.core.client.v1.Client.Height getHeight(); /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder(); } /** *
   * QueryUnreceivedAcksResponse is the response type for the
   * Query/UnreceivedAcks RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedAcksResponse} */ public static final class QueryUnreceivedAcksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryUnreceivedAcksResponse) QueryUnreceivedAcksResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryUnreceivedAcksResponse.newBuilder() to construct. private QueryUnreceivedAcksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryUnreceivedAcksResponse() { sequences_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryUnreceivedAcksResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryUnreceivedAcksResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { sequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } sequences_.addLong(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { sequences_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { sequences_.addLong(input.readUInt64()); } input.popLimit(limit); break; } case 18: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (height_ != null) { subBuilder = height_.toBuilder(); } height_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(height_); height_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { sequences_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.Builder.class); } public static final int SEQUENCES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList sequences_; /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ @java.lang.Override public java.util.List getSequencesList() { return sequences_; } /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ public int getSequencesCount() { return sequences_.size(); } /** *
     * list of unreceived acknowledgement sequences
     * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ public long getSequences(int index) { return sequences_.getLong(index); } private int sequencesMemoizedSerializedSize = -1; public static final int HEIGHT_FIELD_NUMBER = 2; private proto.tibc.core.client.v1.Client.Height height_; /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ @java.lang.Override public boolean hasHeight() { return height_ != null; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getHeight() { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } /** *
     * query block height
     * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { return getHeight(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getSequencesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(sequencesMemoizedSerializedSize); } for (int i = 0; i < sequences_.size(); i++) { output.writeUInt64NoTag(sequences_.getLong(i)); } if (height_ != null) { output.writeMessage(2, getHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < sequences_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(sequences_.getLong(i)); } size += dataSize; if (!getSequencesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } sequencesMemoizedSerializedSize = dataSize; } if (height_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse) obj; if (!getSequencesList() .equals(other.getSequencesList())) return false; if (hasHeight() != other.hasHeight()) return false; if (hasHeight()) { if (!getHeight() .equals(other.getHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSequencesCount() > 0) { hash = (37 * hash) + SEQUENCES_FIELD_NUMBER; hash = (53 * hash) + getSequencesList().hashCode(); } if (hasHeight()) { hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse 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; } /** *
     * QueryUnreceivedAcksResponse is the response type for the
     * Query/UnreceivedAcks RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryUnreceivedAcksResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryUnreceivedAcksResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.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(); sequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); if (heightBuilder_ == null) { height_ = null; } else { height_ = null; heightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { sequences_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.sequences_ = sequences_; if (heightBuilder_ == null) { result.height_ = height_; } else { result.height_ = heightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse.getDefaultInstance()) return this; if (!other.sequences_.isEmpty()) { if (sequences_.isEmpty()) { sequences_ = other.sequences_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSequencesIsMutable(); sequences_.addAll(other.sequences_); } onChanged(); } if (other.hasHeight()) { mergeHeight(other.getHeight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList sequences_ = emptyLongList(); private void ensureSequencesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { sequences_ = mutableCopy(sequences_); bitField0_ |= 0x00000001; } } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @return A list containing the sequences. */ public java.util.List getSequencesList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(sequences_) : sequences_; } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @return The count of sequences. */ public int getSequencesCount() { return sequences_.size(); } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @param index The index of the element to return. * @return The sequences at the given index. */ public long getSequences(int index) { return sequences_.getLong(index); } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @param index The index to set the value at. * @param value The sequences to set. * @return This builder for chaining. */ public Builder setSequences( int index, long value) { ensureSequencesIsMutable(); sequences_.setLong(index, value); onChanged(); return this; } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @param value The sequences to add. * @return This builder for chaining. */ public Builder addSequences(long value) { ensureSequencesIsMutable(); sequences_.addLong(value); onChanged(); return this; } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @param values The sequences to add. * @return This builder for chaining. */ public Builder addAllSequences( java.lang.Iterable values) { ensureSequencesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sequences_); onChanged(); return this; } /** *
       * list of unreceived acknowledgement sequences
       * 
* * repeated uint64 sequences = 1; * @return This builder for chaining. */ public Builder clearSequences() { sequences_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height height_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> heightBuilder_; /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return Whether the height field is set. */ public boolean hasHeight() { return heightBuilder_ != null || height_ != null; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; * @return The height. */ public proto.tibc.core.client.v1.Client.Height getHeight() { if (heightBuilder_ == null) { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } else { return heightBuilder_.getMessage(); } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } height_ = value; onChanged(); } else { heightBuilder_.setMessage(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder setHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (heightBuilder_ == null) { height_ = builderForValue.build(); onChanged(); } else { heightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeHeight(proto.tibc.core.client.v1.Client.Height value) { if (heightBuilder_ == null) { if (height_ != null) { height_ = proto.tibc.core.client.v1.Client.Height.newBuilder(height_).mergeFrom(value).buildPartial(); } else { height_ = value; } onChanged(); } else { heightBuilder_.mergeFrom(value); } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public Builder clearHeight() { if (heightBuilder_ == null) { height_ = null; onChanged(); } else { height_ = null; heightBuilder_ = null; } return this; } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getHeightBuilder() { onChanged(); return getHeightFieldBuilder().getBuilder(); } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getHeightOrBuilder() { if (heightBuilder_ != null) { return heightBuilder_.getMessageOrBuilder(); } else { return height_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : height_; } } /** *
       * query block height
       * 
* * .tibc.core.client.v1.Height height = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getHeightFieldBuilder() { if (heightBuilder_ == null) { heightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getHeight(), getParentForChildren(), isClean()); height_ = null; } return heightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryUnreceivedAcksResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryUnreceivedAcksResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryUnreceivedAcksResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryUnreceivedAcksResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryUnreceivedAcksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryCleanPacketCommitmentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryCleanPacketCommitmentRequest) com.google.protobuf.MessageOrBuilder { /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ java.lang.String getDestChain(); /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ com.google.protobuf.ByteString getDestChainBytes(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ java.lang.String getSourceChain(); /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ com.google.protobuf.ByteString getSourceChainBytes(); } /** *
   * QueryCleanPacketCommitmentRequest is the request type for the
   * QueryCleanPacketCommitment RPC method
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryCleanPacketCommitmentRequest} */ public static final class QueryCleanPacketCommitmentRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryCleanPacketCommitmentRequest) QueryCleanPacketCommitmentRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryCleanPacketCommitmentRequest.newBuilder() to construct. private QueryCleanPacketCommitmentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryCleanPacketCommitmentRequest() { destChain_ = ""; sourceChain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryCleanPacketCommitmentRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryCleanPacketCommitmentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); destChain_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceChain_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.Builder.class); } public static final int DEST_CHAIN_FIELD_NUMBER = 1; private volatile java.lang.Object destChain_; /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The destChain. */ @java.lang.Override public java.lang.String getDestChain() { java.lang.Object ref = destChain_; 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(); destChain_ = s; return s; } } /** *
     * dest chain name
     * 
* * string dest_chain = 1; * @return The bytes for destChain. */ @java.lang.Override public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_CHAIN_FIELD_NUMBER = 2; private volatile java.lang.Object sourceChain_; /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The sourceChain. */ @java.lang.Override public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; 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(); sourceChain_ = s; return s; } } /** *
     * source chain name
     * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ @java.lang.Override public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = 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 (!getDestChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, destChain_); } if (!getSourceChainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceChain_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDestChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, destChain_); } if (!getSourceChainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceChain_); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest) obj; if (!getDestChain() .equals(other.getDestChain())) return false; if (!getSourceChain() .equals(other.getSourceChain())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEST_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getDestChain().hashCode(); hash = (37 * hash) + SOURCE_CHAIN_FIELD_NUMBER; hash = (53 * hash) + getSourceChain().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest 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; } /** *
     * QueryCleanPacketCommitmentRequest is the request type for the
     * QueryCleanPacketCommitment RPC method
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryCleanPacketCommitmentRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryCleanPacketCommitmentRequest) proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.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(); destChain_ = ""; sourceChain_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest(this); result.destChain_ = destChain_; result.sourceChain_ = sourceChain_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest.getDefaultInstance()) return this; if (!other.getDestChain().isEmpty()) { destChain_ = other.destChain_; onChanged(); } if (!other.getSourceChain().isEmpty()) { sourceChain_ = other.sourceChain_; 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object destChain_ = ""; /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The destChain. */ public java.lang.String getDestChain() { java.lang.Object ref = destChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return The bytes for destChain. */ public com.google.protobuf.ByteString getDestChainBytes() { java.lang.Object ref = destChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); destChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The destChain to set. * @return This builder for chaining. */ public Builder setDestChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } destChain_ = value; onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @return This builder for chaining. */ public Builder clearDestChain() { destChain_ = getDefaultInstance().getDestChain(); onChanged(); return this; } /** *
       * dest chain name
       * 
* * string dest_chain = 1; * @param value The bytes for destChain to set. * @return This builder for chaining. */ public Builder setDestChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); destChain_ = value; onChanged(); return this; } private java.lang.Object sourceChain_ = ""; /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The sourceChain. */ public java.lang.String getSourceChain() { java.lang.Object ref = sourceChain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceChain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return The bytes for sourceChain. */ public com.google.protobuf.ByteString getSourceChainBytes() { java.lang.Object ref = sourceChain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceChain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceChain_ = value; onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @return This builder for chaining. */ public Builder clearSourceChain() { sourceChain_ = getDefaultInstance().getSourceChain(); onChanged(); return this; } /** *
       * source chain name
       * 
* * string source_chain = 2; * @param value The bytes for sourceChain to set. * @return This builder for chaining. */ public Builder setSourceChainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceChain_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryCleanPacketCommitmentRequest) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryCleanPacketCommitmentRequest) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryCleanPacketCommitmentRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryCleanPacketCommitmentRequest(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryCleanPacketCommitmentResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:tibc.core.packet.v1.QueryCleanPacketCommitmentResponse) com.google.protobuf.MessageOrBuilder { /** *
     * packet associated with the request fields
     * 
* * bytes commitment = 1; * @return The commitment. */ com.google.protobuf.ByteString getCommitment(); /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ com.google.protobuf.ByteString getProof(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ boolean hasProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ proto.tibc.core.client.v1.Client.Height getProofHeight(); /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); } /** *
   * QueryCleanPacketCommitmentResponse defines the client query response for a packet
   * which also includes a proof and the height from which the proof was
   * retrieved
   * 
* * Protobuf type {@code tibc.core.packet.v1.QueryCleanPacketCommitmentResponse} */ public static final class QueryCleanPacketCommitmentResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tibc.core.packet.v1.QueryCleanPacketCommitmentResponse) QueryCleanPacketCommitmentResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryCleanPacketCommitmentResponse.newBuilder() to construct. private QueryCleanPacketCommitmentResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryCleanPacketCommitmentResponse() { commitment_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryCleanPacketCommitmentResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryCleanPacketCommitmentResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { commitment_ = input.readBytes(); break; } case 18: { proof_ = input.readBytes(); break; } case 26: { proto.tibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(proto.tibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.Builder.class); } public static final int COMMITMENT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString commitment_; /** *
     * packet associated with the request fields
     * 
* * bytes commitment = 1; * @return The commitment. */ @java.lang.Override public com.google.protobuf.ByteString getCommitment() { return commitment_; } public static final int PROOF_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proof_; /** *
     * merkle proof of existence
     * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 3; private proto.tibc.core.client.v1.Client.Height proofHeight_; /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ @java.lang.Override public boolean hasProofHeight() { return proofHeight_ != null; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ @java.lang.Override public proto.tibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** *
     * height at which the proof was retrieved
     * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ @java.lang.Override public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } 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 (!commitment_.isEmpty()) { output.writeBytes(1, commitment_); } if (!proof_.isEmpty()) { output.writeBytes(2, proof_); } if (proofHeight_ != null) { output.writeMessage(3, getProofHeight()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!commitment_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, commitment_); } if (!proof_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proof_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProofHeight()); } 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse)) { return super.equals(obj); } proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse other = (proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse) obj; if (!getCommitment() .equals(other.getCommitment())) return false; if (!getProof() .equals(other.getProof())) return false; if (hasProofHeight() != other.hasProofHeight()) return false; if (hasProofHeight()) { if (!getProofHeight() .equals(other.getProofHeight())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COMMITMENT_FIELD_NUMBER; hash = (53 * hash) + getCommitment().hashCode(); hash = (37 * hash) + PROOF_FIELD_NUMBER; hash = (53 * hash) + getProof().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse 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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse 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(proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse 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; } /** *
     * QueryCleanPacketCommitmentResponse defines the client query response for a packet
     * which also includes a proof and the height from which the proof was
     * retrieved
     * 
* * Protobuf type {@code tibc.core.packet.v1.QueryCleanPacketCommitmentResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tibc.core.packet.v1.QueryCleanPacketCommitmentResponse) proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.class, proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.Builder.class); } // Construct using proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.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(); commitment_ = com.google.protobuf.ByteString.EMPTY; proof_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return proto.tibc.core.packet.v1.QueryOuterClass.internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse getDefaultInstanceForType() { return proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.getDefaultInstance(); } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse build() { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse buildPartial() { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse result = new proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse(this); result.commitment_ = commitment_; result.proof_ = proof_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse) { return mergeFrom((proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse other) { if (other == proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse.getDefaultInstance()) return this; if (other.getCommitment() != com.google.protobuf.ByteString.EMPTY) { setCommitment(other.getCommitment()); } if (other.getProof() != com.google.protobuf.ByteString.EMPTY) { setProof(other.getProof()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } 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 { proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString commitment_ = com.google.protobuf.ByteString.EMPTY; /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @return The commitment. */ @java.lang.Override public com.google.protobuf.ByteString getCommitment() { return commitment_; } /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @param value The commitment to set. * @return This builder for chaining. */ public Builder setCommitment(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } commitment_ = value; onChanged(); return this; } /** *
       * packet associated with the request fields
       * 
* * bytes commitment = 1; * @return This builder for chaining. */ public Builder clearCommitment() { commitment_ = getDefaultInstance().getCommitment(); onChanged(); return this; } private com.google.protobuf.ByteString proof_ = com.google.protobuf.ByteString.EMPTY; /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return The proof. */ @java.lang.Override public com.google.protobuf.ByteString getProof() { return proof_; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @param value The proof to set. * @return This builder for chaining. */ public Builder setProof(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proof_ = value; onChanged(); return this; } /** *
       * merkle proof of existence
       * 
* * bytes proof = 2; * @return This builder for chaining. */ public Builder clearProof() { proof_ = getDefaultInstance().getProof(); onChanged(); return this; } private proto.tibc.core.client.v1.Client.Height proofHeight_; private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return Whether the proofHeight field is set. */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; * @return The proofHeight. */ public proto.tibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder setProofHeight( proto.tibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeProofHeight(proto.tibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = proto.tibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ public proto.tibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? proto.tibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** *
       * height at which the proof was retrieved
       * 
* * .tibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< proto.tibc.core.client.v1.Client.Height, proto.tibc.core.client.v1.Client.Height.Builder, proto.tibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tibc.core.packet.v1.QueryCleanPacketCommitmentResponse) } // @@protoc_insertion_point(class_scope:tibc.core.packet.v1.QueryCleanPacketCommitmentResponse) private static final proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse(); } public static proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryCleanPacketCommitmentResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryCleanPacketCommitmentResponse(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 proto.tibc.core.packet.v1.QueryOuterClass.QueryCleanPacketCommitmentResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_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\037tibc/core/packet/v1/query.proto\022\023tibc." + "core.packet.v1\032 tibc/core/client/v1/clie" + "nt.proto\032*cosmos/base/query/v1beta1/pagi" + "nation.proto\032 tibc/core/packet/v1/packet" + ".proto\032\034google/api/annotations.proto\032\024go" + "goproto/gogo.proto\"Z\n\034QueryPacketCommitm" + "entRequest\022\022\n\ndest_chain\030\001 \001(\t\022\024\n\014source" + "_chain\030\002 \001(\t\022\020\n\010sequence\030\003 \001(\004\"{\n\035QueryP" + "acketCommitmentResponse\022\022\n\ncommitment\030\001 " + "\001(\014\022\r\n\005proof\030\002 \001(\014\0227\n\014proof_height\030\003 \001(\013" + "2\033.tibc.core.client.v1.HeightB\004\310\336\037\000\"\205\001\n\035" + "QueryPacketCommitmentsRequest\022\022\n\ndest_ch" + "ain\030\001 \001(\t\022\024\n\014source_chain\030\002 \001(\t\022:\n\npagin" + "ation\030\003 \001(\0132&.cosmos.base.query.v1beta1." + "PageRequest\"\307\001\n\036QueryPacketCommitmentsRe" + "sponse\0225\n\013commitments\030\001 \003(\0132 .tibc.core." + "packet.v1.PacketState\022;\n\npagination\030\002 \001(" + "\0132\'.cosmos.base.query.v1beta1.PageRespon" + "se\0221\n\006height\030\003 \001(\0132\033.tibc.core.client.v1" + ".HeightB\004\310\336\037\000\"W\n\031QueryPacketReceiptReque" + "st\022\022\n\ndest_chain\030\001 \001(\t\022\024\n\014source_chain\030\002" + " \001(\t\022\020\n\010sequence\030\003 \001(\004\"v\n\032QueryPacketRec" + "eiptResponse\022\020\n\010received\030\002 \001(\010\022\r\n\005proof\030" + "\003 \001(\014\0227\n\014proof_height\030\004 \001(\0132\033.tibc.core." + "client.v1.HeightB\004\310\336\037\000\"_\n!QueryPacketAck" + "nowledgementRequest\022\022\n\ndest_chain\030\001 \001(\t\022" + "\024\n\014source_chain\030\002 \001(\t\022\020\n\010sequence\030\003 \001(\004\"" + "\205\001\n\"QueryPacketAcknowledgementResponse\022\027" + "\n\017acknowledgement\030\001 \001(\014\022\r\n\005proof\030\002 \001(\014\0227" + "\n\014proof_height\030\003 \001(\0132\033.tibc.core.client." + "v1.HeightB\004\310\336\037\000\"\212\001\n\"QueryPacketAcknowled" + "gementsRequest\022\022\n\ndest_chain\030\001 \001(\t\022\024\n\014so" + "urce_chain\030\002 \001(\t\022:\n\npagination\030\003 \001(\0132&.c" + "osmos.base.query.v1beta1.PageRequest\"\321\001\n" + "#QueryPacketAcknowledgementsResponse\022:\n\020" + "acknowledgements\030\001 \003(\0132 .tibc.core.packe" + "t.v1.PacketState\022;\n\npagination\030\002 \001(\0132\'.c" + "osmos.base.query.v1beta1.PageResponse\0221\n" + "\006height\030\003 \001(\0132\033.tibc.core.client.v1.Heig" + "htB\004\310\336\037\000\"n\n\035QueryUnreceivedPacketsReques" + "t\022\022\n\ndest_chain\030\001 \001(\t\022\024\n\014source_chain\030\002 " + "\001(\t\022#\n\033packet_commitment_sequences\030\003 \003(\004" + "\"f\n\036QueryUnreceivedPacketsResponse\022\021\n\tse" + "quences\030\001 \003(\004\0221\n\006height\030\002 \001(\0132\033.tibc.cor" + "e.client.v1.HeightB\004\310\336\037\000\"d\n\032QueryUnrecei" + "vedAcksRequest\022\022\n\ndest_chain\030\001 \001(\t\022\024\n\014so" + "urce_chain\030\002 \001(\t\022\034\n\024packet_ack_sequences" + "\030\003 \003(\004\"c\n\033QueryUnreceivedAcksResponse\022\021\n" + "\tsequences\030\001 \003(\004\0221\n\006height\030\002 \001(\0132\033.tibc." + "core.client.v1.HeightB\004\310\336\037\000\"M\n!QueryClea" + "nPacketCommitmentRequest\022\022\n\ndest_chain\030\001" + " \001(\t\022\024\n\014source_chain\030\002 \001(\t\"\200\001\n\"QueryClea" + "nPacketCommitmentResponse\022\022\n\ncommitment\030" + "\001 \001(\014\022\r\n\005proof\030\002 \001(\014\0227\n\014proof_height\030\003 \001" + "(\0132\033.tibc.core.client.v1.HeightB\004\310\336\037\0002\356\017" + "\n\005Query\022\360\001\n\020PacketCommitment\0221.tibc.core" + ".packet.v1.QueryPacketCommitmentRequest\032" + "2.tibc.core.packet.v1.QueryPacketCommitm" + "entResponse\"u\202\323\344\223\002o\022m/tibc/core/packet/v" + "1beta1/source_chains/{source_chain}/dest" + "_chains/{dest_chain}/packet_commitments/" + "{sequence}\022\350\001\n\021PacketCommitments\0222.tibc." + "core.packet.v1.QueryPacketCommitmentsReq" + "uest\0323.tibc.core.packet.v1.QueryPacketCo" + "mmitmentsResponse\"j\202\323\344\223\002d\022b/tibc/core/pa" + "cket/v1beta1/source_chains/{source_chain" + "}/dest_chains/{dest_chain}/packet_commit" + "ments\022\344\001\n\rPacketReceipt\022..tibc.core.pack" + "et.v1.QueryPacketReceiptRequest\032/.tibc.c" + "ore.packet.v1.QueryPacketReceiptResponse" + "\"r\202\323\344\223\002l\022j/tibc/core/packet/v1beta1/sour" + "ce_chains/{source_chain}/dest_chains/{de" + "st_chain}/packet_receipts/{sequence}\022\370\001\n" + "\025PacketAcknowledgement\0226.tibc.core.packe" + "t.v1.QueryPacketAcknowledgementRequest\0327" + ".tibc.core.packet.v1.QueryPacketAcknowle" + "dgementResponse\"n\202\323\344\223\002h\022f/tibc/core/pack" + "et/v1beta1/source_chains/{source_chain}/" + "dest_chains/{dest_chain}/packet_acks/{se" + "quence}\022\374\001\n\026PacketAcknowledgements\0227.tib" + "c.core.packet.v1.QueryPacketAcknowledgem" + "entsRequest\0328.tibc.core.packet.v1.QueryP" + "acketAcknowledgementsResponse\"o\202\323\344\223\002i\022g/" + "tibc/core/packet/v1beta1/source_chains/{" + "source_chain}/dest_chains/{dest_chain}/p" + "acket_acknowledgements\022\234\002\n\021UnreceivedPac" + "kets\0222.tibc.core.packet.v1.QueryUnreceiv" + "edPacketsRequest\0323.tibc.core.packet.v1.Q" + "ueryUnreceivedPacketsResponse\"\235\001\202\323\344\223\002\226\001\022" + "\223\001/tibc/core/packet/v1beta1/source_chain" + "s/{source_chain}/dest_chains/{dest_chain" + "}/packet_commitments/{packet_commitment_" + "sequences}/unreceived_packets\022\211\002\n\016Unrece" + "ivedAcks\022/.tibc.core.packet.v1.QueryUnre" + "ceivedAcksRequest\0320.tibc.core.packet.v1." + "QueryUnreceivedAcksResponse\"\223\001\202\323\344\223\002\214\001\022\211\001" + "/tibc/core/packet/v1beta1/source_chains/" + "{source_chain}/dest_chains/{dest_chain}/" + "packet_commitments/{packet_ack_sequences" + "}/unreceived_acks\022\372\001\n\025CleanPacketCommitm" + "ent\0226.tibc.core.packet.v1.QueryCleanPack" + "etCommitmentRequest\0327.tibc.core.packet.v" + "1.QueryCleanPacketCommitmentResponse\"p\202\323" + "\344\223\002j\022h/tibc/core/packet/v1beta1/source_c" + "hains/{source_chain}/dest_chains/{dest_c" + "hain}/clean_packet_commitmentsB\033\n\031proto." + "tibc.core.packet.v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { proto.tibc.core.client.v1.Client.getDescriptor(), proto.cosmos.base.query.v1beta1.Pagination.getDescriptor(), proto.tibc.core.packet.v1.PacketOuterClass.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), }); internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketCommitmentRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "Sequence", }); internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketCommitmentResponse_descriptor, new java.lang.String[] { "Commitment", "Proof", "ProofHeight", }); internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketCommitmentsRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "Pagination", }); internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketCommitmentsResponse_descriptor, new java.lang.String[] { "Commitments", "Pagination", "Height", }); internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketReceiptRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "Sequence", }); internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketReceiptResponse_descriptor, new java.lang.String[] { "Received", "Proof", "ProofHeight", }); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "Sequence", }); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementResponse_descriptor, new java.lang.String[] { "Acknowledgement", "Proof", "ProofHeight", }); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "Pagination", }); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryPacketAcknowledgementsResponse_descriptor, new java.lang.String[] { "Acknowledgements", "Pagination", "Height", }); internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "PacketCommitmentSequences", }); internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryUnreceivedPacketsResponse_descriptor, new java.lang.String[] { "Sequences", "Height", }); internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryUnreceivedAcksRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", "PacketAckSequences", }); internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryUnreceivedAcksResponse_descriptor, new java.lang.String[] { "Sequences", "Height", }); internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentRequest_descriptor, new java.lang.String[] { "DestChain", "SourceChain", }); internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_tibc_core_packet_v1_QueryCleanPacketCommitmentResponse_descriptor, new java.lang.String[] { "Commitment", "Proof", "ProofHeight", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); proto.tibc.core.client.v1.Client.getDescriptor(); proto.cosmos.base.query.v1beta1.Pagination.getDescriptor(); proto.tibc.core.packet.v1.PacketOuterClass.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy