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

ibc.core.channel.v1.Tx Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ibc/core/channel/v1/tx.proto

package ibc.core.channel.v1;

public final class Tx {
  private Tx() {}
  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 MsgChannelOpenInitOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenInit)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
     */
    java.lang.String getPortId();
    /**
     * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""];
     */
    com.google.protobuf.ByteString
        getPortIdBytes();

    /**
     * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false];
     */
    boolean hasChannel();
    /**
     * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false];
     */
    ibc.core.channel.v1.ChannelOuterClass.Channel getChannel();
    /**
     * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false];
     */
    ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder();

    /**
     * string signer = 3;
     */
    java.lang.String getSigner();
    /**
     * string signer = 3;
     */
    com.google.protobuf.ByteString
        getSignerBytes();
  }
  /**
   * 
   * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
   * is called by a relayer on Chain A.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenInit} */ public static final class MsgChannelOpenInit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenInit) MsgChannelOpenInitOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenInit.newBuilder() to construct. private MsgChannelOpenInit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenInit() { portId_ = ""; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenInit( 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(); portId_ = s; break; } case 18: { ibc.core.channel.v1.ChannelOuterClass.Channel.Builder subBuilder = null; if (channel_ != null) { subBuilder = channel_.toBuilder(); } channel_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Channel.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(channel_); channel_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInit_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenInit.class, ibc.core.channel.v1.Tx.MsgChannelOpenInit.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_FIELD_NUMBER = 2; private ibc.core.channel.v1.ChannelOuterClass.Channel channel_; /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public boolean hasChannel() { return channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel getChannel() { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder() { return getChannel(); } public static final int SIGNER_FIELD_NUMBER = 3; private volatile java.lang.Object signer_; /** * string signer = 3; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 3; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (channel_ != null) { output.writeMessage(2, getChannel()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (channel_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getChannel()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenInit)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenInit other = (ibc.core.channel.v1.Tx.MsgChannelOpenInit) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && (hasChannel() == other.hasChannel()); if (hasChannel()) { result = result && getChannel() .equals(other.getChannel()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); if (hasChannel()) { hash = (37 * hash) + CHANNEL_FIELD_NUMBER; hash = (53 * hash) + getChannel().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenInit 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; } /** *
     * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
     * is called by a relayer on Chain A.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenInit} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenInit) ibc.core.channel.v1.Tx.MsgChannelOpenInitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInit_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenInit.class, ibc.core.channel.v1.Tx.MsgChannelOpenInit.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenInit.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(); portId_ = ""; if (channelBuilder_ == null) { channel_ = null; } else { channel_ = null; channelBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInit getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenInit.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInit build() { ibc.core.channel.v1.Tx.MsgChannelOpenInit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInit buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenInit result = new ibc.core.channel.v1.Tx.MsgChannelOpenInit(this); result.portId_ = portId_; if (channelBuilder_ == null) { result.channel_ = channel_; } else { result.channel_ = channelBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenInit) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenInit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenInit other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenInit.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (other.hasChannel()) { mergeChannel(other.getChannel()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenInit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenInit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private ibc.core.channel.v1.ChannelOuterClass.Channel channel_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder> channelBuilder_; /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel getChannel() { if (channelBuilder_ == null) { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } else { return channelBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public Builder setChannel(ibc.core.channel.v1.ChannelOuterClass.Channel value) { if (channelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } channel_ = value; onChanged(); } else { channelBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public Builder setChannel( ibc.core.channel.v1.ChannelOuterClass.Channel.Builder builderForValue) { if (channelBuilder_ == null) { channel_ = builderForValue.build(); onChanged(); } else { channelBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public Builder mergeChannel(ibc.core.channel.v1.ChannelOuterClass.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = ibc.core.channel.v1.ChannelOuterClass.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); } else { channel_ = value; } onChanged(); } else { channelBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public Builder clearChannel() { if (channelBuilder_ == null) { channel_ = null; onChanged(); } else { channel_ = null; channelBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel.Builder getChannelBuilder() { onChanged(); return getChannelFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } } /** * .ibc.core.channel.v1.Channel channel = 2 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder>( getChannel(), getParentForChildren(), isClean()); channel_ = null; } return channelBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 3; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 3; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 3; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 3; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 3; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenInit) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenInit) private static final ibc.core.channel.v1.Tx.MsgChannelOpenInit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenInit(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenInit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenInit(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenInitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenInitResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenInitResponse} */ public static final class MsgChannelOpenInitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenInitResponse) MsgChannelOpenInitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenInitResponse.newBuilder() to construct. private MsgChannelOpenInitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenInitResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenInitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse other = (ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse 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; } /** *
     * MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenInitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenInitResponse) ibc.core.channel.v1.Tx.MsgChannelOpenInitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse build() { ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse result = new ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenInitResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenInitResponse) private static final ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenInitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenInitResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenTryOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenTry) com.google.protobuf.MessageOrBuilder { /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ java.lang.String getPortId(); /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ com.google.protobuf.ByteString getPortIdBytes(); /** *
     * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
     * of the previous channel in state INIT
     * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ java.lang.String getPreviousChannelId(); /** *
     * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
     * of the previous channel in state INIT
     * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ com.google.protobuf.ByteString getPreviousChannelIdBytes(); /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ boolean hasChannel(); /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.Channel getChannel(); /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder(); /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ java.lang.String getCounterpartyVersion(); /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ com.google.protobuf.ByteString getCounterpartyVersionBytes(); /** * bytes proof_init = 5 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ com.google.protobuf.ByteString getProofInit(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 7; */ java.lang.String getSigner(); /** * string signer = 7; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
   * on Chain B.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenTry} */ public static final class MsgChannelOpenTry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenTry) MsgChannelOpenTryOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenTry.newBuilder() to construct. private MsgChannelOpenTry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenTry() { portId_ = ""; previousChannelId_ = ""; counterpartyVersion_ = ""; proofInit_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenTry( 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(); portId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); previousChannelId_ = s; break; } case 26: { ibc.core.channel.v1.ChannelOuterClass.Channel.Builder subBuilder = null; if (channel_ != null) { subBuilder = channel_.toBuilder(); } channel_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Channel.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(channel_); channel_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); counterpartyVersion_ = s; break; } case 42: { proofInit_ = input.readBytes(); break; } case 50: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTry_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenTry.class, ibc.core.channel.v1.Tx.MsgChannelOpenTry.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PREVIOUS_CHANNEL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object previousChannelId_; /** *
     * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
     * of the previous channel in state INIT
     * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public java.lang.String getPreviousChannelId() { java.lang.Object ref = previousChannelId_; 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(); previousChannelId_ = s; return s; } } /** *
     * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
     * of the previous channel in state INIT
     * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public com.google.protobuf.ByteString getPreviousChannelIdBytes() { java.lang.Object ref = previousChannelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); previousChannelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_FIELD_NUMBER = 3; private ibc.core.channel.v1.ChannelOuterClass.Channel channel_; /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public boolean hasChannel() { return channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel getChannel() { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder() { return getChannel(); } public static final int COUNTERPARTY_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object counterpartyVersion_; /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public java.lang.String getCounterpartyVersion() { java.lang.Object ref = counterpartyVersion_; 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(); counterpartyVersion_ = s; return s; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public com.google.protobuf.ByteString getCounterpartyVersionBytes() { java.lang.Object ref = counterpartyVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROOF_INIT_FIELD_NUMBER = 5; private com.google.protobuf.ByteString proofInit_; /** * bytes proof_init = 5 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public com.google.protobuf.ByteString getProofInit() { return proofInit_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 6; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 7; private volatile java.lang.Object signer_; /** * string signer = 7; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 7; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (!getPreviousChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, previousChannelId_); } if (channel_ != null) { output.writeMessage(3, getChannel()); } if (!getCounterpartyVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, counterpartyVersion_); } if (!proofInit_.isEmpty()) { output.writeBytes(5, proofInit_); } if (proofHeight_ != null) { output.writeMessage(6, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (!getPreviousChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, previousChannelId_); } if (channel_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getChannel()); } if (!getCounterpartyVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, counterpartyVersion_); } if (!proofInit_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, proofInit_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenTry)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenTry other = (ibc.core.channel.v1.Tx.MsgChannelOpenTry) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && getPreviousChannelId() .equals(other.getPreviousChannelId()); result = result && (hasChannel() == other.hasChannel()); if (hasChannel()) { result = result && getChannel() .equals(other.getChannel()); } result = result && getCounterpartyVersion() .equals(other.getCounterpartyVersion()); result = result && getProofInit() .equals(other.getProofInit()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); hash = (37 * hash) + PREVIOUS_CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getPreviousChannelId().hashCode(); if (hasChannel()) { hash = (37 * hash) + CHANNEL_FIELD_NUMBER; hash = (53 * hash) + getChannel().hashCode(); } hash = (37 * hash) + COUNTERPARTY_VERSION_FIELD_NUMBER; hash = (53 * hash) + getCounterpartyVersion().hashCode(); hash = (37 * hash) + PROOF_INIT_FIELD_NUMBER; hash = (53 * hash) + getProofInit().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenTry 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; } /** *
     * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
     * on Chain B.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenTry} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenTry) ibc.core.channel.v1.Tx.MsgChannelOpenTryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTry_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenTry.class, ibc.core.channel.v1.Tx.MsgChannelOpenTry.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenTry.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(); portId_ = ""; previousChannelId_ = ""; if (channelBuilder_ == null) { channel_ = null; } else { channel_ = null; channelBuilder_ = null; } counterpartyVersion_ = ""; proofInit_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTry getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenTry.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTry build() { ibc.core.channel.v1.Tx.MsgChannelOpenTry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTry buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenTry result = new ibc.core.channel.v1.Tx.MsgChannelOpenTry(this); result.portId_ = portId_; result.previousChannelId_ = previousChannelId_; if (channelBuilder_ == null) { result.channel_ = channel_; } else { result.channel_ = channelBuilder_.build(); } result.counterpartyVersion_ = counterpartyVersion_; result.proofInit_ = proofInit_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenTry) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenTry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenTry other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenTry.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (!other.getPreviousChannelId().isEmpty()) { previousChannelId_ = other.previousChannelId_; onChanged(); } if (other.hasChannel()) { mergeChannel(other.getChannel()); } if (!other.getCounterpartyVersion().isEmpty()) { counterpartyVersion_ = other.counterpartyVersion_; onChanged(); } if (other.getProofInit() != com.google.protobuf.ByteString.EMPTY) { setProofInit(other.getProofInit()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenTry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenTry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private java.lang.Object previousChannelId_ = ""; /** *
       * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
       * of the previous channel in state INIT
       * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public java.lang.String getPreviousChannelId() { java.lang.Object ref = previousChannelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); previousChannelId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
       * of the previous channel in state INIT
       * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public com.google.protobuf.ByteString getPreviousChannelIdBytes() { java.lang.Object ref = previousChannelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); previousChannelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
       * of the previous channel in state INIT
       * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public Builder setPreviousChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } previousChannelId_ = value; onChanged(); return this; } /** *
       * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
       * of the previous channel in state INIT
       * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public Builder clearPreviousChannelId() { previousChannelId_ = getDefaultInstance().getPreviousChannelId(); onChanged(); return this; } /** *
       * in the case of crossing hello's, when both chains call OpenInit, we need the channel identifier
       * of the previous channel in state INIT
       * 
* * string previous_channel_id = 2 [(.gogoproto.moretags) = "yaml:\"previous_channel_id\""]; */ public Builder setPreviousChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); previousChannelId_ = value; onChanged(); return this; } private ibc.core.channel.v1.ChannelOuterClass.Channel channel_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder> channelBuilder_; /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel getChannel() { if (channelBuilder_ == null) { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } else { return channelBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public Builder setChannel(ibc.core.channel.v1.ChannelOuterClass.Channel value) { if (channelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } channel_ = value; onChanged(); } else { channelBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public Builder setChannel( ibc.core.channel.v1.ChannelOuterClass.Channel.Builder builderForValue) { if (channelBuilder_ == null) { channel_ = builderForValue.build(); onChanged(); } else { channelBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public Builder mergeChannel(ibc.core.channel.v1.ChannelOuterClass.Channel value) { if (channelBuilder_ == null) { if (channel_ != null) { channel_ = ibc.core.channel.v1.ChannelOuterClass.Channel.newBuilder(channel_).mergeFrom(value).buildPartial(); } else { channel_ = value; } onChanged(); } else { channelBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public Builder clearChannel() { if (channelBuilder_ == null) { channel_ = null; onChanged(); } else { channel_ = null; channelBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Channel.Builder getChannelBuilder() { onChanged(); return getChannelFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder() { if (channelBuilder_ != null) { return channelBuilder_.getMessageOrBuilder(); } else { return channel_ == null ? ibc.core.channel.v1.ChannelOuterClass.Channel.getDefaultInstance() : channel_; } } /** * .ibc.core.channel.v1.Channel channel = 3 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder> getChannelFieldBuilder() { if (channelBuilder_ == null) { channelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Channel, ibc.core.channel.v1.ChannelOuterClass.Channel.Builder, ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder>( getChannel(), getParentForChildren(), isClean()); channel_ = null; } return channelBuilder_; } private java.lang.Object counterpartyVersion_ = ""; /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public java.lang.String getCounterpartyVersion() { java.lang.Object ref = counterpartyVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); counterpartyVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public com.google.protobuf.ByteString getCounterpartyVersionBytes() { java.lang.Object ref = counterpartyVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder setCounterpartyVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } counterpartyVersion_ = value; onChanged(); return this; } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder clearCounterpartyVersion() { counterpartyVersion_ = getDefaultInstance().getCounterpartyVersion(); onChanged(); return this; } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder setCounterpartyVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); counterpartyVersion_ = value; onChanged(); return this; } private com.google.protobuf.ByteString proofInit_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_init = 5 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public com.google.protobuf.ByteString getProofInit() { return proofInit_; } /** * bytes proof_init = 5 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public Builder setProofInit(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofInit_ = value; onChanged(); return this; } /** * bytes proof_init = 5 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public Builder clearProofInit() { proofInit_ = getDefaultInstance().getProofInit(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 7; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 7; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 7; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 7; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 7; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenTry) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenTry) private static final ibc.core.channel.v1.Tx.MsgChannelOpenTry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenTry(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenTry parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenTry(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenTryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenTryResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenTryResponse} */ public static final class MsgChannelOpenTryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenTryResponse) MsgChannelOpenTryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenTryResponse.newBuilder() to construct. private MsgChannelOpenTryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenTryResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenTryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse other = (ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse 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; } /** *
     * MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenTryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenTryResponse) ibc.core.channel.v1.Tx.MsgChannelOpenTryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse build() { ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse result = new ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenTryResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenTryResponse) private static final ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenTryResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenTryResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenAckOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenAck) com.google.protobuf.MessageOrBuilder { /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ java.lang.String getPortId(); /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ com.google.protobuf.ByteString getPortIdBytes(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ java.lang.String getChannelId(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ com.google.protobuf.ByteString getChannelIdBytes(); /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ java.lang.String getCounterpartyChannelId(); /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ com.google.protobuf.ByteString getCounterpartyChannelIdBytes(); /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ java.lang.String getCounterpartyVersion(); /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ com.google.protobuf.ByteString getCounterpartyVersionBytes(); /** * bytes proof_try = 5 [(.gogoproto.moretags) = "yaml:\"proof_try\""]; */ com.google.protobuf.ByteString getProofTry(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 7; */ java.lang.String getSigner(); /** * string signer = 7; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
   * the change of channel state to TRYOPEN on Chain B.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenAck} */ public static final class MsgChannelOpenAck extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenAck) MsgChannelOpenAckOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenAck.newBuilder() to construct. private MsgChannelOpenAck(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenAck() { portId_ = ""; channelId_ = ""; counterpartyChannelId_ = ""; counterpartyVersion_ = ""; proofTry_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenAck( 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(); portId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); channelId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); counterpartyChannelId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); counterpartyVersion_ = s; break; } case 42: { proofTry_ = input.readBytes(); break; } case 50: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAck_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenAck.class, ibc.core.channel.v1.Tx.MsgChannelOpenAck.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object channelId_; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNTERPARTY_CHANNEL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object counterpartyChannelId_; /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public java.lang.String getCounterpartyChannelId() { java.lang.Object ref = counterpartyChannelId_; 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(); counterpartyChannelId_ = s; return s; } } /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public com.google.protobuf.ByteString getCounterpartyChannelIdBytes() { java.lang.Object ref = counterpartyChannelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyChannelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNTERPARTY_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object counterpartyVersion_; /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public java.lang.String getCounterpartyVersion() { java.lang.Object ref = counterpartyVersion_; 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(); counterpartyVersion_ = s; return s; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public com.google.protobuf.ByteString getCounterpartyVersionBytes() { java.lang.Object ref = counterpartyVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROOF_TRY_FIELD_NUMBER = 5; private com.google.protobuf.ByteString proofTry_; /** * bytes proof_try = 5 [(.gogoproto.moretags) = "yaml:\"proof_try\""]; */ public com.google.protobuf.ByteString getProofTry() { return proofTry_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 6; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 7; private volatile java.lang.Object signer_; /** * string signer = 7; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 7; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelId_); } if (!getCounterpartyChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, counterpartyChannelId_); } if (!getCounterpartyVersionBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, counterpartyVersion_); } if (!proofTry_.isEmpty()) { output.writeBytes(5, proofTry_); } if (proofHeight_ != null) { output.writeMessage(6, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelId_); } if (!getCounterpartyChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, counterpartyChannelId_); } if (!getCounterpartyVersionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, counterpartyVersion_); } if (!proofTry_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, proofTry_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenAck)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenAck other = (ibc.core.channel.v1.Tx.MsgChannelOpenAck) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && getChannelId() .equals(other.getChannelId()); result = result && getCounterpartyChannelId() .equals(other.getCounterpartyChannelId()); result = result && getCounterpartyVersion() .equals(other.getCounterpartyVersion()); result = result && getProofTry() .equals(other.getProofTry()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId().hashCode(); hash = (37 * hash) + COUNTERPARTY_CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getCounterpartyChannelId().hashCode(); hash = (37 * hash) + COUNTERPARTY_VERSION_FIELD_NUMBER; hash = (53 * hash) + getCounterpartyVersion().hashCode(); hash = (37 * hash) + PROOF_TRY_FIELD_NUMBER; hash = (53 * hash) + getProofTry().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenAck 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; } /** *
     * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
     * the change of channel state to TRYOPEN on Chain B.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenAck} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenAck) ibc.core.channel.v1.Tx.MsgChannelOpenAckOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAck_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenAck.class, ibc.core.channel.v1.Tx.MsgChannelOpenAck.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenAck.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(); portId_ = ""; channelId_ = ""; counterpartyChannelId_ = ""; counterpartyVersion_ = ""; proofTry_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAck getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenAck.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAck build() { ibc.core.channel.v1.Tx.MsgChannelOpenAck result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAck buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenAck result = new ibc.core.channel.v1.Tx.MsgChannelOpenAck(this); result.portId_ = portId_; result.channelId_ = channelId_; result.counterpartyChannelId_ = counterpartyChannelId_; result.counterpartyVersion_ = counterpartyVersion_; result.proofTry_ = proofTry_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenAck) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenAck)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenAck other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenAck.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (!other.getChannelId().isEmpty()) { channelId_ = other.channelId_; onChanged(); } if (!other.getCounterpartyChannelId().isEmpty()) { counterpartyChannelId_ = other.counterpartyChannelId_; onChanged(); } if (!other.getCounterpartyVersion().isEmpty()) { counterpartyVersion_ = other.counterpartyVersion_; onChanged(); } if (other.getProofTry() != com.google.protobuf.ByteString.EMPTY) { setProofTry(other.getProofTry()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenAck parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenAck) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private java.lang.Object channelId_ = ""; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelId_ = value; onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder clearChannelId() { channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelId_ = value; onChanged(); return this; } private java.lang.Object counterpartyChannelId_ = ""; /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public java.lang.String getCounterpartyChannelId() { java.lang.Object ref = counterpartyChannelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); counterpartyChannelId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public com.google.protobuf.ByteString getCounterpartyChannelIdBytes() { java.lang.Object ref = counterpartyChannelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyChannelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public Builder setCounterpartyChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } counterpartyChannelId_ = value; onChanged(); return this; } /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public Builder clearCounterpartyChannelId() { counterpartyChannelId_ = getDefaultInstance().getCounterpartyChannelId(); onChanged(); return this; } /** * string counterparty_channel_id = 3 [(.gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; */ public Builder setCounterpartyChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); counterpartyChannelId_ = value; onChanged(); return this; } private java.lang.Object counterpartyVersion_ = ""; /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public java.lang.String getCounterpartyVersion() { java.lang.Object ref = counterpartyVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); counterpartyVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public com.google.protobuf.ByteString getCounterpartyVersionBytes() { java.lang.Object ref = counterpartyVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); counterpartyVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder setCounterpartyVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } counterpartyVersion_ = value; onChanged(); return this; } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder clearCounterpartyVersion() { counterpartyVersion_ = getDefaultInstance().getCounterpartyVersion(); onChanged(); return this; } /** * string counterparty_version = 4 [(.gogoproto.moretags) = "yaml:\"counterparty_version\""]; */ public Builder setCounterpartyVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); counterpartyVersion_ = value; onChanged(); return this; } private com.google.protobuf.ByteString proofTry_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_try = 5 [(.gogoproto.moretags) = "yaml:\"proof_try\""]; */ public com.google.protobuf.ByteString getProofTry() { return proofTry_; } /** * bytes proof_try = 5 [(.gogoproto.moretags) = "yaml:\"proof_try\""]; */ public Builder setProofTry(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofTry_ = value; onChanged(); return this; } /** * bytes proof_try = 5 [(.gogoproto.moretags) = "yaml:\"proof_try\""]; */ public Builder clearProofTry() { proofTry_ = getDefaultInstance().getProofTry(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 6 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 7; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 7; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 7; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 7; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 7; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenAck) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenAck) private static final ibc.core.channel.v1.Tx.MsgChannelOpenAck DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenAck(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAck getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenAck parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenAck(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAck getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenAckResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenAckResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenAckResponse} */ public static final class MsgChannelOpenAckResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenAckResponse) MsgChannelOpenAckResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenAckResponse.newBuilder() to construct. private MsgChannelOpenAckResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenAckResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenAckResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse other = (ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse 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; } /** *
     * MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenAckResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenAckResponse) ibc.core.channel.v1.Tx.MsgChannelOpenAckResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse build() { ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse result = new ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenAckResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenAckResponse) private static final ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenAckResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenAckResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenConfirmOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenConfirm) com.google.protobuf.MessageOrBuilder { /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ java.lang.String getPortId(); /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ com.google.protobuf.ByteString getPortIdBytes(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ java.lang.String getChannelId(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ com.google.protobuf.ByteString getChannelIdBytes(); /** * bytes proof_ack = 3 [(.gogoproto.moretags) = "yaml:\"proof_ack\""]; */ com.google.protobuf.ByteString getProofAck(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 5; */ java.lang.String getSigner(); /** * string signer = 5; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
   * acknowledge the change of channel state to OPEN on Chain A.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenConfirm} */ public static final class MsgChannelOpenConfirm extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenConfirm) MsgChannelOpenConfirmOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenConfirm.newBuilder() to construct. private MsgChannelOpenConfirm(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenConfirm() { portId_ = ""; channelId_ = ""; proofAck_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenConfirm( 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(); portId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); channelId_ = s; break; } case 26: { proofAck_ = input.readBytes(); break; } case 34: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.class, ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object channelId_; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROOF_ACK_FIELD_NUMBER = 3; private com.google.protobuf.ByteString proofAck_; /** * bytes proof_ack = 3 [(.gogoproto.moretags) = "yaml:\"proof_ack\""]; */ public com.google.protobuf.ByteString getProofAck() { return proofAck_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 4; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 5; private volatile java.lang.Object signer_; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelId_); } if (!proofAck_.isEmpty()) { output.writeBytes(3, proofAck_); } if (proofHeight_ != null) { output.writeMessage(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelId_); } if (!proofAck_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, proofAck_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenConfirm)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenConfirm other = (ibc.core.channel.v1.Tx.MsgChannelOpenConfirm) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && getChannelId() .equals(other.getChannelId()); result = result && getProofAck() .equals(other.getProofAck()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId().hashCode(); hash = (37 * hash) + PROOF_ACK_FIELD_NUMBER; hash = (53 * hash) + getProofAck().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenConfirm 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; } /** *
     * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
     * acknowledge the change of channel state to OPEN on Chain A.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenConfirm} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenConfirm) ibc.core.channel.v1.Tx.MsgChannelOpenConfirmOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.class, ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.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(); portId_ = ""; channelId_ = ""; proofAck_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirm getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirm build() { ibc.core.channel.v1.Tx.MsgChannelOpenConfirm result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirm buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenConfirm result = new ibc.core.channel.v1.Tx.MsgChannelOpenConfirm(this); result.portId_ = portId_; result.channelId_ = channelId_; result.proofAck_ = proofAck_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenConfirm) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenConfirm)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenConfirm other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (!other.getChannelId().isEmpty()) { channelId_ = other.channelId_; onChanged(); } if (other.getProofAck() != com.google.protobuf.ByteString.EMPTY) { setProofAck(other.getProofAck()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenConfirm parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenConfirm) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private java.lang.Object channelId_ = ""; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelId_ = value; onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder clearChannelId() { channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelId_ = value; onChanged(); return this; } private com.google.protobuf.ByteString proofAck_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_ack = 3 [(.gogoproto.moretags) = "yaml:\"proof_ack\""]; */ public com.google.protobuf.ByteString getProofAck() { return proofAck_; } /** * bytes proof_ack = 3 [(.gogoproto.moretags) = "yaml:\"proof_ack\""]; */ public Builder setProofAck(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofAck_ = value; onChanged(); return this; } /** * bytes proof_ack = 3 [(.gogoproto.moretags) = "yaml:\"proof_ack\""]; */ public Builder clearProofAck() { proofAck_ = getDefaultInstance().getProofAck(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 5; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 5; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 5; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenConfirm) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenConfirm) private static final ibc.core.channel.v1.Tx.MsgChannelOpenConfirm DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenConfirm(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirm getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenConfirm parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenConfirm(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirm getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelOpenConfirmResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelOpenConfirmResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenConfirmResponse} */ public static final class MsgChannelOpenConfirmResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelOpenConfirmResponse) MsgChannelOpenConfirmResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelOpenConfirmResponse.newBuilder() to construct. private MsgChannelOpenConfirmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelOpenConfirmResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelOpenConfirmResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse other = (ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse 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; } /** *
     * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelOpenConfirmResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelOpenConfirmResponse) ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.class, ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse build() { ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse result = new ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelOpenConfirmResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelOpenConfirmResponse) private static final ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelOpenConfirmResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelOpenConfirmResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelCloseInitOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelCloseInit) com.google.protobuf.MessageOrBuilder { /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ java.lang.String getPortId(); /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ com.google.protobuf.ByteString getPortIdBytes(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ java.lang.String getChannelId(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ com.google.protobuf.ByteString getChannelIdBytes(); /** * string signer = 3; */ java.lang.String getSigner(); /** * string signer = 3; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A
   * to close a channel with Chain B.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseInit} */ public static final class MsgChannelCloseInit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelCloseInit) MsgChannelCloseInitOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelCloseInit.newBuilder() to construct. private MsgChannelCloseInit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelCloseInit() { portId_ = ""; channelId_ = ""; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelCloseInit( 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(); portId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); channelId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInit_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseInit.class, ibc.core.channel.v1.Tx.MsgChannelCloseInit.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object channelId_; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SIGNER_FIELD_NUMBER = 3; private volatile java.lang.Object signer_; /** * string signer = 3; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 3; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelId_); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelId_); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelCloseInit)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelCloseInit other = (ibc.core.channel.v1.Tx.MsgChannelCloseInit) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && getChannelId() .equals(other.getChannelId()); result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId().hashCode(); hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelCloseInit 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; } /** *
     * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A
     * to close a channel with Chain B.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseInit} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelCloseInit) ibc.core.channel.v1.Tx.MsgChannelCloseInitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInit_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseInit.class, ibc.core.channel.v1.Tx.MsgChannelCloseInit.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelCloseInit.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(); portId_ = ""; channelId_ = ""; signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInit getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelCloseInit.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInit build() { ibc.core.channel.v1.Tx.MsgChannelCloseInit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInit buildPartial() { ibc.core.channel.v1.Tx.MsgChannelCloseInit result = new ibc.core.channel.v1.Tx.MsgChannelCloseInit(this); result.portId_ = portId_; result.channelId_ = channelId_; result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelCloseInit) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelCloseInit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelCloseInit other) { if (other == ibc.core.channel.v1.Tx.MsgChannelCloseInit.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (!other.getChannelId().isEmpty()) { channelId_ = other.channelId_; onChanged(); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelCloseInit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelCloseInit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private java.lang.Object channelId_ = ""; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelId_ = value; onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder clearChannelId() { channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelId_ = value; onChanged(); return this; } private java.lang.Object signer_ = ""; /** * string signer = 3; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 3; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 3; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 3; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 3; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelCloseInit) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelCloseInit) private static final ibc.core.channel.v1.Tx.MsgChannelCloseInit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelCloseInit(); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelCloseInit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelCloseInit(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelCloseInitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelCloseInitResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseInitResponse} */ public static final class MsgChannelCloseInitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelCloseInitResponse) MsgChannelCloseInitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelCloseInitResponse.newBuilder() to construct. private MsgChannelCloseInitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelCloseInitResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelCloseInitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.class, ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse other = (ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse 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; } /** *
     * MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseInitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelCloseInitResponse) ibc.core.channel.v1.Tx.MsgChannelCloseInitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.class, ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse build() { ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse result = new ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelCloseInitResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelCloseInitResponse) private static final ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelCloseInitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelCloseInitResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelCloseConfirmOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelCloseConfirm) com.google.protobuf.MessageOrBuilder { /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ java.lang.String getPortId(); /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ com.google.protobuf.ByteString getPortIdBytes(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ java.lang.String getChannelId(); /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ com.google.protobuf.ByteString getChannelIdBytes(); /** * bytes proof_init = 3 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ com.google.protobuf.ByteString getProofInit(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 5; */ java.lang.String getSigner(); /** * string signer = 5; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B
   * to acknowledge the change of channel state to CLOSED on Chain A.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseConfirm} */ public static final class MsgChannelCloseConfirm extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelCloseConfirm) MsgChannelCloseConfirmOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelCloseConfirm.newBuilder() to construct. private MsgChannelCloseConfirm(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelCloseConfirm() { portId_ = ""; channelId_ = ""; proofInit_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelCloseConfirm( 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(); portId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); channelId_ = s; break; } case 26: { proofInit_ = input.readBytes(); break; } case 34: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.class, ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.Builder.class); } public static final int PORT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object portId_; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; 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(); portId_ = s; return s; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CHANNEL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object channelId_; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; 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(); channelId_ = s; return s; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROOF_INIT_FIELD_NUMBER = 3; private com.google.protobuf.ByteString proofInit_; /** * bytes proof_init = 3 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public com.google.protobuf.ByteString getProofInit() { return proofInit_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 4; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 5; private volatile java.lang.Object signer_; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (!getPortIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, portId_); } if (!getChannelIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelId_); } if (!proofInit_.isEmpty()) { output.writeBytes(3, proofInit_); } if (proofHeight_ != null) { output.writeMessage(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPortIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, portId_); } if (!getChannelIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelId_); } if (!proofInit_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, proofInit_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelCloseConfirm)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelCloseConfirm other = (ibc.core.channel.v1.Tx.MsgChannelCloseConfirm) obj; boolean result = true; result = result && getPortId() .equals(other.getPortId()); result = result && getChannelId() .equals(other.getChannelId()); result = result && getProofInit() .equals(other.getProofInit()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PORT_ID_FIELD_NUMBER; hash = (53 * hash) + getPortId().hashCode(); hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER; hash = (53 * hash) + getChannelId().hashCode(); hash = (37 * hash) + PROOF_INIT_FIELD_NUMBER; hash = (53 * hash) + getProofInit().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelCloseConfirm 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; } /** *
     * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B
     * to acknowledge the change of channel state to CLOSED on Chain A.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseConfirm} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelCloseConfirm) ibc.core.channel.v1.Tx.MsgChannelCloseConfirmOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.class, ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.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(); portId_ = ""; channelId_ = ""; proofInit_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirm getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirm build() { ibc.core.channel.v1.Tx.MsgChannelCloseConfirm result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirm buildPartial() { ibc.core.channel.v1.Tx.MsgChannelCloseConfirm result = new ibc.core.channel.v1.Tx.MsgChannelCloseConfirm(this); result.portId_ = portId_; result.channelId_ = channelId_; result.proofInit_ = proofInit_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelCloseConfirm) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelCloseConfirm)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelCloseConfirm other) { if (other == ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.getDefaultInstance()) return this; if (!other.getPortId().isEmpty()) { portId_ = other.portId_; onChanged(); } if (!other.getChannelId().isEmpty()) { channelId_ = other.channelId_; onChanged(); } if (other.getProofInit() != com.google.protobuf.ByteString.EMPTY) { setProofInit(other.getProofInit()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelCloseConfirm parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelCloseConfirm) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object portId_ = ""; /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public java.lang.String getPortId() { java.lang.Object ref = portId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); portId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public com.google.protobuf.ByteString getPortIdBytes() { java.lang.Object ref = portId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); portId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } portId_ = value; onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder clearPortId() { portId_ = getDefaultInstance().getPortId(); onChanged(); return this; } /** * string port_id = 1 [(.gogoproto.moretags) = "yaml:\"port_id\""]; */ public Builder setPortIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); portId_ = value; onChanged(); return this; } private java.lang.Object channelId_ = ""; /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public java.lang.String getChannelId() { java.lang.Object ref = channelId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public com.google.protobuf.ByteString getChannelIdBytes() { java.lang.Object ref = channelId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelId_ = value; onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder clearChannelId() { channelId_ = getDefaultInstance().getChannelId(); onChanged(); return this; } /** * string channel_id = 2 [(.gogoproto.moretags) = "yaml:\"channel_id\""]; */ public Builder setChannelIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelId_ = value; onChanged(); return this; } private com.google.protobuf.ByteString proofInit_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_init = 3 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public com.google.protobuf.ByteString getProofInit() { return proofInit_; } /** * bytes proof_init = 3 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public Builder setProofInit(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofInit_ = value; onChanged(); return this; } /** * bytes proof_init = 3 [(.gogoproto.moretags) = "yaml:\"proof_init\""]; */ public Builder clearProofInit() { proofInit_ = getDefaultInstance().getProofInit(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 5; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 5; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 5; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelCloseConfirm) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelCloseConfirm) private static final ibc.core.channel.v1.Tx.MsgChannelCloseConfirm DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelCloseConfirm(); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirm getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelCloseConfirm parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelCloseConfirm(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirm getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgChannelCloseConfirmResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgChannelCloseConfirmResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseConfirmResponse} */ public static final class MsgChannelCloseConfirmResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgChannelCloseConfirmResponse) MsgChannelCloseConfirmResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgChannelCloseConfirmResponse.newBuilder() to construct. private MsgChannelCloseConfirmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgChannelCloseConfirmResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgChannelCloseConfirmResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.class, ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse other = (ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse 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; } /** *
     * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgChannelCloseConfirmResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgChannelCloseConfirmResponse) ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.class, ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse build() { ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse buildPartial() { ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse result = new ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse other) { if (other == ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgChannelCloseConfirmResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgChannelCloseConfirmResponse) private static final ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse(); } public static ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgChannelCloseConfirmResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgChannelCloseConfirmResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgRecvPacketOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgRecvPacket) com.google.protobuf.MessageOrBuilder { /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ boolean hasPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.Packet getPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder(); /** * bytes proof_commitment = 2 [(.gogoproto.moretags) = "yaml:\"proof_commitment\""]; */ com.google.protobuf.ByteString getProofCommitment(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 4; */ java.lang.String getSigner(); /** * string signer = 4; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgRecvPacket receives incoming IBC packet
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgRecvPacket} */ public static final class MsgRecvPacket extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgRecvPacket) MsgRecvPacketOrBuilder { private static final long serialVersionUID = 0L; // Use MsgRecvPacket.newBuilder() to construct. private MsgRecvPacket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgRecvPacket() { proofCommitment_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgRecvPacket( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ibc.core.channel.v1.ChannelOuterClass.Packet.Builder subBuilder = null; if (packet_ != null) { subBuilder = packet_.toBuilder(); } packet_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Packet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packet_); packet_ = subBuilder.buildPartial(); } break; } case 18: { proofCommitment_ = input.readBytes(); break; } case 26: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgRecvPacket.class, ibc.core.channel.v1.Tx.MsgRecvPacket.Builder.class); } public static final int PACKET_FIELD_NUMBER = 1; private ibc.core.channel.v1.ChannelOuterClass.Packet packet_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { return getPacket(); } public static final int PROOF_COMMITMENT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proofCommitment_; /** * bytes proof_commitment = 2 [(.gogoproto.moretags) = "yaml:\"proof_commitment\""]; */ public com.google.protobuf.ByteString getProofCommitment() { return proofCommitment_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 3; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 4; private volatile java.lang.Object signer_; /** * string signer = 4; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 4; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (packet_ != null) { output.writeMessage(1, getPacket()); } if (!proofCommitment_.isEmpty()) { output.writeBytes(2, proofCommitment_); } if (proofHeight_ != null) { output.writeMessage(3, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (packet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPacket()); } if (!proofCommitment_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proofCommitment_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgRecvPacket)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgRecvPacket other = (ibc.core.channel.v1.Tx.MsgRecvPacket) obj; boolean result = true; result = result && (hasPacket() == other.hasPacket()); if (hasPacket()) { result = result && getPacket() .equals(other.getPacket()); } result = result && getProofCommitment() .equals(other.getProofCommitment()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); } hash = (37 * hash) + PROOF_COMMITMENT_FIELD_NUMBER; hash = (53 * hash) + getProofCommitment().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgRecvPacket 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; } /** *
     * MsgRecvPacket receives incoming IBC packet
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgRecvPacket} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgRecvPacket) ibc.core.channel.v1.Tx.MsgRecvPacketOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacket_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgRecvPacket.class, ibc.core.channel.v1.Tx.MsgRecvPacket.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgRecvPacket.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (packetBuilder_ == null) { packet_ = null; } else { packet_ = null; packetBuilder_ = null; } proofCommitment_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacket getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgRecvPacket.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacket build() { ibc.core.channel.v1.Tx.MsgRecvPacket result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacket buildPartial() { ibc.core.channel.v1.Tx.MsgRecvPacket result = new ibc.core.channel.v1.Tx.MsgRecvPacket(this); if (packetBuilder_ == null) { result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } result.proofCommitment_ = proofCommitment_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgRecvPacket) { return mergeFrom((ibc.core.channel.v1.Tx.MsgRecvPacket)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgRecvPacket other) { if (other == ibc.core.channel.v1.Tx.MsgRecvPacket.getDefaultInstance()) return this; if (other.hasPacket()) { mergePacket(other.getPacket()); } if (other.getProofCommitment() != com.google.protobuf.ByteString.EMPTY) { setProofCommitment(other.getProofCommitment()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgRecvPacket parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgRecvPacket) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.core.channel.v1.ChannelOuterClass.Packet packet_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> packetBuilder_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packetBuilder_ != null || packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { if (packetBuilder_ == null) { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } else { return packetBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packet_ = value; onChanged(); } else { packetBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket( ibc.core.channel.v1.ChannelOuterClass.Packet.Builder builderForValue) { if (packetBuilder_ == null) { packet_ = builderForValue.build(); onChanged(); } else { packetBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder mergePacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (packet_ != null) { packet_ = ibc.core.channel.v1.ChannelOuterClass.Packet.newBuilder(packet_).mergeFrom(value).buildPartial(); } else { packet_ = value; } onChanged(); } else { packetBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = null; onChanged(); } else { packet_ = null; packetBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet.Builder getPacketBuilder() { onChanged(); return getPacketFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilder(); } else { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder>( getPacket(), getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } private com.google.protobuf.ByteString proofCommitment_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_commitment = 2 [(.gogoproto.moretags) = "yaml:\"proof_commitment\""]; */ public com.google.protobuf.ByteString getProofCommitment() { return proofCommitment_; } /** * bytes proof_commitment = 2 [(.gogoproto.moretags) = "yaml:\"proof_commitment\""]; */ public Builder setProofCommitment(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofCommitment_ = value; onChanged(); return this; } /** * bytes proof_commitment = 2 [(.gogoproto.moretags) = "yaml:\"proof_commitment\""]; */ public Builder clearProofCommitment() { proofCommitment_ = getDefaultInstance().getProofCommitment(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 4; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 4; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 4; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 4; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 4; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgRecvPacket) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgRecvPacket) private static final ibc.core.channel.v1.Tx.MsgRecvPacket DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgRecvPacket(); } public static ibc.core.channel.v1.Tx.MsgRecvPacket getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgRecvPacket parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgRecvPacket(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgRecvPacketResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgRecvPacketResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgRecvPacketResponse defines the Msg/RecvPacket response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgRecvPacketResponse} */ public static final class MsgRecvPacketResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgRecvPacketResponse) MsgRecvPacketResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgRecvPacketResponse.newBuilder() to construct. private MsgRecvPacketResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgRecvPacketResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgRecvPacketResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgRecvPacketResponse.class, ibc.core.channel.v1.Tx.MsgRecvPacketResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgRecvPacketResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgRecvPacketResponse other = (ibc.core.channel.v1.Tx.MsgRecvPacketResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgRecvPacketResponse 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; } /** *
     * MsgRecvPacketResponse defines the Msg/RecvPacket response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgRecvPacketResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgRecvPacketResponse) ibc.core.channel.v1.Tx.MsgRecvPacketResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgRecvPacketResponse.class, ibc.core.channel.v1.Tx.MsgRecvPacketResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgRecvPacketResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacketResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgRecvPacketResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacketResponse build() { ibc.core.channel.v1.Tx.MsgRecvPacketResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacketResponse buildPartial() { ibc.core.channel.v1.Tx.MsgRecvPacketResponse result = new ibc.core.channel.v1.Tx.MsgRecvPacketResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgRecvPacketResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgRecvPacketResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgRecvPacketResponse other) { if (other == ibc.core.channel.v1.Tx.MsgRecvPacketResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgRecvPacketResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgRecvPacketResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgRecvPacketResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgRecvPacketResponse) private static final ibc.core.channel.v1.Tx.MsgRecvPacketResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgRecvPacketResponse(); } public static ibc.core.channel.v1.Tx.MsgRecvPacketResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgRecvPacketResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgRecvPacketResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgRecvPacketResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgTimeoutOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgTimeout) com.google.protobuf.MessageOrBuilder { /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ boolean hasPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.Packet getPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder(); /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ com.google.protobuf.ByteString getProofUnreceived(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * uint64 next_sequence_recv = 4 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ long getNextSequenceRecv(); /** * string signer = 5; */ java.lang.String getSigner(); /** * string signer = 5; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgTimeout receives timed-out packet
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeout} */ public static final class MsgTimeout extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgTimeout) MsgTimeoutOrBuilder { private static final long serialVersionUID = 0L; // Use MsgTimeout.newBuilder() to construct. private MsgTimeout(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgTimeout() { proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; nextSequenceRecv_ = 0L; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgTimeout( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ibc.core.channel.v1.ChannelOuterClass.Packet.Builder subBuilder = null; if (packet_ != null) { subBuilder = packet_.toBuilder(); } packet_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Packet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packet_); packet_ = subBuilder.buildPartial(); } break; } case 18: { proofUnreceived_ = input.readBytes(); break; } case 26: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 32: { nextSequenceRecv_ = input.readUInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeout_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeout_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeout.class, ibc.core.channel.v1.Tx.MsgTimeout.Builder.class); } public static final int PACKET_FIELD_NUMBER = 1; private ibc.core.channel.v1.ChannelOuterClass.Packet packet_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { return getPacket(); } public static final int PROOF_UNRECEIVED_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proofUnreceived_; /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public com.google.protobuf.ByteString getProofUnreceived() { return proofUnreceived_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 3; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int NEXT_SEQUENCE_RECV_FIELD_NUMBER = 4; private long nextSequenceRecv_; /** * uint64 next_sequence_recv = 4 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public long getNextSequenceRecv() { return nextSequenceRecv_; } public static final int SIGNER_FIELD_NUMBER = 5; private volatile java.lang.Object signer_; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (packet_ != null) { output.writeMessage(1, getPacket()); } if (!proofUnreceived_.isEmpty()) { output.writeBytes(2, proofUnreceived_); } if (proofHeight_ != null) { output.writeMessage(3, getProofHeight()); } if (nextSequenceRecv_ != 0L) { output.writeUInt64(4, nextSequenceRecv_); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (packet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPacket()); } if (!proofUnreceived_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proofUnreceived_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProofHeight()); } if (nextSequenceRecv_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, nextSequenceRecv_); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgTimeout)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgTimeout other = (ibc.core.channel.v1.Tx.MsgTimeout) obj; boolean result = true; result = result && (hasPacket() == other.hasPacket()); if (hasPacket()) { result = result && getPacket() .equals(other.getPacket()); } result = result && getProofUnreceived() .equals(other.getProofUnreceived()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && (getNextSequenceRecv() == other.getNextSequenceRecv()); result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); } hash = (37 * hash) + PROOF_UNRECEIVED_FIELD_NUMBER; hash = (53 * hash) + getProofUnreceived().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + NEXT_SEQUENCE_RECV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNextSequenceRecv()); hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeout parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeout parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeout parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgTimeout 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; } /** *
     * MsgTimeout receives timed-out packet
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeout} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgTimeout) ibc.core.channel.v1.Tx.MsgTimeoutOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeout_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeout_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeout.class, ibc.core.channel.v1.Tx.MsgTimeout.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgTimeout.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (packetBuilder_ == null) { packet_ = null; } else { packet_ = null; packetBuilder_ = null; } proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } nextSequenceRecv_ = 0L; signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeout_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeout getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgTimeout.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeout build() { ibc.core.channel.v1.Tx.MsgTimeout result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeout buildPartial() { ibc.core.channel.v1.Tx.MsgTimeout result = new ibc.core.channel.v1.Tx.MsgTimeout(this); if (packetBuilder_ == null) { result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } result.proofUnreceived_ = proofUnreceived_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.nextSequenceRecv_ = nextSequenceRecv_; result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgTimeout) { return mergeFrom((ibc.core.channel.v1.Tx.MsgTimeout)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgTimeout other) { if (other == ibc.core.channel.v1.Tx.MsgTimeout.getDefaultInstance()) return this; if (other.hasPacket()) { mergePacket(other.getPacket()); } if (other.getProofUnreceived() != com.google.protobuf.ByteString.EMPTY) { setProofUnreceived(other.getProofUnreceived()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (other.getNextSequenceRecv() != 0L) { setNextSequenceRecv(other.getNextSequenceRecv()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgTimeout parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgTimeout) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.core.channel.v1.ChannelOuterClass.Packet packet_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> packetBuilder_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packetBuilder_ != null || packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { if (packetBuilder_ == null) { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } else { return packetBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packet_ = value; onChanged(); } else { packetBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket( ibc.core.channel.v1.ChannelOuterClass.Packet.Builder builderForValue) { if (packetBuilder_ == null) { packet_ = builderForValue.build(); onChanged(); } else { packetBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder mergePacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (packet_ != null) { packet_ = ibc.core.channel.v1.ChannelOuterClass.Packet.newBuilder(packet_).mergeFrom(value).buildPartial(); } else { packet_ = value; } onChanged(); } else { packetBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = null; onChanged(); } else { packet_ = null; packetBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet.Builder getPacketBuilder() { onChanged(); return getPacketFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilder(); } else { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder>( getPacket(), getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } private com.google.protobuf.ByteString proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public com.google.protobuf.ByteString getProofUnreceived() { return proofUnreceived_; } /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public Builder setProofUnreceived(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofUnreceived_ = value; onChanged(); return this; } /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public Builder clearProofUnreceived() { proofUnreceived_ = getDefaultInstance().getProofUnreceived(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 3 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private long nextSequenceRecv_ ; /** * uint64 next_sequence_recv = 4 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public long getNextSequenceRecv() { return nextSequenceRecv_; } /** * uint64 next_sequence_recv = 4 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public Builder setNextSequenceRecv(long value) { nextSequenceRecv_ = value; onChanged(); return this; } /** * uint64 next_sequence_recv = 4 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public Builder clearNextSequenceRecv() { nextSequenceRecv_ = 0L; onChanged(); return this; } private java.lang.Object signer_ = ""; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 5; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 5; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 5; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgTimeout) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgTimeout) private static final ibc.core.channel.v1.Tx.MsgTimeout DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgTimeout(); } public static ibc.core.channel.v1.Tx.MsgTimeout getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgTimeout parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgTimeout(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgTimeoutResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgTimeoutResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgTimeoutResponse defines the Msg/Timeout response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutResponse} */ public static final class MsgTimeoutResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgTimeoutResponse) MsgTimeoutResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgTimeoutResponse.newBuilder() to construct. private MsgTimeoutResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgTimeoutResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgTimeoutResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutResponse.class, ibc.core.channel.v1.Tx.MsgTimeoutResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgTimeoutResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgTimeoutResponse other = (ibc.core.channel.v1.Tx.MsgTimeoutResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgTimeoutResponse 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; } /** *
     * MsgTimeoutResponse defines the Msg/Timeout response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgTimeoutResponse) ibc.core.channel.v1.Tx.MsgTimeoutResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutResponse.class, ibc.core.channel.v1.Tx.MsgTimeoutResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgTimeoutResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgTimeoutResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutResponse build() { ibc.core.channel.v1.Tx.MsgTimeoutResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutResponse buildPartial() { ibc.core.channel.v1.Tx.MsgTimeoutResponse result = new ibc.core.channel.v1.Tx.MsgTimeoutResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgTimeoutResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgTimeoutResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgTimeoutResponse other) { if (other == ibc.core.channel.v1.Tx.MsgTimeoutResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgTimeoutResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgTimeoutResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgTimeoutResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgTimeoutResponse) private static final ibc.core.channel.v1.Tx.MsgTimeoutResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgTimeoutResponse(); } public static ibc.core.channel.v1.Tx.MsgTimeoutResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgTimeoutResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgTimeoutResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgTimeoutOnCloseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgTimeoutOnClose) com.google.protobuf.MessageOrBuilder { /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ boolean hasPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.Packet getPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder(); /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ com.google.protobuf.ByteString getProofUnreceived(); /** * bytes proof_close = 3 [(.gogoproto.moretags) = "yaml:\"proof_close\""]; */ com.google.protobuf.ByteString getProofClose(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * uint64 next_sequence_recv = 5 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ long getNextSequenceRecv(); /** * string signer = 6; */ java.lang.String getSigner(); /** * string signer = 6; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgTimeoutOnClose timed-out packet upon counterparty channel closure.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutOnClose} */ public static final class MsgTimeoutOnClose extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgTimeoutOnClose) MsgTimeoutOnCloseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgTimeoutOnClose.newBuilder() to construct. private MsgTimeoutOnClose(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgTimeoutOnClose() { proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; proofClose_ = com.google.protobuf.ByteString.EMPTY; nextSequenceRecv_ = 0L; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgTimeoutOnClose( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ibc.core.channel.v1.ChannelOuterClass.Packet.Builder subBuilder = null; if (packet_ != null) { subBuilder = packet_.toBuilder(); } packet_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Packet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packet_); packet_ = subBuilder.buildPartial(); } break; } case 18: { proofUnreceived_ = input.readBytes(); break; } case 26: { proofClose_ = input.readBytes(); break; } case 34: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 40: { nextSequenceRecv_ = input.readUInt64(); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutOnClose.class, ibc.core.channel.v1.Tx.MsgTimeoutOnClose.Builder.class); } public static final int PACKET_FIELD_NUMBER = 1; private ibc.core.channel.v1.ChannelOuterClass.Packet packet_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { return getPacket(); } public static final int PROOF_UNRECEIVED_FIELD_NUMBER = 2; private com.google.protobuf.ByteString proofUnreceived_; /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public com.google.protobuf.ByteString getProofUnreceived() { return proofUnreceived_; } public static final int PROOF_CLOSE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString proofClose_; /** * bytes proof_close = 3 [(.gogoproto.moretags) = "yaml:\"proof_close\""]; */ public com.google.protobuf.ByteString getProofClose() { return proofClose_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 4; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int NEXT_SEQUENCE_RECV_FIELD_NUMBER = 5; private long nextSequenceRecv_; /** * uint64 next_sequence_recv = 5 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public long getNextSequenceRecv() { return nextSequenceRecv_; } public static final int SIGNER_FIELD_NUMBER = 6; private volatile java.lang.Object signer_; /** * string signer = 6; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 6; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (packet_ != null) { output.writeMessage(1, getPacket()); } if (!proofUnreceived_.isEmpty()) { output.writeBytes(2, proofUnreceived_); } if (!proofClose_.isEmpty()) { output.writeBytes(3, proofClose_); } if (proofHeight_ != null) { output.writeMessage(4, getProofHeight()); } if (nextSequenceRecv_ != 0L) { output.writeUInt64(5, nextSequenceRecv_); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (packet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPacket()); } if (!proofUnreceived_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, proofUnreceived_); } if (!proofClose_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, proofClose_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProofHeight()); } if (nextSequenceRecv_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, nextSequenceRecv_); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgTimeoutOnClose)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgTimeoutOnClose other = (ibc.core.channel.v1.Tx.MsgTimeoutOnClose) obj; boolean result = true; result = result && (hasPacket() == other.hasPacket()); if (hasPacket()) { result = result && getPacket() .equals(other.getPacket()); } result = result && getProofUnreceived() .equals(other.getProofUnreceived()); result = result && getProofClose() .equals(other.getProofClose()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && (getNextSequenceRecv() == other.getNextSequenceRecv()); result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); } hash = (37 * hash) + PROOF_UNRECEIVED_FIELD_NUMBER; hash = (53 * hash) + getProofUnreceived().hashCode(); hash = (37 * hash) + PROOF_CLOSE_FIELD_NUMBER; hash = (53 * hash) + getProofClose().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + NEXT_SEQUENCE_RECV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNextSequenceRecv()); hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgTimeoutOnClose 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; } /** *
     * MsgTimeoutOnClose timed-out packet upon counterparty channel closure.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutOnClose} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgTimeoutOnClose) ibc.core.channel.v1.Tx.MsgTimeoutOnCloseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutOnClose.class, ibc.core.channel.v1.Tx.MsgTimeoutOnClose.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgTimeoutOnClose.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (packetBuilder_ == null) { packet_ = null; } else { packet_ = null; packetBuilder_ = null; } proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; proofClose_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } nextSequenceRecv_ = 0L; signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnClose getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgTimeoutOnClose.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnClose build() { ibc.core.channel.v1.Tx.MsgTimeoutOnClose result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnClose buildPartial() { ibc.core.channel.v1.Tx.MsgTimeoutOnClose result = new ibc.core.channel.v1.Tx.MsgTimeoutOnClose(this); if (packetBuilder_ == null) { result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } result.proofUnreceived_ = proofUnreceived_; result.proofClose_ = proofClose_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.nextSequenceRecv_ = nextSequenceRecv_; result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgTimeoutOnClose) { return mergeFrom((ibc.core.channel.v1.Tx.MsgTimeoutOnClose)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgTimeoutOnClose other) { if (other == ibc.core.channel.v1.Tx.MsgTimeoutOnClose.getDefaultInstance()) return this; if (other.hasPacket()) { mergePacket(other.getPacket()); } if (other.getProofUnreceived() != com.google.protobuf.ByteString.EMPTY) { setProofUnreceived(other.getProofUnreceived()); } if (other.getProofClose() != com.google.protobuf.ByteString.EMPTY) { setProofClose(other.getProofClose()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (other.getNextSequenceRecv() != 0L) { setNextSequenceRecv(other.getNextSequenceRecv()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgTimeoutOnClose parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgTimeoutOnClose) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.core.channel.v1.ChannelOuterClass.Packet packet_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> packetBuilder_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packetBuilder_ != null || packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { if (packetBuilder_ == null) { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } else { return packetBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packet_ = value; onChanged(); } else { packetBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket( ibc.core.channel.v1.ChannelOuterClass.Packet.Builder builderForValue) { if (packetBuilder_ == null) { packet_ = builderForValue.build(); onChanged(); } else { packetBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder mergePacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (packet_ != null) { packet_ = ibc.core.channel.v1.ChannelOuterClass.Packet.newBuilder(packet_).mergeFrom(value).buildPartial(); } else { packet_ = value; } onChanged(); } else { packetBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = null; onChanged(); } else { packet_ = null; packetBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet.Builder getPacketBuilder() { onChanged(); return getPacketFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilder(); } else { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder>( getPacket(), getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } private com.google.protobuf.ByteString proofUnreceived_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public com.google.protobuf.ByteString getProofUnreceived() { return proofUnreceived_; } /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public Builder setProofUnreceived(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofUnreceived_ = value; onChanged(); return this; } /** * bytes proof_unreceived = 2 [(.gogoproto.moretags) = "yaml:\"proof_unreceived\""]; */ public Builder clearProofUnreceived() { proofUnreceived_ = getDefaultInstance().getProofUnreceived(); onChanged(); return this; } private com.google.protobuf.ByteString proofClose_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_close = 3 [(.gogoproto.moretags) = "yaml:\"proof_close\""]; */ public com.google.protobuf.ByteString getProofClose() { return proofClose_; } /** * bytes proof_close = 3 [(.gogoproto.moretags) = "yaml:\"proof_close\""]; */ public Builder setProofClose(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofClose_ = value; onChanged(); return this; } /** * bytes proof_close = 3 [(.gogoproto.moretags) = "yaml:\"proof_close\""]; */ public Builder clearProofClose() { proofClose_ = getDefaultInstance().getProofClose(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private long nextSequenceRecv_ ; /** * uint64 next_sequence_recv = 5 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public long getNextSequenceRecv() { return nextSequenceRecv_; } /** * uint64 next_sequence_recv = 5 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public Builder setNextSequenceRecv(long value) { nextSequenceRecv_ = value; onChanged(); return this; } /** * uint64 next_sequence_recv = 5 [(.gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; */ public Builder clearNextSequenceRecv() { nextSequenceRecv_ = 0L; onChanged(); return this; } private java.lang.Object signer_ = ""; /** * string signer = 6; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 6; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 6; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 6; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 6; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgTimeoutOnClose) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgTimeoutOnClose) private static final ibc.core.channel.v1.Tx.MsgTimeoutOnClose DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgTimeoutOnClose(); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnClose getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgTimeoutOnClose parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgTimeoutOnClose(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnClose getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgTimeoutOnCloseResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgTimeoutOnCloseResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutOnCloseResponse} */ public static final class MsgTimeoutOnCloseResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgTimeoutOnCloseResponse) MsgTimeoutOnCloseResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgTimeoutOnCloseResponse.newBuilder() to construct. private MsgTimeoutOnCloseResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgTimeoutOnCloseResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgTimeoutOnCloseResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.class, ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse other = (ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse 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; } /** *
     * MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgTimeoutOnCloseResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgTimeoutOnCloseResponse) ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.class, ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse build() { ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse buildPartial() { ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse result = new ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse other) { if (other == ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgTimeoutOnCloseResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgTimeoutOnCloseResponse) private static final ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse(); } public static ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgTimeoutOnCloseResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgTimeoutOnCloseResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgAcknowledgementOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgAcknowledgement) com.google.protobuf.MessageOrBuilder { /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ boolean hasPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.Packet getPacket(); /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder(); /** * bytes acknowledgement = 2; */ com.google.protobuf.ByteString getAcknowledgement(); /** * bytes proof_acked = 3 [(.gogoproto.moretags) = "yaml:\"proof_acked\""]; */ com.google.protobuf.ByteString getProofAcked(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ boolean hasProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.Height getProofHeight(); /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder(); /** * string signer = 5; */ java.lang.String getSigner(); /** * string signer = 5; */ com.google.protobuf.ByteString getSignerBytes(); } /** *
   * MsgAcknowledgement receives incoming IBC acknowledgement
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgAcknowledgement} */ public static final class MsgAcknowledgement extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgAcknowledgement) MsgAcknowledgementOrBuilder { private static final long serialVersionUID = 0L; // Use MsgAcknowledgement.newBuilder() to construct. private MsgAcknowledgement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgAcknowledgement() { acknowledgement_ = com.google.protobuf.ByteString.EMPTY; proofAcked_ = com.google.protobuf.ByteString.EMPTY; signer_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgAcknowledgement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ibc.core.channel.v1.ChannelOuterClass.Packet.Builder subBuilder = null; if (packet_ != null) { subBuilder = packet_.toBuilder(); } packet_ = input.readMessage(ibc.core.channel.v1.ChannelOuterClass.Packet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(packet_); packet_ = subBuilder.buildPartial(); } break; } case 18: { acknowledgement_ = input.readBytes(); break; } case 26: { proofAcked_ = input.readBytes(); break; } case 34: { ibc.core.client.v1.Client.Height.Builder subBuilder = null; if (proofHeight_ != null) { subBuilder = proofHeight_.toBuilder(); } proofHeight_ = input.readMessage(ibc.core.client.v1.Client.Height.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(proofHeight_); proofHeight_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); signer_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgement_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgAcknowledgement.class, ibc.core.channel.v1.Tx.MsgAcknowledgement.Builder.class); } public static final int PACKET_FIELD_NUMBER = 1; private ibc.core.channel.v1.ChannelOuterClass.Packet packet_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { return getPacket(); } public static final int ACKNOWLEDGEMENT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString acknowledgement_; /** * bytes acknowledgement = 2; */ public com.google.protobuf.ByteString getAcknowledgement() { return acknowledgement_; } public static final int PROOF_ACKED_FIELD_NUMBER = 3; private com.google.protobuf.ByteString proofAcked_; /** * bytes proof_acked = 3 [(.gogoproto.moretags) = "yaml:\"proof_acked\""]; */ public com.google.protobuf.ByteString getProofAcked() { return proofAcked_; } public static final int PROOF_HEIGHT_FIELD_NUMBER = 4; private ibc.core.client.v1.Client.Height proofHeight_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { return getProofHeight(); } public static final int SIGNER_FIELD_NUMBER = 5; private volatile java.lang.Object signer_; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; 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(); signer_ = s; return s; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = 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 (packet_ != null) { output.writeMessage(1, getPacket()); } if (!acknowledgement_.isEmpty()) { output.writeBytes(2, acknowledgement_); } if (!proofAcked_.isEmpty()) { output.writeBytes(3, proofAcked_); } if (proofHeight_ != null) { output.writeMessage(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, signer_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (packet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPacket()); } if (!acknowledgement_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, acknowledgement_); } if (!proofAcked_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, proofAcked_); } if (proofHeight_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProofHeight()); } if (!getSignerBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, signer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgAcknowledgement)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgAcknowledgement other = (ibc.core.channel.v1.Tx.MsgAcknowledgement) obj; boolean result = true; result = result && (hasPacket() == other.hasPacket()); if (hasPacket()) { result = result && getPacket() .equals(other.getPacket()); } result = result && getAcknowledgement() .equals(other.getAcknowledgement()); result = result && getProofAcked() .equals(other.getProofAcked()); result = result && (hasProofHeight() == other.hasProofHeight()); if (hasProofHeight()) { result = result && getProofHeight() .equals(other.getProofHeight()); } result = result && getSigner() .equals(other.getSigner()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPacket()) { hash = (37 * hash) + PACKET_FIELD_NUMBER; hash = (53 * hash) + getPacket().hashCode(); } hash = (37 * hash) + ACKNOWLEDGEMENT_FIELD_NUMBER; hash = (53 * hash) + getAcknowledgement().hashCode(); hash = (37 * hash) + PROOF_ACKED_FIELD_NUMBER; hash = (53 * hash) + getProofAcked().hashCode(); if (hasProofHeight()) { hash = (37 * hash) + PROOF_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getProofHeight().hashCode(); } hash = (37 * hash) + SIGNER_FIELD_NUMBER; hash = (53 * hash) + getSigner().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgAcknowledgement 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; } /** *
     * MsgAcknowledgement receives incoming IBC acknowledgement
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgAcknowledgement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgAcknowledgement) ibc.core.channel.v1.Tx.MsgAcknowledgementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgement_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgAcknowledgement.class, ibc.core.channel.v1.Tx.MsgAcknowledgement.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgAcknowledgement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (packetBuilder_ == null) { packet_ = null; } else { packet_ = null; packetBuilder_ = null; } acknowledgement_ = com.google.protobuf.ByteString.EMPTY; proofAcked_ = com.google.protobuf.ByteString.EMPTY; if (proofHeightBuilder_ == null) { proofHeight_ = null; } else { proofHeight_ = null; proofHeightBuilder_ = null; } signer_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgement getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgAcknowledgement.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgement build() { ibc.core.channel.v1.Tx.MsgAcknowledgement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgement buildPartial() { ibc.core.channel.v1.Tx.MsgAcknowledgement result = new ibc.core.channel.v1.Tx.MsgAcknowledgement(this); if (packetBuilder_ == null) { result.packet_ = packet_; } else { result.packet_ = packetBuilder_.build(); } result.acknowledgement_ = acknowledgement_; result.proofAcked_ = proofAcked_; if (proofHeightBuilder_ == null) { result.proofHeight_ = proofHeight_; } else { result.proofHeight_ = proofHeightBuilder_.build(); } result.signer_ = signer_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgAcknowledgement) { return mergeFrom((ibc.core.channel.v1.Tx.MsgAcknowledgement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgAcknowledgement other) { if (other == ibc.core.channel.v1.Tx.MsgAcknowledgement.getDefaultInstance()) return this; if (other.hasPacket()) { mergePacket(other.getPacket()); } if (other.getAcknowledgement() != com.google.protobuf.ByteString.EMPTY) { setAcknowledgement(other.getAcknowledgement()); } if (other.getProofAcked() != com.google.protobuf.ByteString.EMPTY) { setProofAcked(other.getProofAcked()); } if (other.hasProofHeight()) { mergeProofHeight(other.getProofHeight()); } if (!other.getSigner().isEmpty()) { signer_ = other.signer_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgAcknowledgement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgAcknowledgement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private ibc.core.channel.v1.ChannelOuterClass.Packet packet_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> packetBuilder_; /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public boolean hasPacket() { return packetBuilder_ != null || packet_ != null; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet getPacket() { if (packetBuilder_ == null) { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } else { return packetBuilder_.getMessage(); } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } packet_ = value; onChanged(); } else { packetBuilder_.setMessage(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder setPacket( ibc.core.channel.v1.ChannelOuterClass.Packet.Builder builderForValue) { if (packetBuilder_ == null) { packet_ = builderForValue.build(); onChanged(); } else { packetBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder mergePacket(ibc.core.channel.v1.ChannelOuterClass.Packet value) { if (packetBuilder_ == null) { if (packet_ != null) { packet_ = ibc.core.channel.v1.ChannelOuterClass.Packet.newBuilder(packet_).mergeFrom(value).buildPartial(); } else { packet_ = value; } onChanged(); } else { packetBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public Builder clearPacket() { if (packetBuilder_ == null) { packet_ = null; onChanged(); } else { packet_ = null; packetBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.Packet.Builder getPacketBuilder() { onChanged(); return getPacketFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ public ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder getPacketOrBuilder() { if (packetBuilder_ != null) { return packetBuilder_.getMessageOrBuilder(); } else { return packet_ == null ? ibc.core.channel.v1.ChannelOuterClass.Packet.getDefaultInstance() : packet_; } } /** * .ibc.core.channel.v1.Packet packet = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder> getPacketFieldBuilder() { if (packetBuilder_ == null) { packetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.channel.v1.ChannelOuterClass.Packet, ibc.core.channel.v1.ChannelOuterClass.Packet.Builder, ibc.core.channel.v1.ChannelOuterClass.PacketOrBuilder>( getPacket(), getParentForChildren(), isClean()); packet_ = null; } return packetBuilder_; } private com.google.protobuf.ByteString acknowledgement_ = com.google.protobuf.ByteString.EMPTY; /** * bytes acknowledgement = 2; */ public com.google.protobuf.ByteString getAcknowledgement() { return acknowledgement_; } /** * bytes acknowledgement = 2; */ public Builder setAcknowledgement(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } acknowledgement_ = value; onChanged(); return this; } /** * bytes acknowledgement = 2; */ public Builder clearAcknowledgement() { acknowledgement_ = getDefaultInstance().getAcknowledgement(); onChanged(); return this; } private com.google.protobuf.ByteString proofAcked_ = com.google.protobuf.ByteString.EMPTY; /** * bytes proof_acked = 3 [(.gogoproto.moretags) = "yaml:\"proof_acked\""]; */ public com.google.protobuf.ByteString getProofAcked() { return proofAcked_; } /** * bytes proof_acked = 3 [(.gogoproto.moretags) = "yaml:\"proof_acked\""]; */ public Builder setProofAcked(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } proofAcked_ = value; onChanged(); return this; } /** * bytes proof_acked = 3 [(.gogoproto.moretags) = "yaml:\"proof_acked\""]; */ public Builder clearProofAcked() { proofAcked_ = getDefaultInstance().getProofAcked(); onChanged(); return this; } private ibc.core.client.v1.Client.Height proofHeight_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> proofHeightBuilder_; /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public boolean hasProofHeight() { return proofHeightBuilder_ != null || proofHeight_ != null; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height getProofHeight() { if (proofHeightBuilder_ == null) { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } else { return proofHeightBuilder_.getMessage(); } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (value == null) { throw new NullPointerException(); } proofHeight_ = value; onChanged(); } else { proofHeightBuilder_.setMessage(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder setProofHeight( ibc.core.client.v1.Client.Height.Builder builderForValue) { if (proofHeightBuilder_ == null) { proofHeight_ = builderForValue.build(); onChanged(); } else { proofHeightBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder mergeProofHeight(ibc.core.client.v1.Client.Height value) { if (proofHeightBuilder_ == null) { if (proofHeight_ != null) { proofHeight_ = ibc.core.client.v1.Client.Height.newBuilder(proofHeight_).mergeFrom(value).buildPartial(); } else { proofHeight_ = value; } onChanged(); } else { proofHeightBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public Builder clearProofHeight() { if (proofHeightBuilder_ == null) { proofHeight_ = null; onChanged(); } else { proofHeight_ = null; proofHeightBuilder_ = null; } return this; } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.Height.Builder getProofHeightBuilder() { onChanged(); return getProofHeightFieldBuilder().getBuilder(); } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ public ibc.core.client.v1.Client.HeightOrBuilder getProofHeightOrBuilder() { if (proofHeightBuilder_ != null) { return proofHeightBuilder_.getMessageOrBuilder(); } else { return proofHeight_ == null ? ibc.core.client.v1.Client.Height.getDefaultInstance() : proofHeight_; } } /** * .ibc.core.client.v1.Height proof_height = 4 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"proof_height\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder> getProofHeightFieldBuilder() { if (proofHeightBuilder_ == null) { proofHeightBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.client.v1.Client.Height, ibc.core.client.v1.Client.Height.Builder, ibc.core.client.v1.Client.HeightOrBuilder>( getProofHeight(), getParentForChildren(), isClean()); proofHeight_ = null; } return proofHeightBuilder_; } private java.lang.Object signer_ = ""; /** * string signer = 5; */ public java.lang.String getSigner() { java.lang.Object ref = signer_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signer_ = s; return s; } else { return (java.lang.String) ref; } } /** * string signer = 5; */ public com.google.protobuf.ByteString getSignerBytes() { java.lang.Object ref = signer_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signer_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string signer = 5; */ public Builder setSigner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signer_ = value; onChanged(); return this; } /** * string signer = 5; */ public Builder clearSigner() { signer_ = getDefaultInstance().getSigner(); onChanged(); return this; } /** * string signer = 5; */ public Builder setSignerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signer_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgAcknowledgement) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgAcknowledgement) private static final ibc.core.channel.v1.Tx.MsgAcknowledgement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgAcknowledgement(); } public static ibc.core.channel.v1.Tx.MsgAcknowledgement getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgAcknowledgement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgAcknowledgement(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgAcknowledgementResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.core.channel.v1.MsgAcknowledgementResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.
   * 
* * Protobuf type {@code ibc.core.channel.v1.MsgAcknowledgementResponse} */ public static final class MsgAcknowledgementResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.core.channel.v1.MsgAcknowledgementResponse) MsgAcknowledgementResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgAcknowledgementResponse.newBuilder() to construct. private MsgAcknowledgementResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgAcknowledgementResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgAcknowledgementResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.class, ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.core.channel.v1.Tx.MsgAcknowledgementResponse)) { return super.equals(obj); } ibc.core.channel.v1.Tx.MsgAcknowledgementResponse other = (ibc.core.channel.v1.Tx.MsgAcknowledgementResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ibc.core.channel.v1.Tx.MsgAcknowledgementResponse 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; } /** *
     * MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.
     * 
* * Protobuf type {@code ibc.core.channel.v1.MsgAcknowledgementResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.core.channel.v1.MsgAcknowledgementResponse) ibc.core.channel.v1.Tx.MsgAcknowledgementResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.class, ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.Builder.class); } // Construct using ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.core.channel.v1.Tx.internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgementResponse getDefaultInstanceForType() { return ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.getDefaultInstance(); } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgementResponse build() { ibc.core.channel.v1.Tx.MsgAcknowledgementResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgementResponse buildPartial() { ibc.core.channel.v1.Tx.MsgAcknowledgementResponse result = new ibc.core.channel.v1.Tx.MsgAcknowledgementResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.core.channel.v1.Tx.MsgAcknowledgementResponse) { return mergeFrom((ibc.core.channel.v1.Tx.MsgAcknowledgementResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.core.channel.v1.Tx.MsgAcknowledgementResponse other) { if (other == ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.core.channel.v1.Tx.MsgAcknowledgementResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.core.channel.v1.Tx.MsgAcknowledgementResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.core.channel.v1.MsgAcknowledgementResponse) } // @@protoc_insertion_point(class_scope:ibc.core.channel.v1.MsgAcknowledgementResponse) private static final ibc.core.channel.v1.Tx.MsgAcknowledgementResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.core.channel.v1.Tx.MsgAcknowledgementResponse(); } public static ibc.core.channel.v1.Tx.MsgAcknowledgementResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgAcknowledgementResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgAcknowledgementResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ibc.core.channel.v1.Tx.MsgAcknowledgementResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenInit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenTry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenAck_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelCloseInit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgRecvPacket_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgTimeout_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgTimeout_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgTimeoutResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgAcknowledgement_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_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\034ibc/core/channel/v1/tx.proto\022\023ibc.core" + ".channel.v1\032\024gogoproto/gogo.proto\032\037ibc/c" + "ore/client/v1/client.proto\032!ibc/core/cha" + "nnel/v1/channel.proto\"\210\001\n\022MsgChannelOpen" + "Init\022#\n\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:\"port_id" + "\"\0223\n\007channel\030\002 \001(\0132\034.ibc.core.channel.v1" + ".ChannelB\004\310\336\037\000\022\016\n\006signer\030\003 \001(\t:\010\350\240\037\000\210\240\037\000" + "\"\034\n\032MsgChannelOpenInitResponse\"\375\002\n\021MsgCh" + "annelOpenTry\022#\n\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:" + "\"port_id\"\022;\n\023previous_channel_id\030\002 \001(\tB\036" + "\362\336\037\032yaml:\"previous_channel_id\"\0223\n\007channe" + "l\030\003 \001(\0132\034.ibc.core.channel.v1.ChannelB\004\310" + "\336\037\000\022=\n\024counterparty_version\030\004 \001(\tB\037\362\336\037\033y" + "aml:\"counterparty_version\"\022)\n\nproof_init" + "\030\005 \001(\014B\025\362\336\037\021yaml:\"proof_init\"\022M\n\014proof_h" + "eight\030\006 \001(\0132\032.ibc.core.client.v1.HeightB" + "\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000\022\016\n\006signer\030\007" + " \001(\t:\010\350\240\037\000\210\240\037\000\"\033\n\031MsgChannelOpenTryRespo" + "nse\"\371\002\n\021MsgChannelOpenAck\022#\n\007port_id\030\001 \001" + "(\tB\022\362\336\037\016yaml:\"port_id\"\022)\n\nchannel_id\030\002 \001" + "(\tB\025\362\336\037\021yaml:\"channel_id\"\022C\n\027counterpart" + "y_channel_id\030\003 \001(\tB\"\362\336\037\036yaml:\"counterpar" + "ty_channel_id\"\022=\n\024counterparty_version\030\004" + " \001(\tB\037\362\336\037\033yaml:\"counterparty_version\"\022\'\n" + "\tproof_try\030\005 \001(\014B\024\362\336\037\020yaml:\"proof_try\"\022M" + "\n\014proof_height\030\006 \001(\0132\032.ibc.core.client.v" + "1.HeightB\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000\022\016\n" + "\006signer\030\007 \001(\t:\010\350\240\037\000\210\240\037\000\"\033\n\031MsgChannelOpe" + "nAckResponse\"\371\001\n\025MsgChannelOpenConfirm\022#" + "\n\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:\"port_id\"\022)\n\nc" + "hannel_id\030\002 \001(\tB\025\362\336\037\021yaml:\"channel_id\"\022\'" + "\n\tproof_ack\030\003 \001(\014B\024\362\336\037\020yaml:\"proof_ack\"\022" + "M\n\014proof_height\030\004 \001(\0132\032.ibc.core.client." + "v1.HeightB\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000\022\016" + "\n\006signer\030\005 \001(\t:\010\350\240\037\000\210\240\037\000\"\037\n\035MsgChannelOp" + "enConfirmResponse\"\177\n\023MsgChannelCloseInit" + "\022#\n\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:\"port_id\"\022)\n" + "\nchannel_id\030\002 \001(\tB\025\362\336\037\021yaml:\"channel_id\"" + "\022\016\n\006signer\030\003 \001(\t:\010\350\240\037\000\210\240\037\000\"\035\n\033MsgChannel" + "CloseInitResponse\"\374\001\n\026MsgChannelCloseCon" + "firm\022#\n\007port_id\030\001 \001(\tB\022\362\336\037\016yaml:\"port_id" + "\"\022)\n\nchannel_id\030\002 \001(\tB\025\362\336\037\021yaml:\"channel" + "_id\"\022)\n\nproof_init\030\003 \001(\014B\025\362\336\037\021yaml:\"proo" + "f_init\"\022M\n\014proof_height\030\004 \001(\0132\032.ibc.core" + ".client.v1.HeightB\033\362\336\037\023yaml:\"proof_heigh" + "t\"\310\336\037\000\022\016\n\006signer\030\005 \001(\t:\010\350\240\037\000\210\240\037\000\" \n\036MsgC" + "hannelCloseConfirmResponse\"\342\001\n\rMsgRecvPa" + "cket\0221\n\006packet\030\001 \001(\0132\033.ibc.core.channel." + "v1.PacketB\004\310\336\037\000\0225\n\020proof_commitment\030\002 \001(" + "\014B\033\362\336\037\027yaml:\"proof_commitment\"\022M\n\014proof_" + "height\030\003 \001(\0132\032.ibc.core.client.v1.Height" + "B\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000\022\016\n\006signer\030" + "\004 \001(\t:\010\350\240\037\000\210\240\037\000\"\027\n\025MsgRecvPacketResponse" + "\"\232\002\n\nMsgTimeout\0221\n\006packet\030\001 \001(\0132\033.ibc.co" + "re.channel.v1.PacketB\004\310\336\037\000\0225\n\020proof_unre" + "ceived\030\002 \001(\014B\033\362\336\037\027yaml:\"proof_unreceived" + "\"\022M\n\014proof_height\030\003 \001(\0132\032.ibc.core.clien" + "t.v1.HeightB\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000" + "\0229\n\022next_sequence_recv\030\004 \001(\004B\035\362\336\037\031yaml:\"" + "next_sequence_recv\"\022\016\n\006signer\030\005 \001(\t:\010\350\240\037" + "\000\210\240\037\000\"\024\n\022MsgTimeoutResponse\"\316\002\n\021MsgTimeo" + "utOnClose\0221\n\006packet\030\001 \001(\0132\033.ibc.core.cha" + "nnel.v1.PacketB\004\310\336\037\000\0225\n\020proof_unreceived" + "\030\002 \001(\014B\033\362\336\037\027yaml:\"proof_unreceived\"\022+\n\013p" + "roof_close\030\003 \001(\014B\026\362\336\037\022yaml:\"proof_close\"" + "\022M\n\014proof_height\030\004 \001(\0132\032.ibc.core.client" + ".v1.HeightB\033\362\336\037\023yaml:\"proof_height\"\310\336\037\000\022" + "9\n\022next_sequence_recv\030\005 \001(\004B\035\362\336\037\031yaml:\"n" + "ext_sequence_recv\"\022\016\n\006signer\030\006 \001(\t:\010\350\240\037\000" + "\210\240\037\000\"\033\n\031MsgTimeoutOnCloseResponse\"\366\001\n\022Ms" + "gAcknowledgement\0221\n\006packet\030\001 \001(\0132\033.ibc.c" + "ore.channel.v1.PacketB\004\310\336\037\000\022\027\n\017acknowled" + "gement\030\002 \001(\014\022+\n\013proof_acked\030\003 \001(\014B\026\362\336\037\022y" + "aml:\"proof_acked\"\022M\n\014proof_height\030\004 \001(\0132" + "\032.ibc.core.client.v1.HeightB\033\362\336\037\023yaml:\"p" + "roof_height\"\310\336\037\000\022\016\n\006signer\030\005 \001(\t:\010\350\240\037\000\210\240" + "\037\000\"\034\n\032MsgAcknowledgementResponse2\257\010\n\003Msg" + "\022k\n\017ChannelOpenInit\022\'.ibc.core.channel.v" + "1.MsgChannelOpenInit\032/.ibc.core.channel." + "v1.MsgChannelOpenInitResponse\022h\n\016Channel" + "OpenTry\022&.ibc.core.channel.v1.MsgChannel" + "OpenTry\032..ibc.core.channel.v1.MsgChannel" + "OpenTryResponse\022h\n\016ChannelOpenAck\022&.ibc." + "core.channel.v1.MsgChannelOpenAck\032..ibc." + "core.channel.v1.MsgChannelOpenAckRespons" + "e\022t\n\022ChannelOpenConfirm\022*.ibc.core.chann" + "el.v1.MsgChannelOpenConfirm\0322.ibc.core.c" + "hannel.v1.MsgChannelOpenConfirmResponse\022" + "n\n\020ChannelCloseInit\022(.ibc.core.channel.v" + "1.MsgChannelCloseInit\0320.ibc.core.channel" + ".v1.MsgChannelCloseInitResponse\022w\n\023Chann" + "elCloseConfirm\022+.ibc.core.channel.v1.Msg" + "ChannelCloseConfirm\0323.ibc.core.channel.v" + "1.MsgChannelCloseConfirmResponse\022\\\n\nRecv" + "Packet\022\".ibc.core.channel.v1.MsgRecvPack" + "et\032*.ibc.core.channel.v1.MsgRecvPacketRe" + "sponse\022S\n\007Timeout\022\037.ibc.core.channel.v1." + "MsgTimeout\032\'.ibc.core.channel.v1.MsgTime" + "outResponse\022h\n\016TimeoutOnClose\022&.ibc.core" + ".channel.v1.MsgTimeoutOnClose\032..ibc.core" + ".channel.v1.MsgTimeoutOnCloseResponse\022k\n" + "\017Acknowledgement\022\'.ibc.core.channel.v1.M" + "sgAcknowledgement\032/.ibc.core.channel.v1." + "MsgAcknowledgementResponseB:Z8github.com" + "/cosmos/cosmos-sdk/x/ibc/core/04-channel" + "/typesb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.GoGoProtos.getDescriptor(), ibc.core.client.v1.Client.getDescriptor(), ibc.core.channel.v1.ChannelOuterClass.getDescriptor(), }, assigner); internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_ibc_core_channel_v1_MsgChannelOpenInit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenInit_descriptor, new java.lang.String[] { "PortId", "Channel", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenInitResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_ibc_core_channel_v1_MsgChannelOpenTry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenTry_descriptor, new java.lang.String[] { "PortId", "PreviousChannelId", "Channel", "CounterpartyVersion", "ProofInit", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenTryResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_ibc_core_channel_v1_MsgChannelOpenAck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenAck_descriptor, new java.lang.String[] { "PortId", "ChannelId", "CounterpartyChannelId", "CounterpartyVersion", "ProofTry", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenAckResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenConfirm_descriptor, new java.lang.String[] { "PortId", "ChannelId", "ProofAck", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelOpenConfirmResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_ibc_core_channel_v1_MsgChannelCloseInit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelCloseInit_descriptor, new java.lang.String[] { "PortId", "ChannelId", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelCloseInitResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelCloseConfirm_descriptor, new java.lang.String[] { "PortId", "ChannelId", "ProofInit", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgChannelCloseConfirmResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_ibc_core_channel_v1_MsgRecvPacket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgRecvPacket_descriptor, new java.lang.String[] { "Packet", "ProofCommitment", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgRecvPacketResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgTimeout_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_ibc_core_channel_v1_MsgTimeout_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgTimeout_descriptor, new java.lang.String[] { "Packet", "ProofUnreceived", "ProofHeight", "NextSequenceRecv", "Signer", }); internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_ibc_core_channel_v1_MsgTimeoutResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgTimeoutResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgTimeoutOnClose_descriptor, new java.lang.String[] { "Packet", "ProofUnreceived", "ProofClose", "ProofHeight", "NextSequenceRecv", "Signer", }); internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgTimeoutOnCloseResponse_descriptor, new java.lang.String[] { }); internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_ibc_core_channel_v1_MsgAcknowledgement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgAcknowledgement_descriptor, new java.lang.String[] { "Packet", "Acknowledgement", "ProofAcked", "ProofHeight", "Signer", }); internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_core_channel_v1_MsgAcknowledgementResponse_descriptor, new java.lang.String[] { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.equal); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.moretags); registry.add(com.google.protobuf.GoGoProtos.nullable); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); ibc.core.client.v1.Client.getDescriptor(); ibc.core.channel.v1.ChannelOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy