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

ibc.lightclients.solomachine.v1.Solomachine Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ibc/lightclients/solomachine/v1/solomachine.proto

package ibc.lightclients.solomachine.v1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * DataType defines the type of solo machine proof being created. This is done to preserve uniqueness of different
   * data sign byte encodings.
   * 
* * Protobuf enum {@code ibc.lightclients.solomachine.v1.DataType} */ public enum DataType implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Default State
     * 
* * DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(.gogoproto.enumvalue_customname) = "UNSPECIFIED"]; */ DATA_TYPE_UNINITIALIZED_UNSPECIFIED(0), /** *
     * Data type for client state verification
     * 
* * DATA_TYPE_CLIENT_STATE = 1 [(.gogoproto.enumvalue_customname) = "CLIENT"]; */ DATA_TYPE_CLIENT_STATE(1), /** *
     * Data type for consensus state verification
     * 
* * DATA_TYPE_CONSENSUS_STATE = 2 [(.gogoproto.enumvalue_customname) = "CONSENSUS"]; */ DATA_TYPE_CONSENSUS_STATE(2), /** *
     * Data type for connection state verification
     * 
* * DATA_TYPE_CONNECTION_STATE = 3 [(.gogoproto.enumvalue_customname) = "CONNECTION"]; */ DATA_TYPE_CONNECTION_STATE(3), /** *
     * Data type for channel state verification
     * 
* * DATA_TYPE_CHANNEL_STATE = 4 [(.gogoproto.enumvalue_customname) = "CHANNEL"]; */ DATA_TYPE_CHANNEL_STATE(4), /** *
     * Data type for packet commitment verification
     * 
* * DATA_TYPE_PACKET_COMMITMENT = 5 [(.gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; */ DATA_TYPE_PACKET_COMMITMENT(5), /** *
     * Data type for packet acknowledgement verification
     * 
* * DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(.gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; */ DATA_TYPE_PACKET_ACKNOWLEDGEMENT(6), /** *
     * Data type for packet receipt absence verification
     * 
* * DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(.gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; */ DATA_TYPE_PACKET_RECEIPT_ABSENCE(7), /** *
     * Data type for next sequence recv verification
     * 
* * DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(.gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; */ DATA_TYPE_NEXT_SEQUENCE_RECV(8), /** *
     * Data type for header verification
     * 
* * DATA_TYPE_HEADER = 9 [(.gogoproto.enumvalue_customname) = "HEADER"]; */ DATA_TYPE_HEADER(9), UNRECOGNIZED(-1), ; /** *
     * Default State
     * 
* * DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(.gogoproto.enumvalue_customname) = "UNSPECIFIED"]; */ public static final int DATA_TYPE_UNINITIALIZED_UNSPECIFIED_VALUE = 0; /** *
     * Data type for client state verification
     * 
* * DATA_TYPE_CLIENT_STATE = 1 [(.gogoproto.enumvalue_customname) = "CLIENT"]; */ public static final int DATA_TYPE_CLIENT_STATE_VALUE = 1; /** *
     * Data type for consensus state verification
     * 
* * DATA_TYPE_CONSENSUS_STATE = 2 [(.gogoproto.enumvalue_customname) = "CONSENSUS"]; */ public static final int DATA_TYPE_CONSENSUS_STATE_VALUE = 2; /** *
     * Data type for connection state verification
     * 
* * DATA_TYPE_CONNECTION_STATE = 3 [(.gogoproto.enumvalue_customname) = "CONNECTION"]; */ public static final int DATA_TYPE_CONNECTION_STATE_VALUE = 3; /** *
     * Data type for channel state verification
     * 
* * DATA_TYPE_CHANNEL_STATE = 4 [(.gogoproto.enumvalue_customname) = "CHANNEL"]; */ public static final int DATA_TYPE_CHANNEL_STATE_VALUE = 4; /** *
     * Data type for packet commitment verification
     * 
* * DATA_TYPE_PACKET_COMMITMENT = 5 [(.gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; */ public static final int DATA_TYPE_PACKET_COMMITMENT_VALUE = 5; /** *
     * Data type for packet acknowledgement verification
     * 
* * DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(.gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; */ public static final int DATA_TYPE_PACKET_ACKNOWLEDGEMENT_VALUE = 6; /** *
     * Data type for packet receipt absence verification
     * 
* * DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(.gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; */ public static final int DATA_TYPE_PACKET_RECEIPT_ABSENCE_VALUE = 7; /** *
     * Data type for next sequence recv verification
     * 
* * DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(.gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; */ public static final int DATA_TYPE_NEXT_SEQUENCE_RECV_VALUE = 8; /** *
     * Data type for header verification
     * 
* * DATA_TYPE_HEADER = 9 [(.gogoproto.enumvalue_customname) = "HEADER"]; */ public static final int DATA_TYPE_HEADER_VALUE = 9; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DataType valueOf(int value) { return forNumber(value); } public static DataType forNumber(int value) { switch (value) { case 0: return DATA_TYPE_UNINITIALIZED_UNSPECIFIED; case 1: return DATA_TYPE_CLIENT_STATE; case 2: return DATA_TYPE_CONSENSUS_STATE; case 3: return DATA_TYPE_CONNECTION_STATE; case 4: return DATA_TYPE_CHANNEL_STATE; case 5: return DATA_TYPE_PACKET_COMMITMENT; case 6: return DATA_TYPE_PACKET_ACKNOWLEDGEMENT; case 7: return DATA_TYPE_PACKET_RECEIPT_ABSENCE; case 8: return DATA_TYPE_NEXT_SEQUENCE_RECV; case 9: return DATA_TYPE_HEADER; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< DataType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public DataType findValueByNumber(int number) { return DataType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.getDescriptor().getEnumTypes().get(0); } private static final DataType[] VALUES = values(); public static DataType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private DataType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:ibc.lightclients.solomachine.v1.DataType) } public interface ClientStateOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ClientState) com.google.protobuf.MessageOrBuilder { /** *
     * latest sequence of the client state
     * 
* * uint64 sequence = 1; */ long getSequence(); /** *
     * frozen sequence of the solo machine
     * 
* * uint64 frozen_sequence = 2 [(.gogoproto.moretags) = "yaml:\"frozen_sequence\""]; */ long getFrozenSequence(); /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ boolean hasConsensusState(); /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ ibc.lightclients.solomachine.v1.Solomachine.ConsensusState getConsensusState(); /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder getConsensusStateOrBuilder(); /** *
     * when set to true, will allow governance to update a solo machine client.
     * The client will be unfrozen if it is frozen.
     * 
* * bool allow_update_after_proposal = 4 [(.gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; */ boolean getAllowUpdateAfterProposal(); } /** *
   * ClientState defines a solo machine client that tracks the current consensus
   * state and if the client is frozen.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ClientState} */ public static final class ClientState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ClientState) ClientStateOrBuilder { private static final long serialVersionUID = 0L; // Use ClientState.newBuilder() to construct. private ClientState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientState() { sequence_ = 0L; frozenSequence_ = 0L; allowUpdateAfterProposal_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { sequence_ = input.readUInt64(); break; } case 16: { frozenSequence_ = input.readUInt64(); break; } case 26: { ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder subBuilder = null; if (consensusState_ != null) { subBuilder = consensusState_.toBuilder(); } consensusState_ = input.readMessage(ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusState_); consensusState_ = subBuilder.buildPartial(); } break; } case 32: { allowUpdateAfterProposal_ = input.readBool(); 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.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientState_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ClientState.class, ibc.lightclients.solomachine.v1.Solomachine.ClientState.Builder.class); } public static final int SEQUENCE_FIELD_NUMBER = 1; private long sequence_; /** *
     * latest sequence of the client state
     * 
* * uint64 sequence = 1; */ public long getSequence() { return sequence_; } public static final int FROZEN_SEQUENCE_FIELD_NUMBER = 2; private long frozenSequence_; /** *
     * frozen sequence of the solo machine
     * 
* * uint64 frozen_sequence = 2 [(.gogoproto.moretags) = "yaml:\"frozen_sequence\""]; */ public long getFrozenSequence() { return frozenSequence_; } public static final int CONSENSUS_STATE_FIELD_NUMBER = 3; private ibc.lightclients.solomachine.v1.Solomachine.ConsensusState consensusState_; /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public boolean hasConsensusState() { return consensusState_ != null; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState getConsensusState() { return consensusState_ == null ? ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.getDefaultInstance() : consensusState_; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder getConsensusStateOrBuilder() { return getConsensusState(); } public static final int ALLOW_UPDATE_AFTER_PROPOSAL_FIELD_NUMBER = 4; private boolean allowUpdateAfterProposal_; /** *
     * when set to true, will allow governance to update a solo machine client.
     * The client will be unfrozen if it is frozen.
     * 
* * bool allow_update_after_proposal = 4 [(.gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; */ public boolean getAllowUpdateAfterProposal() { return allowUpdateAfterProposal_; } 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 (sequence_ != 0L) { output.writeUInt64(1, sequence_); } if (frozenSequence_ != 0L) { output.writeUInt64(2, frozenSequence_); } if (consensusState_ != null) { output.writeMessage(3, getConsensusState()); } if (allowUpdateAfterProposal_ != false) { output.writeBool(4, allowUpdateAfterProposal_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, sequence_); } if (frozenSequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, frozenSequence_); } if (consensusState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getConsensusState()); } if (allowUpdateAfterProposal_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, allowUpdateAfterProposal_); } 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.lightclients.solomachine.v1.Solomachine.ClientState)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ClientState other = (ibc.lightclients.solomachine.v1.Solomachine.ClientState) obj; boolean result = true; result = result && (getSequence() == other.getSequence()); result = result && (getFrozenSequence() == other.getFrozenSequence()); result = result && (hasConsensusState() == other.hasConsensusState()); if (hasConsensusState()) { result = result && getConsensusState() .equals(other.getConsensusState()); } result = result && (getAllowUpdateAfterProposal() == other.getAllowUpdateAfterProposal()); 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) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (37 * hash) + FROZEN_SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFrozenSequence()); if (hasConsensusState()) { hash = (37 * hash) + CONSENSUS_STATE_FIELD_NUMBER; hash = (53 * hash) + getConsensusState().hashCode(); } hash = (37 * hash) + ALLOW_UPDATE_AFTER_PROPOSAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAllowUpdateAfterProposal()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState 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.lightclients.solomachine.v1.Solomachine.ClientState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState 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.lightclients.solomachine.v1.Solomachine.ClientState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState 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.lightclients.solomachine.v1.Solomachine.ClientState 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; } /** *
     * ClientState defines a solo machine client that tracks the current consensus
     * state and if the client is frozen.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ClientState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ClientState) ibc.lightclients.solomachine.v1.Solomachine.ClientStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientState_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ClientState.class, ibc.lightclients.solomachine.v1.Solomachine.ClientState.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ClientState.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(); sequence_ = 0L; frozenSequence_ = 0L; if (consensusStateBuilder_ == null) { consensusState_ = null; } else { consensusState_ = null; consensusStateBuilder_ = null; } allowUpdateAfterProposal_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientState getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ClientState.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientState build() { ibc.lightclients.solomachine.v1.Solomachine.ClientState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientState buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ClientState result = new ibc.lightclients.solomachine.v1.Solomachine.ClientState(this); result.sequence_ = sequence_; result.frozenSequence_ = frozenSequence_; if (consensusStateBuilder_ == null) { result.consensusState_ = consensusState_; } else { result.consensusState_ = consensusStateBuilder_.build(); } result.allowUpdateAfterProposal_ = allowUpdateAfterProposal_; 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.lightclients.solomachine.v1.Solomachine.ClientState) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ClientState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ClientState other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ClientState.getDefaultInstance()) return this; if (other.getSequence() != 0L) { setSequence(other.getSequence()); } if (other.getFrozenSequence() != 0L) { setFrozenSequence(other.getFrozenSequence()); } if (other.hasConsensusState()) { mergeConsensusState(other.getConsensusState()); } if (other.getAllowUpdateAfterProposal() != false) { setAllowUpdateAfterProposal(other.getAllowUpdateAfterProposal()); } 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.lightclients.solomachine.v1.Solomachine.ClientState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ClientState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long sequence_ ; /** *
       * latest sequence of the client state
       * 
* * uint64 sequence = 1; */ public long getSequence() { return sequence_; } /** *
       * latest sequence of the client state
       * 
* * uint64 sequence = 1; */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** *
       * latest sequence of the client state
       * 
* * uint64 sequence = 1; */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } private long frozenSequence_ ; /** *
       * frozen sequence of the solo machine
       * 
* * uint64 frozen_sequence = 2 [(.gogoproto.moretags) = "yaml:\"frozen_sequence\""]; */ public long getFrozenSequence() { return frozenSequence_; } /** *
       * frozen sequence of the solo machine
       * 
* * uint64 frozen_sequence = 2 [(.gogoproto.moretags) = "yaml:\"frozen_sequence\""]; */ public Builder setFrozenSequence(long value) { frozenSequence_ = value; onChanged(); return this; } /** *
       * frozen sequence of the solo machine
       * 
* * uint64 frozen_sequence = 2 [(.gogoproto.moretags) = "yaml:\"frozen_sequence\""]; */ public Builder clearFrozenSequence() { frozenSequence_ = 0L; onChanged(); return this; } private ibc.lightclients.solomachine.v1.Solomachine.ConsensusState consensusState_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.ConsensusState, ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder, ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder> consensusStateBuilder_; /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public boolean hasConsensusState() { return consensusStateBuilder_ != null || consensusState_ != null; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState getConsensusState() { if (consensusStateBuilder_ == null) { return consensusState_ == null ? ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.getDefaultInstance() : consensusState_; } else { return consensusStateBuilder_.getMessage(); } } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder setConsensusState(ibc.lightclients.solomachine.v1.Solomachine.ConsensusState value) { if (consensusStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusState_ = value; onChanged(); } else { consensusStateBuilder_.setMessage(value); } return this; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder setConsensusState( ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder builderForValue) { if (consensusStateBuilder_ == null) { consensusState_ = builderForValue.build(); onChanged(); } else { consensusStateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder mergeConsensusState(ibc.lightclients.solomachine.v1.Solomachine.ConsensusState value) { if (consensusStateBuilder_ == null) { if (consensusState_ != null) { consensusState_ = ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.newBuilder(consensusState_).mergeFrom(value).buildPartial(); } else { consensusState_ = value; } onChanged(); } else { consensusStateBuilder_.mergeFrom(value); } return this; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder clearConsensusState() { if (consensusStateBuilder_ == null) { consensusState_ = null; onChanged(); } else { consensusState_ = null; consensusStateBuilder_ = null; } return this; } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder getConsensusStateBuilder() { onChanged(); return getConsensusStateFieldBuilder().getBuilder(); } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder getConsensusStateOrBuilder() { if (consensusStateBuilder_ != null) { return consensusStateBuilder_.getMessageOrBuilder(); } else { return consensusState_ == null ? ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.getDefaultInstance() : consensusState_; } } /** * .ibc.lightclients.solomachine.v1.ConsensusState consensus_state = 3 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.ConsensusState, ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder, ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder> getConsensusStateFieldBuilder() { if (consensusStateBuilder_ == null) { consensusStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.ConsensusState, ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder, ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder>( getConsensusState(), getParentForChildren(), isClean()); consensusState_ = null; } return consensusStateBuilder_; } private boolean allowUpdateAfterProposal_ ; /** *
       * when set to true, will allow governance to update a solo machine client.
       * The client will be unfrozen if it is frozen.
       * 
* * bool allow_update_after_proposal = 4 [(.gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; */ public boolean getAllowUpdateAfterProposal() { return allowUpdateAfterProposal_; } /** *
       * when set to true, will allow governance to update a solo machine client.
       * The client will be unfrozen if it is frozen.
       * 
* * bool allow_update_after_proposal = 4 [(.gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; */ public Builder setAllowUpdateAfterProposal(boolean value) { allowUpdateAfterProposal_ = value; onChanged(); return this; } /** *
       * when set to true, will allow governance to update a solo machine client.
       * The client will be unfrozen if it is frozen.
       * 
* * bool allow_update_after_proposal = 4 [(.gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; */ public Builder clearAllowUpdateAfterProposal() { allowUpdateAfterProposal_ = false; 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.lightclients.solomachine.v1.ClientState) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ClientState) private static final ibc.lightclients.solomachine.v1.Solomachine.ClientState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ClientState(); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientState(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.lightclients.solomachine.v1.Solomachine.ClientState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConsensusStateOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ConsensusState) com.google.protobuf.MessageOrBuilder { /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ boolean hasPublicKey(); /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ com.google.protobuf.Any getPublicKey(); /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ com.google.protobuf.AnyOrBuilder getPublicKeyOrBuilder(); /** *
     * diversifier allows the same public key to be re-used across different solo machine clients
     * (potentially on different chains) without being considered misbehaviour.
     * 
* * string diversifier = 2; */ java.lang.String getDiversifier(); /** *
     * diversifier allows the same public key to be re-used across different solo machine clients
     * (potentially on different chains) without being considered misbehaviour.
     * 
* * string diversifier = 2; */ com.google.protobuf.ByteString getDiversifierBytes(); /** * uint64 timestamp = 3; */ long getTimestamp(); } /** *
   * ConsensusState defines a solo machine consensus state. The sequence of a consensus state
   * is contained in the "height" key used in storing the consensus state.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConsensusState} */ public static final class ConsensusState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ConsensusState) ConsensusStateOrBuilder { private static final long serialVersionUID = 0L; // Use ConsensusState.newBuilder() to construct. private ConsensusState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConsensusState() { diversifier_ = ""; timestamp_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConsensusState( 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: { com.google.protobuf.Any.Builder subBuilder = null; if (publicKey_ != null) { subBuilder = publicKey_.toBuilder(); } publicKey_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(publicKey_); publicKey_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); diversifier_ = s; break; } case 24: { timestamp_ = input.readUInt64(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusState_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.class, ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder.class); } public static final int PUBLIC_KEY_FIELD_NUMBER = 1; private com.google.protobuf.Any publicKey_; /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public boolean hasPublicKey() { return publicKey_ != null; } /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public com.google.protobuf.Any getPublicKey() { return publicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : publicKey_; } /** *
     * public key of the solo machine
     * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public com.google.protobuf.AnyOrBuilder getPublicKeyOrBuilder() { return getPublicKey(); } public static final int DIVERSIFIER_FIELD_NUMBER = 2; private volatile java.lang.Object diversifier_; /** *
     * diversifier allows the same public key to be re-used across different solo machine clients
     * (potentially on different chains) without being considered misbehaviour.
     * 
* * string diversifier = 2; */ public java.lang.String getDiversifier() { java.lang.Object ref = diversifier_; 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(); diversifier_ = s; return s; } } /** *
     * diversifier allows the same public key to be re-used across different solo machine clients
     * (potentially on different chains) without being considered misbehaviour.
     * 
* * string diversifier = 2; */ public com.google.protobuf.ByteString getDiversifierBytes() { java.lang.Object ref = diversifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); diversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_; /** * uint64 timestamp = 3; */ public long getTimestamp() { return timestamp_; } 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 (publicKey_ != null) { output.writeMessage(1, getPublicKey()); } if (!getDiversifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, diversifier_); } if (timestamp_ != 0L) { output.writeUInt64(3, timestamp_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (publicKey_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPublicKey()); } if (!getDiversifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, diversifier_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.lightclients.solomachine.v1.Solomachine.ConsensusState)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ConsensusState other = (ibc.lightclients.solomachine.v1.Solomachine.ConsensusState) obj; boolean result = true; result = result && (hasPublicKey() == other.hasPublicKey()); if (hasPublicKey()) { result = result && getPublicKey() .equals(other.getPublicKey()); } result = result && getDiversifier() .equals(other.getDiversifier()); result = result && (getTimestamp() == other.getTimestamp()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPublicKey()) { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); } hash = (37 * hash) + DIVERSIFIER_FIELD_NUMBER; hash = (53 * hash) + getDiversifier().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState 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.lightclients.solomachine.v1.Solomachine.ConsensusState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState 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.lightclients.solomachine.v1.Solomachine.ConsensusState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState 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.lightclients.solomachine.v1.Solomachine.ConsensusState 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; } /** *
     * ConsensusState defines a solo machine consensus state. The sequence of a consensus state
     * is contained in the "height" key used in storing the consensus state.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConsensusState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ConsensusState) ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusState_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.class, ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.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 (publicKeyBuilder_ == null) { publicKey_ = null; } else { publicKey_ = null; publicKeyBuilder_ = null; } diversifier_ = ""; timestamp_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState build() { ibc.lightclients.solomachine.v1.Solomachine.ConsensusState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusState buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ConsensusState result = new ibc.lightclients.solomachine.v1.Solomachine.ConsensusState(this); if (publicKeyBuilder_ == null) { result.publicKey_ = publicKey_; } else { result.publicKey_ = publicKeyBuilder_.build(); } result.diversifier_ = diversifier_; result.timestamp_ = timestamp_; 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.lightclients.solomachine.v1.Solomachine.ConsensusState) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ConsensusState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ConsensusState other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ConsensusState.getDefaultInstance()) return this; if (other.hasPublicKey()) { mergePublicKey(other.getPublicKey()); } if (!other.getDiversifier().isEmpty()) { diversifier_ = other.diversifier_; onChanged(); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } 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.lightclients.solomachine.v1.Solomachine.ConsensusState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ConsensusState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Any publicKey_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> publicKeyBuilder_; /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public boolean hasPublicKey() { return publicKeyBuilder_ != null || publicKey_ != null; } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public com.google.protobuf.Any getPublicKey() { if (publicKeyBuilder_ == null) { return publicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : publicKey_; } else { return publicKeyBuilder_.getMessage(); } } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public Builder setPublicKey(com.google.protobuf.Any value) { if (publicKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } publicKey_ = value; onChanged(); } else { publicKeyBuilder_.setMessage(value); } return this; } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public Builder setPublicKey( com.google.protobuf.Any.Builder builderForValue) { if (publicKeyBuilder_ == null) { publicKey_ = builderForValue.build(); onChanged(); } else { publicKeyBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public Builder mergePublicKey(com.google.protobuf.Any value) { if (publicKeyBuilder_ == null) { if (publicKey_ != null) { publicKey_ = com.google.protobuf.Any.newBuilder(publicKey_).mergeFrom(value).buildPartial(); } else { publicKey_ = value; } onChanged(); } else { publicKeyBuilder_.mergeFrom(value); } return this; } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public Builder clearPublicKey() { if (publicKeyBuilder_ == null) { publicKey_ = null; onChanged(); } else { publicKey_ = null; publicKeyBuilder_ = null; } return this; } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public com.google.protobuf.Any.Builder getPublicKeyBuilder() { onChanged(); return getPublicKeyFieldBuilder().getBuilder(); } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ public com.google.protobuf.AnyOrBuilder getPublicKeyOrBuilder() { if (publicKeyBuilder_ != null) { return publicKeyBuilder_.getMessageOrBuilder(); } else { return publicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : publicKey_; } } /** *
       * public key of the solo machine
       * 
* * .google.protobuf.Any public_key = 1 [(.gogoproto.moretags) = "yaml:\"public_key\""]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getPublicKeyFieldBuilder() { if (publicKeyBuilder_ == null) { publicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getPublicKey(), getParentForChildren(), isClean()); publicKey_ = null; } return publicKeyBuilder_; } private java.lang.Object diversifier_ = ""; /** *
       * diversifier allows the same public key to be re-used across different solo machine clients
       * (potentially on different chains) without being considered misbehaviour.
       * 
* * string diversifier = 2; */ public java.lang.String getDiversifier() { java.lang.Object ref = diversifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diversifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * diversifier allows the same public key to be re-used across different solo machine clients
       * (potentially on different chains) without being considered misbehaviour.
       * 
* * string diversifier = 2; */ public com.google.protobuf.ByteString getDiversifierBytes() { java.lang.Object ref = diversifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); diversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * diversifier allows the same public key to be re-used across different solo machine clients
       * (potentially on different chains) without being considered misbehaviour.
       * 
* * string diversifier = 2; */ public Builder setDiversifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } diversifier_ = value; onChanged(); return this; } /** *
       * diversifier allows the same public key to be re-used across different solo machine clients
       * (potentially on different chains) without being considered misbehaviour.
       * 
* * string diversifier = 2; */ public Builder clearDiversifier() { diversifier_ = getDefaultInstance().getDiversifier(); onChanged(); return this; } /** *
       * diversifier allows the same public key to be re-used across different solo machine clients
       * (potentially on different chains) without being considered misbehaviour.
       * 
* * string diversifier = 2; */ public Builder setDiversifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); diversifier_ = value; onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 3; */ public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 3; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * uint64 timestamp = 3; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.lightclients.solomachine.v1.ConsensusState) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ConsensusState) private static final ibc.lightclients.solomachine.v1.Solomachine.ConsensusState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ConsensusState(); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConsensusState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConsensusState(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.lightclients.solomachine.v1.Solomachine.ConsensusState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.Header) com.google.protobuf.MessageOrBuilder { /** *
     * sequence to update solo machine public key at
     * 
* * uint64 sequence = 1; */ long getSequence(); /** * uint64 timestamp = 2; */ long getTimestamp(); /** * bytes signature = 3; */ com.google.protobuf.ByteString getSignature(); /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ boolean hasNewPublicKey(); /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ com.google.protobuf.Any getNewPublicKey(); /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ com.google.protobuf.AnyOrBuilder getNewPublicKeyOrBuilder(); /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ java.lang.String getNewDiversifier(); /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ com.google.protobuf.ByteString getNewDiversifierBytes(); } /** *
   * Header defines a solo machine consensus header
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.Header} */ public static final class Header extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.Header) HeaderOrBuilder { private static final long serialVersionUID = 0L; // Use Header.newBuilder() to construct. private Header(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Header() { sequence_ = 0L; timestamp_ = 0L; signature_ = com.google.protobuf.ByteString.EMPTY; newDiversifier_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Header( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { sequence_ = input.readUInt64(); break; } case 16: { timestamp_ = input.readUInt64(); break; } case 26: { signature_ = input.readBytes(); break; } case 34: { com.google.protobuf.Any.Builder subBuilder = null; if (newPublicKey_ != null) { subBuilder = newPublicKey_.toBuilder(); } newPublicKey_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(newPublicKey_); newPublicKey_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); newDiversifier_ = 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.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.Header.class, ibc.lightclients.solomachine.v1.Solomachine.Header.Builder.class); } public static final int SEQUENCE_FIELD_NUMBER = 1; private long sequence_; /** *
     * sequence to update solo machine public key at
     * 
* * uint64 sequence = 1; */ public long getSequence() { return sequence_; } public static final int TIMESTAMP_FIELD_NUMBER = 2; private long timestamp_; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } public static final int SIGNATURE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString signature_; /** * bytes signature = 3; */ public com.google.protobuf.ByteString getSignature() { return signature_; } public static final int NEW_PUBLIC_KEY_FIELD_NUMBER = 4; private com.google.protobuf.Any newPublicKey_; /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public boolean hasNewPublicKey() { return newPublicKey_ != null; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public com.google.protobuf.Any getNewPublicKey() { return newPublicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPublicKey_; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public com.google.protobuf.AnyOrBuilder getNewPublicKeyOrBuilder() { return getNewPublicKey(); } public static final int NEW_DIVERSIFIER_FIELD_NUMBER = 5; private volatile java.lang.Object newDiversifier_; /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public java.lang.String getNewDiversifier() { java.lang.Object ref = newDiversifier_; 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(); newDiversifier_ = s; return s; } } /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public com.google.protobuf.ByteString getNewDiversifierBytes() { java.lang.Object ref = newDiversifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newDiversifier_ = 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 (sequence_ != 0L) { output.writeUInt64(1, sequence_); } if (timestamp_ != 0L) { output.writeUInt64(2, timestamp_); } if (!signature_.isEmpty()) { output.writeBytes(3, signature_); } if (newPublicKey_ != null) { output.writeMessage(4, getNewPublicKey()); } if (!getNewDiversifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, newDiversifier_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, sequence_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, timestamp_); } if (!signature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, signature_); } if (newPublicKey_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getNewPublicKey()); } if (!getNewDiversifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, newDiversifier_); } 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.lightclients.solomachine.v1.Solomachine.Header)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.Header other = (ibc.lightclients.solomachine.v1.Solomachine.Header) obj; boolean result = true; result = result && (getSequence() == other.getSequence()); result = result && (getTimestamp() == other.getTimestamp()); result = result && getSignature() .equals(other.getSignature()); result = result && (hasNewPublicKey() == other.hasNewPublicKey()); if (hasNewPublicKey()) { result = result && getNewPublicKey() .equals(other.getNewPublicKey()); } result = result && getNewDiversifier() .equals(other.getNewDiversifier()); 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) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); if (hasNewPublicKey()) { hash = (37 * hash) + NEW_PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getNewPublicKey().hashCode(); } hash = (37 * hash) + NEW_DIVERSIFIER_FIELD_NUMBER; hash = (53 * hash) + getNewDiversifier().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Header 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.lightclients.solomachine.v1.Solomachine.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Header 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.lightclients.solomachine.v1.Solomachine.Header parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Header 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.lightclients.solomachine.v1.Solomachine.Header 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; } /** *
     * Header defines a solo machine consensus header
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.Header} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.Header) ibc.lightclients.solomachine.v1.Solomachine.HeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Header_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.Header.class, ibc.lightclients.solomachine.v1.Solomachine.Header.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.Header.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(); sequence_ = 0L; timestamp_ = 0L; signature_ = com.google.protobuf.ByteString.EMPTY; if (newPublicKeyBuilder_ == null) { newPublicKey_ = null; } else { newPublicKey_ = null; newPublicKeyBuilder_ = null; } newDiversifier_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Header_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Header getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.Header.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Header build() { ibc.lightclients.solomachine.v1.Solomachine.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Header buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.Header result = new ibc.lightclients.solomachine.v1.Solomachine.Header(this); result.sequence_ = sequence_; result.timestamp_ = timestamp_; result.signature_ = signature_; if (newPublicKeyBuilder_ == null) { result.newPublicKey_ = newPublicKey_; } else { result.newPublicKey_ = newPublicKeyBuilder_.build(); } result.newDiversifier_ = newDiversifier_; 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.lightclients.solomachine.v1.Solomachine.Header) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.Header)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.Header other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.Header.getDefaultInstance()) return this; if (other.getSequence() != 0L) { setSequence(other.getSequence()); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.hasNewPublicKey()) { mergeNewPublicKey(other.getNewPublicKey()); } if (!other.getNewDiversifier().isEmpty()) { newDiversifier_ = other.newDiversifier_; 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.lightclients.solomachine.v1.Solomachine.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.Header) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long sequence_ ; /** *
       * sequence to update solo machine public key at
       * 
* * uint64 sequence = 1; */ public long getSequence() { return sequence_; } /** *
       * sequence to update solo machine public key at
       * 
* * uint64 sequence = 1; */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** *
       * sequence to update solo machine public key at
       * 
* * uint64 sequence = 1; */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 2; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * uint64 timestamp = 2; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; /** * bytes signature = 3; */ public com.google.protobuf.ByteString getSignature() { return signature_; } /** * bytes signature = 3; */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** * bytes signature = 3; */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } private com.google.protobuf.Any newPublicKey_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> newPublicKeyBuilder_; /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public boolean hasNewPublicKey() { return newPublicKeyBuilder_ != null || newPublicKey_ != null; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public com.google.protobuf.Any getNewPublicKey() { if (newPublicKeyBuilder_ == null) { return newPublicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPublicKey_; } else { return newPublicKeyBuilder_.getMessage(); } } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public Builder setNewPublicKey(com.google.protobuf.Any value) { if (newPublicKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } newPublicKey_ = value; onChanged(); } else { newPublicKeyBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public Builder setNewPublicKey( com.google.protobuf.Any.Builder builderForValue) { if (newPublicKeyBuilder_ == null) { newPublicKey_ = builderForValue.build(); onChanged(); } else { newPublicKeyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public Builder mergeNewPublicKey(com.google.protobuf.Any value) { if (newPublicKeyBuilder_ == null) { if (newPublicKey_ != null) { newPublicKey_ = com.google.protobuf.Any.newBuilder(newPublicKey_).mergeFrom(value).buildPartial(); } else { newPublicKey_ = value; } onChanged(); } else { newPublicKeyBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public Builder clearNewPublicKey() { if (newPublicKeyBuilder_ == null) { newPublicKey_ = null; onChanged(); } else { newPublicKey_ = null; newPublicKeyBuilder_ = null; } return this; } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public com.google.protobuf.Any.Builder getNewPublicKeyBuilder() { onChanged(); return getNewPublicKeyFieldBuilder().getBuilder(); } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ public com.google.protobuf.AnyOrBuilder getNewPublicKeyOrBuilder() { if (newPublicKeyBuilder_ != null) { return newPublicKeyBuilder_.getMessageOrBuilder(); } else { return newPublicKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPublicKey_; } } /** * .google.protobuf.Any new_public_key = 4 [(.gogoproto.moretags) = "yaml:\"new_public_key\""]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getNewPublicKeyFieldBuilder() { if (newPublicKeyBuilder_ == null) { newPublicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getNewPublicKey(), getParentForChildren(), isClean()); newPublicKey_ = null; } return newPublicKeyBuilder_; } private java.lang.Object newDiversifier_ = ""; /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public java.lang.String getNewDiversifier() { java.lang.Object ref = newDiversifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newDiversifier_ = s; return s; } else { return (java.lang.String) ref; } } /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public com.google.protobuf.ByteString getNewDiversifierBytes() { java.lang.Object ref = newDiversifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newDiversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder setNewDiversifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newDiversifier_ = value; onChanged(); return this; } /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder clearNewDiversifier() { newDiversifier_ = getDefaultInstance().getNewDiversifier(); onChanged(); return this; } /** * string new_diversifier = 5 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder setNewDiversifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newDiversifier_ = 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.lightclients.solomachine.v1.Header) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.Header) private static final ibc.lightclients.solomachine.v1.Solomachine.Header DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.Header(); } public static ibc.lightclients.solomachine.v1.Solomachine.Header getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { @java.lang.Override public Header parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Header(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.lightclients.solomachine.v1.Solomachine.Header getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MisbehaviourOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.Misbehaviour) com.google.protobuf.MessageOrBuilder { /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ java.lang.String getClientId(); /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ com.google.protobuf.ByteString getClientIdBytes(); /** * uint64 sequence = 2; */ long getSequence(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ boolean hasSignatureOne(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureOne(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureOneOrBuilder(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ boolean hasSignatureTwo(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureTwo(); /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureTwoOrBuilder(); } /** *
   * Misbehaviour defines misbehaviour for a solo machine which consists
   * of a sequence and two signatures over different messages at that sequence.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.Misbehaviour} */ public static final class Misbehaviour extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.Misbehaviour) MisbehaviourOrBuilder { private static final long serialVersionUID = 0L; // Use Misbehaviour.newBuilder() to construct. private Misbehaviour(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Misbehaviour() { clientId_ = ""; sequence_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Misbehaviour( 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(); clientId_ = s; break; } case 16: { sequence_ = input.readUInt64(); break; } case 26: { ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder subBuilder = null; if (signatureOne_ != null) { subBuilder = signatureOne_.toBuilder(); } signatureOne_ = input.readMessage(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(signatureOne_); signatureOne_ = subBuilder.buildPartial(); } break; } case 34: { ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder subBuilder = null; if (signatureTwo_ != null) { subBuilder = signatureTwo_.toBuilder(); } signatureTwo_ = input.readMessage(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(signatureTwo_); signatureTwo_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.class, ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.Builder.class); } public static final int CLIENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object clientId_; /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; 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(); clientId_ = s; return s; } } /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SEQUENCE_FIELD_NUMBER = 2; private long sequence_; /** * uint64 sequence = 2; */ public long getSequence() { return sequence_; } public static final int SIGNATURE_ONE_FIELD_NUMBER = 3; private ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData signatureOne_; /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public boolean hasSignatureOne() { return signatureOne_ != null; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureOne() { return signatureOne_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureOne_; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureOneOrBuilder() { return getSignatureOne(); } public static final int SIGNATURE_TWO_FIELD_NUMBER = 4; private ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData signatureTwo_; /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public boolean hasSignatureTwo() { return signatureTwo_ != null; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureTwo() { return signatureTwo_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureTwo_; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureTwoOrBuilder() { return getSignatureTwo(); } 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 (!getClientIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientId_); } if (sequence_ != 0L) { output.writeUInt64(2, sequence_); } if (signatureOne_ != null) { output.writeMessage(3, getSignatureOne()); } if (signatureTwo_ != null) { output.writeMessage(4, getSignatureTwo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClientIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientId_); } if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, sequence_); } if (signatureOne_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getSignatureOne()); } if (signatureTwo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSignatureTwo()); } 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.lightclients.solomachine.v1.Solomachine.Misbehaviour)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour other = (ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour) obj; boolean result = true; result = result && getClientId() .equals(other.getClientId()); result = result && (getSequence() == other.getSequence()); result = result && (hasSignatureOne() == other.hasSignatureOne()); if (hasSignatureOne()) { result = result && getSignatureOne() .equals(other.getSignatureOne()); } result = result && (hasSignatureTwo() == other.hasSignatureTwo()); if (hasSignatureTwo()) { result = result && getSignatureTwo() .equals(other.getSignatureTwo()); } 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) + CLIENT_ID_FIELD_NUMBER; hash = (53 * hash) + getClientId().hashCode(); hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); if (hasSignatureOne()) { hash = (37 * hash) + SIGNATURE_ONE_FIELD_NUMBER; hash = (53 * hash) + getSignatureOne().hashCode(); } if (hasSignatureTwo()) { hash = (37 * hash) + SIGNATURE_TWO_FIELD_NUMBER; hash = (53 * hash) + getSignatureTwo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour 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.lightclients.solomachine.v1.Solomachine.Misbehaviour parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour 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.lightclients.solomachine.v1.Solomachine.Misbehaviour parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour 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.lightclients.solomachine.v1.Solomachine.Misbehaviour 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; } /** *
     * Misbehaviour defines misbehaviour for a solo machine which consists
     * of a sequence and two signatures over different messages at that sequence.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.Misbehaviour} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.Misbehaviour) ibc.lightclients.solomachine.v1.Solomachine.MisbehaviourOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.class, ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.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(); clientId_ = ""; sequence_ = 0L; if (signatureOneBuilder_ == null) { signatureOne_ = null; } else { signatureOne_ = null; signatureOneBuilder_ = null; } if (signatureTwoBuilder_ == null) { signatureTwo_ = null; } else { signatureTwo_ = null; signatureTwoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour build() { ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour result = new ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour(this); result.clientId_ = clientId_; result.sequence_ = sequence_; if (signatureOneBuilder_ == null) { result.signatureOne_ = signatureOne_; } else { result.signatureOne_ = signatureOneBuilder_.build(); } if (signatureTwoBuilder_ == null) { result.signatureTwo_ = signatureTwo_; } else { result.signatureTwo_ = signatureTwoBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour.getDefaultInstance()) return this; if (!other.getClientId().isEmpty()) { clientId_ = other.clientId_; onChanged(); } if (other.getSequence() != 0L) { setSequence(other.getSequence()); } if (other.hasSignatureOne()) { mergeSignatureOne(other.getSignatureOne()); } if (other.hasSignatureTwo()) { mergeSignatureTwo(other.getSignatureTwo()); } 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.lightclients.solomachine.v1.Solomachine.Misbehaviour parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object clientId_ = ""; /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public Builder setClientId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientId_ = value; onChanged(); return this; } /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public Builder clearClientId() { clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * string client_id = 1 [(.gogoproto.moretags) = "yaml:\"client_id\""]; */ public Builder setClientIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientId_ = value; onChanged(); return this; } private long sequence_ ; /** * uint64 sequence = 2; */ public long getSequence() { return sequence_; } /** * uint64 sequence = 2; */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** * uint64 sequence = 2; */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } private ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData signatureOne_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder> signatureOneBuilder_; /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public boolean hasSignatureOne() { return signatureOneBuilder_ != null || signatureOne_ != null; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureOne() { if (signatureOneBuilder_ == null) { return signatureOne_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureOne_; } else { return signatureOneBuilder_.getMessage(); } } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public Builder setSignatureOne(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData value) { if (signatureOneBuilder_ == null) { if (value == null) { throw new NullPointerException(); } signatureOne_ = value; onChanged(); } else { signatureOneBuilder_.setMessage(value); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public Builder setSignatureOne( ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder builderForValue) { if (signatureOneBuilder_ == null) { signatureOne_ = builderForValue.build(); onChanged(); } else { signatureOneBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public Builder mergeSignatureOne(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData value) { if (signatureOneBuilder_ == null) { if (signatureOne_ != null) { signatureOne_ = ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.newBuilder(signatureOne_).mergeFrom(value).buildPartial(); } else { signatureOne_ = value; } onChanged(); } else { signatureOneBuilder_.mergeFrom(value); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public Builder clearSignatureOne() { if (signatureOneBuilder_ == null) { signatureOne_ = null; onChanged(); } else { signatureOne_ = null; signatureOneBuilder_ = null; } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder getSignatureOneBuilder() { onChanged(); return getSignatureOneFieldBuilder().getBuilder(); } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureOneOrBuilder() { if (signatureOneBuilder_ != null) { return signatureOneBuilder_.getMessageOrBuilder(); } else { return signatureOne_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureOne_; } } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_one = 3 [(.gogoproto.moretags) = "yaml:\"signature_one\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder> getSignatureOneFieldBuilder() { if (signatureOneBuilder_ == null) { signatureOneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder>( getSignatureOne(), getParentForChildren(), isClean()); signatureOne_ = null; } return signatureOneBuilder_; } private ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData signatureTwo_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder> signatureTwoBuilder_; /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public boolean hasSignatureTwo() { return signatureTwoBuilder_ != null || signatureTwo_ != null; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getSignatureTwo() { if (signatureTwoBuilder_ == null) { return signatureTwo_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureTwo_; } else { return signatureTwoBuilder_.getMessage(); } } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public Builder setSignatureTwo(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData value) { if (signatureTwoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } signatureTwo_ = value; onChanged(); } else { signatureTwoBuilder_.setMessage(value); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public Builder setSignatureTwo( ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder builderForValue) { if (signatureTwoBuilder_ == null) { signatureTwo_ = builderForValue.build(); onChanged(); } else { signatureTwoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public Builder mergeSignatureTwo(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData value) { if (signatureTwoBuilder_ == null) { if (signatureTwo_ != null) { signatureTwo_ = ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.newBuilder(signatureTwo_).mergeFrom(value).buildPartial(); } else { signatureTwo_ = value; } onChanged(); } else { signatureTwoBuilder_.mergeFrom(value); } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public Builder clearSignatureTwo() { if (signatureTwoBuilder_ == null) { signatureTwo_ = null; onChanged(); } else { signatureTwo_ = null; signatureTwoBuilder_ = null; } return this; } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder getSignatureTwoBuilder() { onChanged(); return getSignatureTwoFieldBuilder().getBuilder(); } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder getSignatureTwoOrBuilder() { if (signatureTwoBuilder_ != null) { return signatureTwoBuilder_.getMessageOrBuilder(); } else { return signatureTwo_ == null ? ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance() : signatureTwo_; } } /** * .ibc.lightclients.solomachine.v1.SignatureAndData signature_two = 4 [(.gogoproto.moretags) = "yaml:\"signature_two\""]; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder> getSignatureTwoFieldBuilder() { if (signatureTwoBuilder_ == null) { signatureTwoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder>( getSignatureTwo(), getParentForChildren(), isClean()); signatureTwo_ = null; } return signatureTwoBuilder_; } @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.lightclients.solomachine.v1.Misbehaviour) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.Misbehaviour) private static final ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour(); } public static ibc.lightclients.solomachine.v1.Solomachine.Misbehaviour getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Misbehaviour parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Misbehaviour(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.lightclients.solomachine.v1.Solomachine.Misbehaviour getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SignatureAndDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.SignatureAndData) com.google.protobuf.MessageOrBuilder { /** * bytes signature = 1; */ com.google.protobuf.ByteString getSignature(); /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ int getDataTypeValue(); /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType(); /** * bytes data = 3; */ com.google.protobuf.ByteString getData(); /** * uint64 timestamp = 4; */ long getTimestamp(); } /** *
   * SignatureAndData contains a signature and the data signed over to create that
   * signature.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.SignatureAndData} */ public static final class SignatureAndData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.SignatureAndData) SignatureAndDataOrBuilder { private static final long serialVersionUID = 0L; // Use SignatureAndData.newBuilder() to construct. private SignatureAndData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SignatureAndData() { signature_ = com.google.protobuf.ByteString.EMPTY; dataType_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; timestamp_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SignatureAndData( 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: { signature_ = input.readBytes(); break; } case 16: { int rawValue = input.readEnum(); dataType_ = rawValue; break; } case 26: { data_ = input.readBytes(); break; } case 32: { timestamp_ = input.readUInt64(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.class, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder.class); } public static final int SIGNATURE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString signature_; /** * bytes signature = 1; */ public com.google.protobuf.ByteString getSignature() { return signature_; } public static final int DATA_TYPE_FIELD_NUMBER = 2; private int dataType_; /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public int getDataTypeValue() { return dataType_; } /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType() { @SuppressWarnings("deprecation") ibc.lightclients.solomachine.v1.Solomachine.DataType result = ibc.lightclients.solomachine.v1.Solomachine.DataType.valueOf(dataType_); return result == null ? ibc.lightclients.solomachine.v1.Solomachine.DataType.UNRECOGNIZED : result; } public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** * bytes data = 3; */ public com.google.protobuf.ByteString getData() { return data_; } public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** * uint64 timestamp = 4; */ public long getTimestamp() { return timestamp_; } 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 (!signature_.isEmpty()) { output.writeBytes(1, signature_); } if (dataType_ != ibc.lightclients.solomachine.v1.Solomachine.DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED.getNumber()) { output.writeEnum(2, dataType_); } if (!data_.isEmpty()) { output.writeBytes(3, data_); } if (timestamp_ != 0L) { output.writeUInt64(4, timestamp_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!signature_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, signature_); } if (dataType_ != ibc.lightclients.solomachine.v1.Solomachine.DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, dataType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, data_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData other = (ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData) obj; boolean result = true; result = result && getSignature() .equals(other.getSignature()); result = result && dataType_ == other.dataType_; result = result && getData() .equals(other.getData()); result = result && (getTimestamp() == other.getTimestamp()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; hash = (53 * hash) + dataType_; hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData 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.lightclients.solomachine.v1.Solomachine.SignatureAndData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData 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.lightclients.solomachine.v1.Solomachine.SignatureAndData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData 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.lightclients.solomachine.v1.Solomachine.SignatureAndData 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; } /** *
     * SignatureAndData contains a signature and the data signed over to create that
     * signature.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.SignatureAndData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.SignatureAndData) ibc.lightclients.solomachine.v1.Solomachine.SignatureAndDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.class, ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.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(); signature_ = com.google.protobuf.ByteString.EMPTY; dataType_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; timestamp_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData build() { ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData result = new ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData(this); result.signature_ = signature_; result.dataType_ = dataType_; result.data_ = data_; result.timestamp_ = timestamp_; 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.lightclients.solomachine.v1.Solomachine.SignatureAndData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.dataType_ != 0) { setDataTypeValue(other.getDataTypeValue()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } 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.lightclients.solomachine.v1.Solomachine.SignatureAndData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; /** * bytes signature = 1; */ public com.google.protobuf.ByteString getSignature() { return signature_; } /** * bytes signature = 1; */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** * bytes signature = 1; */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } private int dataType_ = 0; /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public int getDataTypeValue() { return dataType_; } /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder setDataTypeValue(int value) { dataType_ = value; onChanged(); return this; } /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType() { @SuppressWarnings("deprecation") ibc.lightclients.solomachine.v1.Solomachine.DataType result = ibc.lightclients.solomachine.v1.Solomachine.DataType.valueOf(dataType_); return result == null ? ibc.lightclients.solomachine.v1.Solomachine.DataType.UNRECOGNIZED : result; } /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder setDataType(ibc.lightclients.solomachine.v1.Solomachine.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /** * .ibc.lightclients.solomachine.v1.DataType data_type = 2 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder clearDataType() { dataType_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 3; */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 3; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 3; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 4; */ public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 4; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * uint64 timestamp = 4; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.lightclients.solomachine.v1.SignatureAndData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.SignatureAndData) private static final ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData(); } public static ibc.lightclients.solomachine.v1.Solomachine.SignatureAndData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SignatureAndData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SignatureAndData(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.lightclients.solomachine.v1.Solomachine.SignatureAndData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimestampedSignatureDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.TimestampedSignatureData) com.google.protobuf.MessageOrBuilder { /** * bytes signature_data = 1 [(.gogoproto.moretags) = "yaml:\"signature_data\""]; */ com.google.protobuf.ByteString getSignatureData(); /** * uint64 timestamp = 2; */ long getTimestamp(); } /** *
   * TimestampedSignatureData contains the signature data and the timestamp of the
   * signature.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.TimestampedSignatureData} */ public static final class TimestampedSignatureData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.TimestampedSignatureData) TimestampedSignatureDataOrBuilder { private static final long serialVersionUID = 0L; // Use TimestampedSignatureData.newBuilder() to construct. private TimestampedSignatureData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimestampedSignatureData() { signatureData_ = com.google.protobuf.ByteString.EMPTY; timestamp_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimestampedSignatureData( 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: { signatureData_ = input.readBytes(); break; } case 16: { timestamp_ = input.readUInt64(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.class, ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.Builder.class); } public static final int SIGNATURE_DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString signatureData_; /** * bytes signature_data = 1 [(.gogoproto.moretags) = "yaml:\"signature_data\""]; */ public com.google.protobuf.ByteString getSignatureData() { return signatureData_; } public static final int TIMESTAMP_FIELD_NUMBER = 2; private long timestamp_; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } 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 (!signatureData_.isEmpty()) { output.writeBytes(1, signatureData_); } if (timestamp_ != 0L) { output.writeUInt64(2, timestamp_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!signatureData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, signatureData_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, timestamp_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData other = (ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData) obj; boolean result = true; result = result && getSignatureData() .equals(other.getSignatureData()); result = result && (getTimestamp() == other.getTimestamp()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIGNATURE_DATA_FIELD_NUMBER; hash = (53 * hash) + getSignatureData().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData 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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData 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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData 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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData 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; } /** *
     * TimestampedSignatureData contains the signature data and the timestamp of the
     * signature.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.TimestampedSignatureData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.TimestampedSignatureData) ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.class, ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.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(); signatureData_ = com.google.protobuf.ByteString.EMPTY; timestamp_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData build() { ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData result = new ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData(this); result.signatureData_ = signatureData_; result.timestamp_ = timestamp_; 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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData.getDefaultInstance()) return this; if (other.getSignatureData() != com.google.protobuf.ByteString.EMPTY) { setSignatureData(other.getSignatureData()); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } 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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString signatureData_ = com.google.protobuf.ByteString.EMPTY; /** * bytes signature_data = 1 [(.gogoproto.moretags) = "yaml:\"signature_data\""]; */ public com.google.protobuf.ByteString getSignatureData() { return signatureData_; } /** * bytes signature_data = 1 [(.gogoproto.moretags) = "yaml:\"signature_data\""]; */ public Builder setSignatureData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } signatureData_ = value; onChanged(); return this; } /** * bytes signature_data = 1 [(.gogoproto.moretags) = "yaml:\"signature_data\""]; */ public Builder clearSignatureData() { signatureData_ = getDefaultInstance().getSignatureData(); onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 2; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * uint64 timestamp = 2; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.lightclients.solomachine.v1.TimestampedSignatureData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.TimestampedSignatureData) private static final ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData(); } public static ibc.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimestampedSignatureData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimestampedSignatureData(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.lightclients.solomachine.v1.Solomachine.TimestampedSignatureData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SignBytesOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.SignBytes) com.google.protobuf.MessageOrBuilder { /** * uint64 sequence = 1; */ long getSequence(); /** * uint64 timestamp = 2; */ long getTimestamp(); /** * string diversifier = 3; */ java.lang.String getDiversifier(); /** * string diversifier = 3; */ com.google.protobuf.ByteString getDiversifierBytes(); /** *
     * type of the data used
     * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ int getDataTypeValue(); /** *
     * type of the data used
     * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType(); /** *
     * marshaled data
     * 
* * bytes data = 5; */ com.google.protobuf.ByteString getData(); } /** *
   * SignBytes defines the signed bytes used for signature verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.SignBytes} */ public static final class SignBytes extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.SignBytes) SignBytesOrBuilder { private static final long serialVersionUID = 0L; // Use SignBytes.newBuilder() to construct. private SignBytes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SignBytes() { sequence_ = 0L; timestamp_ = 0L; diversifier_ = ""; dataType_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SignBytes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { sequence_ = input.readUInt64(); break; } case 16: { timestamp_ = input.readUInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); diversifier_ = s; break; } case 32: { int rawValue = input.readEnum(); dataType_ = rawValue; break; } case 42: { data_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignBytes_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.SignBytes.class, ibc.lightclients.solomachine.v1.Solomachine.SignBytes.Builder.class); } public static final int SEQUENCE_FIELD_NUMBER = 1; private long sequence_; /** * uint64 sequence = 1; */ public long getSequence() { return sequence_; } public static final int TIMESTAMP_FIELD_NUMBER = 2; private long timestamp_; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } public static final int DIVERSIFIER_FIELD_NUMBER = 3; private volatile java.lang.Object diversifier_; /** * string diversifier = 3; */ public java.lang.String getDiversifier() { java.lang.Object ref = diversifier_; 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(); diversifier_ = s; return s; } } /** * string diversifier = 3; */ public com.google.protobuf.ByteString getDiversifierBytes() { java.lang.Object ref = diversifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); diversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_TYPE_FIELD_NUMBER = 4; private int dataType_; /** *
     * type of the data used
     * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public int getDataTypeValue() { return dataType_; } /** *
     * type of the data used
     * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType() { @SuppressWarnings("deprecation") ibc.lightclients.solomachine.v1.Solomachine.DataType result = ibc.lightclients.solomachine.v1.Solomachine.DataType.valueOf(dataType_); return result == null ? ibc.lightclients.solomachine.v1.Solomachine.DataType.UNRECOGNIZED : result; } public static final int DATA_FIELD_NUMBER = 5; private com.google.protobuf.ByteString data_; /** *
     * marshaled data
     * 
* * bytes data = 5; */ public com.google.protobuf.ByteString getData() { return data_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sequence_ != 0L) { output.writeUInt64(1, sequence_); } if (timestamp_ != 0L) { output.writeUInt64(2, timestamp_); } if (!getDiversifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, diversifier_); } if (dataType_ != ibc.lightclients.solomachine.v1.Solomachine.DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED.getNumber()) { output.writeEnum(4, dataType_); } if (!data_.isEmpty()) { output.writeBytes(5, data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sequence_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, sequence_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, timestamp_); } if (!getDiversifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, diversifier_); } if (dataType_ != ibc.lightclients.solomachine.v1.Solomachine.DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, dataType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, data_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ibc.lightclients.solomachine.v1.Solomachine.SignBytes)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.SignBytes other = (ibc.lightclients.solomachine.v1.Solomachine.SignBytes) obj; boolean result = true; result = result && (getSequence() == other.getSequence()); result = result && (getTimestamp() == other.getTimestamp()); result = result && getDiversifier() .equals(other.getDiversifier()); result = result && dataType_ == other.dataType_; result = result && getData() .equals(other.getData()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequence()); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (37 * hash) + DIVERSIFIER_FIELD_NUMBER; hash = (53 * hash) + getDiversifier().hashCode(); hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; hash = (53 * hash) + dataType_; hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes 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.lightclients.solomachine.v1.Solomachine.SignBytes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes 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.lightclients.solomachine.v1.Solomachine.SignBytes parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes 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.lightclients.solomachine.v1.Solomachine.SignBytes 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; } /** *
     * SignBytes defines the signed bytes used for signature verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.SignBytes} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.SignBytes) ibc.lightclients.solomachine.v1.Solomachine.SignBytesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignBytes_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.SignBytes.class, ibc.lightclients.solomachine.v1.Solomachine.SignBytes.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.SignBytes.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(); sequence_ = 0L; timestamp_ = 0L; diversifier_ = ""; dataType_ = 0; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignBytes getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.SignBytes.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignBytes build() { ibc.lightclients.solomachine.v1.Solomachine.SignBytes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.SignBytes buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.SignBytes result = new ibc.lightclients.solomachine.v1.Solomachine.SignBytes(this); result.sequence_ = sequence_; result.timestamp_ = timestamp_; result.diversifier_ = diversifier_; result.dataType_ = dataType_; result.data_ = data_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.SignBytes) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.SignBytes)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.SignBytes other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.SignBytes.getDefaultInstance()) return this; if (other.getSequence() != 0L) { setSequence(other.getSequence()); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } if (!other.getDiversifier().isEmpty()) { diversifier_ = other.diversifier_; onChanged(); } if (other.dataType_ != 0) { setDataTypeValue(other.getDataTypeValue()); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { ibc.lightclients.solomachine.v1.Solomachine.SignBytes parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.SignBytes) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long sequence_ ; /** * uint64 sequence = 1; */ public long getSequence() { return sequence_; } /** * uint64 sequence = 1; */ public Builder setSequence(long value) { sequence_ = value; onChanged(); return this; } /** * uint64 sequence = 1; */ public Builder clearSequence() { sequence_ = 0L; onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 2; */ public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 2; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * uint64 timestamp = 2; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } private java.lang.Object diversifier_ = ""; /** * string diversifier = 3; */ public java.lang.String getDiversifier() { java.lang.Object ref = diversifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diversifier_ = s; return s; } else { return (java.lang.String) ref; } } /** * string diversifier = 3; */ public com.google.protobuf.ByteString getDiversifierBytes() { java.lang.Object ref = diversifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); diversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string diversifier = 3; */ public Builder setDiversifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } diversifier_ = value; onChanged(); return this; } /** * string diversifier = 3; */ public Builder clearDiversifier() { diversifier_ = getDefaultInstance().getDiversifier(); onChanged(); return this; } /** * string diversifier = 3; */ public Builder setDiversifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); diversifier_ = value; onChanged(); return this; } private int dataType_ = 0; /** *
       * type of the data used
       * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public int getDataTypeValue() { return dataType_; } /** *
       * type of the data used
       * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder setDataTypeValue(int value) { dataType_ = value; onChanged(); return this; } /** *
       * type of the data used
       * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public ibc.lightclients.solomachine.v1.Solomachine.DataType getDataType() { @SuppressWarnings("deprecation") ibc.lightclients.solomachine.v1.Solomachine.DataType result = ibc.lightclients.solomachine.v1.Solomachine.DataType.valueOf(dataType_); return result == null ? ibc.lightclients.solomachine.v1.Solomachine.DataType.UNRECOGNIZED : result; } /** *
       * type of the data used
       * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder setDataType(ibc.lightclients.solomachine.v1.Solomachine.DataType value) { if (value == null) { throw new NullPointerException(); } dataType_ = value.getNumber(); onChanged(); return this; } /** *
       * type of the data used
       * 
* * .ibc.lightclients.solomachine.v1.DataType data_type = 4 [(.gogoproto.moretags) = "yaml:\"data_type\""]; */ public Builder clearDataType() { dataType_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** *
       * marshaled data
       * 
* * bytes data = 5; */ public com.google.protobuf.ByteString getData() { return data_; } /** *
       * marshaled data
       * 
* * bytes data = 5; */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** *
       * marshaled data
       * 
* * bytes data = 5; */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.lightclients.solomachine.v1.SignBytes) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.SignBytes) private static final ibc.lightclients.solomachine.v1.Solomachine.SignBytes DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.SignBytes(); } public static ibc.lightclients.solomachine.v1.Solomachine.SignBytes getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SignBytes parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SignBytes(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.lightclients.solomachine.v1.Solomachine.SignBytes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HeaderDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.HeaderData) com.google.protobuf.MessageOrBuilder { /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ boolean hasNewPubKey(); /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ com.google.protobuf.Any getNewPubKey(); /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ com.google.protobuf.AnyOrBuilder getNewPubKeyOrBuilder(); /** *
     * header diversifier
     * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ java.lang.String getNewDiversifier(); /** *
     * header diversifier
     * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ com.google.protobuf.ByteString getNewDiversifierBytes(); } /** *
   * HeaderData returns the SignBytes data for update verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.HeaderData} */ public static final class HeaderData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.HeaderData) HeaderDataOrBuilder { private static final long serialVersionUID = 0L; // Use HeaderData.newBuilder() to construct. private HeaderData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HeaderData() { newDiversifier_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HeaderData( 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: { com.google.protobuf.Any.Builder subBuilder = null; if (newPubKey_ != null) { subBuilder = newPubKey_.toBuilder(); } newPubKey_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(newPubKey_); newPubKey_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); newDiversifier_ = 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.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_HeaderData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.HeaderData.class, ibc.lightclients.solomachine.v1.Solomachine.HeaderData.Builder.class); } public static final int NEW_PUB_KEY_FIELD_NUMBER = 1; private com.google.protobuf.Any newPubKey_; /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public boolean hasNewPubKey() { return newPubKey_ != null; } /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public com.google.protobuf.Any getNewPubKey() { return newPubKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPubKey_; } /** *
     * header public key
     * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public com.google.protobuf.AnyOrBuilder getNewPubKeyOrBuilder() { return getNewPubKey(); } public static final int NEW_DIVERSIFIER_FIELD_NUMBER = 2; private volatile java.lang.Object newDiversifier_; /** *
     * header diversifier
     * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public java.lang.String getNewDiversifier() { java.lang.Object ref = newDiversifier_; 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(); newDiversifier_ = s; return s; } } /** *
     * header diversifier
     * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public com.google.protobuf.ByteString getNewDiversifierBytes() { java.lang.Object ref = newDiversifier_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newDiversifier_ = 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 (newPubKey_ != null) { output.writeMessage(1, getNewPubKey()); } if (!getNewDiversifierBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newDiversifier_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (newPubKey_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNewPubKey()); } if (!getNewDiversifierBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newDiversifier_); } 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.lightclients.solomachine.v1.Solomachine.HeaderData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.HeaderData other = (ibc.lightclients.solomachine.v1.Solomachine.HeaderData) obj; boolean result = true; result = result && (hasNewPubKey() == other.hasNewPubKey()); if (hasNewPubKey()) { result = result && getNewPubKey() .equals(other.getNewPubKey()); } result = result && getNewDiversifier() .equals(other.getNewDiversifier()); 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 (hasNewPubKey()) { hash = (37 * hash) + NEW_PUB_KEY_FIELD_NUMBER; hash = (53 * hash) + getNewPubKey().hashCode(); } hash = (37 * hash) + NEW_DIVERSIFIER_FIELD_NUMBER; hash = (53 * hash) + getNewDiversifier().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData 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.lightclients.solomachine.v1.Solomachine.HeaderData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData 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.lightclients.solomachine.v1.Solomachine.HeaderData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData 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.lightclients.solomachine.v1.Solomachine.HeaderData 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; } /** *
     * HeaderData returns the SignBytes data for update verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.HeaderData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.HeaderData) ibc.lightclients.solomachine.v1.Solomachine.HeaderDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_HeaderData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.HeaderData.class, ibc.lightclients.solomachine.v1.Solomachine.HeaderData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.HeaderData.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 (newPubKeyBuilder_ == null) { newPubKey_ = null; } else { newPubKey_ = null; newPubKeyBuilder_ = null; } newDiversifier_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.HeaderData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.HeaderData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.HeaderData build() { ibc.lightclients.solomachine.v1.Solomachine.HeaderData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.HeaderData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.HeaderData result = new ibc.lightclients.solomachine.v1.Solomachine.HeaderData(this); if (newPubKeyBuilder_ == null) { result.newPubKey_ = newPubKey_; } else { result.newPubKey_ = newPubKeyBuilder_.build(); } result.newDiversifier_ = newDiversifier_; 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.lightclients.solomachine.v1.Solomachine.HeaderData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.HeaderData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.HeaderData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.HeaderData.getDefaultInstance()) return this; if (other.hasNewPubKey()) { mergeNewPubKey(other.getNewPubKey()); } if (!other.getNewDiversifier().isEmpty()) { newDiversifier_ = other.newDiversifier_; 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.lightclients.solomachine.v1.Solomachine.HeaderData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.HeaderData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Any newPubKey_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> newPubKeyBuilder_; /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public boolean hasNewPubKey() { return newPubKeyBuilder_ != null || newPubKey_ != null; } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public com.google.protobuf.Any getNewPubKey() { if (newPubKeyBuilder_ == null) { return newPubKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPubKey_; } else { return newPubKeyBuilder_.getMessage(); } } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public Builder setNewPubKey(com.google.protobuf.Any value) { if (newPubKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } newPubKey_ = value; onChanged(); } else { newPubKeyBuilder_.setMessage(value); } return this; } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public Builder setNewPubKey( com.google.protobuf.Any.Builder builderForValue) { if (newPubKeyBuilder_ == null) { newPubKey_ = builderForValue.build(); onChanged(); } else { newPubKeyBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public Builder mergeNewPubKey(com.google.protobuf.Any value) { if (newPubKeyBuilder_ == null) { if (newPubKey_ != null) { newPubKey_ = com.google.protobuf.Any.newBuilder(newPubKey_).mergeFrom(value).buildPartial(); } else { newPubKey_ = value; } onChanged(); } else { newPubKeyBuilder_.mergeFrom(value); } return this; } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public Builder clearNewPubKey() { if (newPubKeyBuilder_ == null) { newPubKey_ = null; onChanged(); } else { newPubKey_ = null; newPubKeyBuilder_ = null; } return this; } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public com.google.protobuf.Any.Builder getNewPubKeyBuilder() { onChanged(); return getNewPubKeyFieldBuilder().getBuilder(); } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ public com.google.protobuf.AnyOrBuilder getNewPubKeyOrBuilder() { if (newPubKeyBuilder_ != null) { return newPubKeyBuilder_.getMessageOrBuilder(); } else { return newPubKey_ == null ? com.google.protobuf.Any.getDefaultInstance() : newPubKey_; } } /** *
       * header public key
       * 
* * .google.protobuf.Any new_pub_key = 1 [(.gogoproto.moretags) = "yaml:\"new_pub_key\""]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getNewPubKeyFieldBuilder() { if (newPubKeyBuilder_ == null) { newPubKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getNewPubKey(), getParentForChildren(), isClean()); newPubKey_ = null; } return newPubKeyBuilder_; } private java.lang.Object newDiversifier_ = ""; /** *
       * header diversifier
       * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public java.lang.String getNewDiversifier() { java.lang.Object ref = newDiversifier_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newDiversifier_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * header diversifier
       * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public com.google.protobuf.ByteString getNewDiversifierBytes() { java.lang.Object ref = newDiversifier_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newDiversifier_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * header diversifier
       * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder setNewDiversifier( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newDiversifier_ = value; onChanged(); return this; } /** *
       * header diversifier
       * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder clearNewDiversifier() { newDiversifier_ = getDefaultInstance().getNewDiversifier(); onChanged(); return this; } /** *
       * header diversifier
       * 
* * string new_diversifier = 2 [(.gogoproto.moretags) = "yaml:\"new_diversifier\""]; */ public Builder setNewDiversifierBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newDiversifier_ = 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.lightclients.solomachine.v1.HeaderData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.HeaderData) private static final ibc.lightclients.solomachine.v1.Solomachine.HeaderData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.HeaderData(); } public static ibc.lightclients.solomachine.v1.Solomachine.HeaderData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HeaderData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HeaderData(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.lightclients.solomachine.v1.Solomachine.HeaderData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClientStateDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ClientStateData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ boolean hasClientState(); /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ com.google.protobuf.Any getClientState(); /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ com.google.protobuf.AnyOrBuilder getClientStateOrBuilder(); } /** *
   * ClientStateData returns the SignBytes data for client state verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ClientStateData} */ public static final class ClientStateData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ClientStateData) ClientStateDataOrBuilder { private static final long serialVersionUID = 0L; // Use ClientStateData.newBuilder() to construct. private ClientStateData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientStateData() { path_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientStateData( 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: { path_ = input.readBytes(); break; } case 18: { com.google.protobuf.Any.Builder subBuilder = null; if (clientState_ != null) { subBuilder = clientState_.toBuilder(); } clientState_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clientState_); clientState_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int CLIENT_STATE_FIELD_NUMBER = 2; private com.google.protobuf.Any clientState_; /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public boolean hasClientState() { return clientState_ != null; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public com.google.protobuf.Any getClientState() { return clientState_ == null ? com.google.protobuf.Any.getDefaultInstance() : clientState_; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public com.google.protobuf.AnyOrBuilder getClientStateOrBuilder() { return getClientState(); } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (clientState_ != null) { output.writeMessage(2, getClientState()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (clientState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getClientState()); } 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.lightclients.solomachine.v1.Solomachine.ClientStateData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ClientStateData other = (ibc.lightclients.solomachine.v1.Solomachine.ClientStateData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && (hasClientState() == other.hasClientState()); if (hasClientState()) { result = result && getClientState() .equals(other.getClientState()); } 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasClientState()) { hash = (37 * hash) + CLIENT_STATE_FIELD_NUMBER; hash = (53 * hash) + getClientState().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData 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.lightclients.solomachine.v1.Solomachine.ClientStateData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData 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.lightclients.solomachine.v1.Solomachine.ClientStateData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData 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.lightclients.solomachine.v1.Solomachine.ClientStateData 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; } /** *
     * ClientStateData returns the SignBytes data for client state verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ClientStateData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ClientStateData) ibc.lightclients.solomachine.v1.Solomachine.ClientStateDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.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(); path_ = com.google.protobuf.ByteString.EMPTY; if (clientStateBuilder_ == null) { clientState_ = null; } else { clientState_ = null; clientStateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientStateData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientStateData build() { ibc.lightclients.solomachine.v1.Solomachine.ClientStateData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ClientStateData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ClientStateData result = new ibc.lightclients.solomachine.v1.Solomachine.ClientStateData(this); result.path_ = path_; if (clientStateBuilder_ == null) { result.clientState_ = clientState_; } else { result.clientState_ = clientStateBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.ClientStateData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ClientStateData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ClientStateData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ClientStateData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.hasClientState()) { mergeClientState(other.getClientState()); } 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.lightclients.solomachine.v1.Solomachine.ClientStateData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ClientStateData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } private com.google.protobuf.Any clientState_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> clientStateBuilder_; /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public boolean hasClientState() { return clientStateBuilder_ != null || clientState_ != null; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public com.google.protobuf.Any getClientState() { if (clientStateBuilder_ == null) { return clientState_ == null ? com.google.protobuf.Any.getDefaultInstance() : clientState_; } else { return clientStateBuilder_.getMessage(); } } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public Builder setClientState(com.google.protobuf.Any value) { if (clientStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clientState_ = value; onChanged(); } else { clientStateBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public Builder setClientState( com.google.protobuf.Any.Builder builderForValue) { if (clientStateBuilder_ == null) { clientState_ = builderForValue.build(); onChanged(); } else { clientStateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public Builder mergeClientState(com.google.protobuf.Any value) { if (clientStateBuilder_ == null) { if (clientState_ != null) { clientState_ = com.google.protobuf.Any.newBuilder(clientState_).mergeFrom(value).buildPartial(); } else { clientState_ = value; } onChanged(); } else { clientStateBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public Builder clearClientState() { if (clientStateBuilder_ == null) { clientState_ = null; onChanged(); } else { clientState_ = null; clientStateBuilder_ = null; } return this; } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public com.google.protobuf.Any.Builder getClientStateBuilder() { onChanged(); return getClientStateFieldBuilder().getBuilder(); } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ public com.google.protobuf.AnyOrBuilder getClientStateOrBuilder() { if (clientStateBuilder_ != null) { return clientStateBuilder_.getMessageOrBuilder(); } else { return clientState_ == null ? com.google.protobuf.Any.getDefaultInstance() : clientState_; } } /** * .google.protobuf.Any client_state = 2 [(.gogoproto.moretags) = "yaml:\"client_state\""]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getClientStateFieldBuilder() { if (clientStateBuilder_ == null) { clientStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getClientState(), getParentForChildren(), isClean()); clientState_ = null; } return clientStateBuilder_; } @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.lightclients.solomachine.v1.ClientStateData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ClientStateData) private static final ibc.lightclients.solomachine.v1.Solomachine.ClientStateData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ClientStateData(); } public static ibc.lightclients.solomachine.v1.Solomachine.ClientStateData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientStateData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientStateData(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.lightclients.solomachine.v1.Solomachine.ClientStateData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConsensusStateDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ConsensusStateData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ boolean hasConsensusState(); /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ com.google.protobuf.Any getConsensusState(); /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ com.google.protobuf.AnyOrBuilder getConsensusStateOrBuilder(); } /** *
   * ConsensusStateData returns the SignBytes data for consensus state
   * verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConsensusStateData} */ public static final class ConsensusStateData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ConsensusStateData) ConsensusStateDataOrBuilder { private static final long serialVersionUID = 0L; // Use ConsensusStateData.newBuilder() to construct. private ConsensusStateData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConsensusStateData() { path_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConsensusStateData( 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: { path_ = input.readBytes(); break; } case 18: { com.google.protobuf.Any.Builder subBuilder = null; if (consensusState_ != null) { subBuilder = consensusState_.toBuilder(); } consensusState_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(consensusState_); consensusState_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int CONSENSUS_STATE_FIELD_NUMBER = 2; private com.google.protobuf.Any consensusState_; /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public boolean hasConsensusState() { return consensusState_ != null; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public com.google.protobuf.Any getConsensusState() { return consensusState_ == null ? com.google.protobuf.Any.getDefaultInstance() : consensusState_; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public com.google.protobuf.AnyOrBuilder getConsensusStateOrBuilder() { return getConsensusState(); } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (consensusState_ != null) { output.writeMessage(2, getConsensusState()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (consensusState_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConsensusState()); } 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.lightclients.solomachine.v1.Solomachine.ConsensusStateData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData other = (ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && (hasConsensusState() == other.hasConsensusState()); if (hasConsensusState()) { result = result && getConsensusState() .equals(other.getConsensusState()); } 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasConsensusState()) { hash = (37 * hash) + CONSENSUS_STATE_FIELD_NUMBER; hash = (53 * hash) + getConsensusState().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData 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.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData 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.lightclients.solomachine.v1.Solomachine.ConsensusStateData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData 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.lightclients.solomachine.v1.Solomachine.ConsensusStateData 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; } /** *
     * ConsensusStateData returns the SignBytes data for consensus state
     * verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConsensusStateData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ConsensusStateData) ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.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(); path_ = com.google.protobuf.ByteString.EMPTY; if (consensusStateBuilder_ == null) { consensusState_ = null; } else { consensusState_ = null; consensusStateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData build() { ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData result = new ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData(this); result.path_ = path_; if (consensusStateBuilder_ == null) { result.consensusState_ = consensusState_; } else { result.consensusState_ = consensusStateBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.hasConsensusState()) { mergeConsensusState(other.getConsensusState()); } 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.lightclients.solomachine.v1.Solomachine.ConsensusStateData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } private com.google.protobuf.Any consensusState_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> consensusStateBuilder_; /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public boolean hasConsensusState() { return consensusStateBuilder_ != null || consensusState_ != null; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public com.google.protobuf.Any getConsensusState() { if (consensusStateBuilder_ == null) { return consensusState_ == null ? com.google.protobuf.Any.getDefaultInstance() : consensusState_; } else { return consensusStateBuilder_.getMessage(); } } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder setConsensusState(com.google.protobuf.Any value) { if (consensusStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } consensusState_ = value; onChanged(); } else { consensusStateBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder setConsensusState( com.google.protobuf.Any.Builder builderForValue) { if (consensusStateBuilder_ == null) { consensusState_ = builderForValue.build(); onChanged(); } else { consensusStateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder mergeConsensusState(com.google.protobuf.Any value) { if (consensusStateBuilder_ == null) { if (consensusState_ != null) { consensusState_ = com.google.protobuf.Any.newBuilder(consensusState_).mergeFrom(value).buildPartial(); } else { consensusState_ = value; } onChanged(); } else { consensusStateBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public Builder clearConsensusState() { if (consensusStateBuilder_ == null) { consensusState_ = null; onChanged(); } else { consensusState_ = null; consensusStateBuilder_ = null; } return this; } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public com.google.protobuf.Any.Builder getConsensusStateBuilder() { onChanged(); return getConsensusStateFieldBuilder().getBuilder(); } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ public com.google.protobuf.AnyOrBuilder getConsensusStateOrBuilder() { if (consensusStateBuilder_ != null) { return consensusStateBuilder_.getMessageOrBuilder(); } else { return consensusState_ == null ? com.google.protobuf.Any.getDefaultInstance() : consensusState_; } } /** * .google.protobuf.Any consensus_state = 2 [(.gogoproto.moretags) = "yaml:\"consensus_state\""]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getConsensusStateFieldBuilder() { if (consensusStateBuilder_ == null) { consensusStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( getConsensusState(), getParentForChildren(), isClean()); consensusState_ = null; } return consensusStateBuilder_; } @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.lightclients.solomachine.v1.ConsensusStateData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ConsensusStateData) private static final ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData(); } public static ibc.lightclients.solomachine.v1.Solomachine.ConsensusStateData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConsensusStateData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConsensusStateData(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.lightclients.solomachine.v1.Solomachine.ConsensusStateData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ConnectionStateDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ConnectionStateData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ boolean hasConnection(); /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ ibc.core.connection.v1.Connection.ConnectionEnd getConnection(); /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ ibc.core.connection.v1.Connection.ConnectionEndOrBuilder getConnectionOrBuilder(); } /** *
   * ConnectionStateData returns the SignBytes data for connection state
   * verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConnectionStateData} */ public static final class ConnectionStateData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ConnectionStateData) ConnectionStateDataOrBuilder { private static final long serialVersionUID = 0L; // Use ConnectionStateData.newBuilder() to construct. private ConnectionStateData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ConnectionStateData() { path_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ConnectionStateData( 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: { path_ = input.readBytes(); break; } case 18: { ibc.core.connection.v1.Connection.ConnectionEnd.Builder subBuilder = null; if (connection_ != null) { subBuilder = connection_.toBuilder(); } connection_ = input.readMessage(ibc.core.connection.v1.Connection.ConnectionEnd.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(connection_); connection_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int CONNECTION_FIELD_NUMBER = 2; private ibc.core.connection.v1.Connection.ConnectionEnd connection_; /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public boolean hasConnection() { return connection_ != null; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public ibc.core.connection.v1.Connection.ConnectionEnd getConnection() { return connection_ == null ? ibc.core.connection.v1.Connection.ConnectionEnd.getDefaultInstance() : connection_; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public ibc.core.connection.v1.Connection.ConnectionEndOrBuilder getConnectionOrBuilder() { return getConnection(); } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (connection_ != null) { output.writeMessage(2, getConnection()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (connection_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConnection()); } 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.lightclients.solomachine.v1.Solomachine.ConnectionStateData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData other = (ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && (hasConnection() == other.hasConnection()); if (hasConnection()) { result = result && getConnection() .equals(other.getConnection()); } 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasConnection()) { hash = (37 * hash) + CONNECTION_FIELD_NUMBER; hash = (53 * hash) + getConnection().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData 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.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData 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.lightclients.solomachine.v1.Solomachine.ConnectionStateData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData 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.lightclients.solomachine.v1.Solomachine.ConnectionStateData 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; } /** *
     * ConnectionStateData returns the SignBytes data for connection state
     * verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ConnectionStateData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ConnectionStateData) ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.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(); path_ = com.google.protobuf.ByteString.EMPTY; if (connectionBuilder_ == null) { connection_ = null; } else { connection_ = null; connectionBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData build() { ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData result = new ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData(this); result.path_ = path_; if (connectionBuilder_ == null) { result.connection_ = connection_; } else { result.connection_ = connectionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.hasConnection()) { mergeConnection(other.getConnection()); } 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.lightclients.solomachine.v1.Solomachine.ConnectionStateData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } private ibc.core.connection.v1.Connection.ConnectionEnd connection_ = null; private com.google.protobuf.SingleFieldBuilderV3< ibc.core.connection.v1.Connection.ConnectionEnd, ibc.core.connection.v1.Connection.ConnectionEnd.Builder, ibc.core.connection.v1.Connection.ConnectionEndOrBuilder> connectionBuilder_; /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public boolean hasConnection() { return connectionBuilder_ != null || connection_ != null; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public ibc.core.connection.v1.Connection.ConnectionEnd getConnection() { if (connectionBuilder_ == null) { return connection_ == null ? ibc.core.connection.v1.Connection.ConnectionEnd.getDefaultInstance() : connection_; } else { return connectionBuilder_.getMessage(); } } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public Builder setConnection(ibc.core.connection.v1.Connection.ConnectionEnd value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } connection_ = value; onChanged(); } else { connectionBuilder_.setMessage(value); } return this; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public Builder setConnection( ibc.core.connection.v1.Connection.ConnectionEnd.Builder builderForValue) { if (connectionBuilder_ == null) { connection_ = builderForValue.build(); onChanged(); } else { connectionBuilder_.setMessage(builderForValue.build()); } return this; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public Builder mergeConnection(ibc.core.connection.v1.Connection.ConnectionEnd value) { if (connectionBuilder_ == null) { if (connection_ != null) { connection_ = ibc.core.connection.v1.Connection.ConnectionEnd.newBuilder(connection_).mergeFrom(value).buildPartial(); } else { connection_ = value; } onChanged(); } else { connectionBuilder_.mergeFrom(value); } return this; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public Builder clearConnection() { if (connectionBuilder_ == null) { connection_ = null; onChanged(); } else { connection_ = null; connectionBuilder_ = null; } return this; } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public ibc.core.connection.v1.Connection.ConnectionEnd.Builder getConnectionBuilder() { onChanged(); return getConnectionFieldBuilder().getBuilder(); } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ public ibc.core.connection.v1.Connection.ConnectionEndOrBuilder getConnectionOrBuilder() { if (connectionBuilder_ != null) { return connectionBuilder_.getMessageOrBuilder(); } else { return connection_ == null ? ibc.core.connection.v1.Connection.ConnectionEnd.getDefaultInstance() : connection_; } } /** * .ibc.core.connection.v1.ConnectionEnd connection = 2; */ private com.google.protobuf.SingleFieldBuilderV3< ibc.core.connection.v1.Connection.ConnectionEnd, ibc.core.connection.v1.Connection.ConnectionEnd.Builder, ibc.core.connection.v1.Connection.ConnectionEndOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ibc.core.connection.v1.Connection.ConnectionEnd, ibc.core.connection.v1.Connection.ConnectionEnd.Builder, ibc.core.connection.v1.Connection.ConnectionEndOrBuilder>( getConnection(), getParentForChildren(), isClean()); connection_ = null; } return connectionBuilder_; } @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.lightclients.solomachine.v1.ConnectionStateData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ConnectionStateData) private static final ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData(); } public static ibc.lightclients.solomachine.v1.Solomachine.ConnectionStateData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ConnectionStateData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ConnectionStateData(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.lightclients.solomachine.v1.Solomachine.ConnectionStateData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChannelStateDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.ChannelStateData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * .ibc.core.channel.v1.Channel channel = 2; */ boolean hasChannel(); /** * .ibc.core.channel.v1.Channel channel = 2; */ ibc.core.channel.v1.ChannelOuterClass.Channel getChannel(); /** * .ibc.core.channel.v1.Channel channel = 2; */ ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder(); } /** *
   * ChannelStateData returns the SignBytes data for channel state
   * verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ChannelStateData} */ public static final class ChannelStateData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.ChannelStateData) ChannelStateDataOrBuilder { private static final long serialVersionUID = 0L; // Use ChannelStateData.newBuilder() to construct. private ChannelStateData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChannelStateData() { path_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChannelStateData( 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: { path_ = input.readBytes(); 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; } 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.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int CHANNEL_FIELD_NUMBER = 2; private ibc.core.channel.v1.ChannelOuterClass.Channel channel_; /** * .ibc.core.channel.v1.Channel channel = 2; */ public boolean hasChannel() { return channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 2; */ 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; */ public ibc.core.channel.v1.ChannelOuterClass.ChannelOrBuilder getChannelOrBuilder() { return getChannel(); } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (channel_ != null) { output.writeMessage(2, getChannel()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (channel_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getChannel()); } 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.lightclients.solomachine.v1.Solomachine.ChannelStateData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData other = (ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && (hasChannel() == other.hasChannel()); if (hasChannel()) { result = result && getChannel() .equals(other.getChannel()); } 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasChannel()) { hash = (37 * hash) + CHANNEL_FIELD_NUMBER; hash = (53 * hash) + getChannel().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData 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.lightclients.solomachine.v1.Solomachine.ChannelStateData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData 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.lightclients.solomachine.v1.Solomachine.ChannelStateData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData 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.lightclients.solomachine.v1.Solomachine.ChannelStateData 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; } /** *
     * ChannelStateData returns the SignBytes data for channel state
     * verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.ChannelStateData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.ChannelStateData) ibc.lightclients.solomachine.v1.Solomachine.ChannelStateDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.class, ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.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(); path_ = com.google.protobuf.ByteString.EMPTY; if (channelBuilder_ == null) { channel_ = null; } else { channel_ = null; channelBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData build() { ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData result = new ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData(this); result.path_ = path_; if (channelBuilder_ == null) { result.channel_ = channel_; } else { result.channel_ = channelBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.hasChannel()) { mergeChannel(other.getChannel()); } 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.lightclients.solomachine.v1.Solomachine.ChannelStateData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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; */ public boolean hasChannel() { return channelBuilder_ != null || channel_ != null; } /** * .ibc.core.channel.v1.Channel channel = 2; */ 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; */ 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; */ 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; */ 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; */ public Builder clearChannel() { if (channelBuilder_ == null) { channel_ = null; onChanged(); } else { channel_ = null; channelBuilder_ = null; } return this; } /** * .ibc.core.channel.v1.Channel channel = 2; */ public ibc.core.channel.v1.ChannelOuterClass.Channel.Builder getChannelBuilder() { onChanged(); return getChannelFieldBuilder().getBuilder(); } /** * .ibc.core.channel.v1.Channel channel = 2; */ 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; */ 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_; } @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.lightclients.solomachine.v1.ChannelStateData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.ChannelStateData) private static final ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData(); } public static ibc.lightclients.solomachine.v1.Solomachine.ChannelStateData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChannelStateData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChannelStateData(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.lightclients.solomachine.v1.Solomachine.ChannelStateData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PacketCommitmentDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.PacketCommitmentData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * bytes commitment = 2; */ com.google.protobuf.ByteString getCommitment(); } /** *
   * PacketCommitmentData returns the SignBytes data for packet commitment
   * verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketCommitmentData} */ public static final class PacketCommitmentData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.PacketCommitmentData) PacketCommitmentDataOrBuilder { private static final long serialVersionUID = 0L; // Use PacketCommitmentData.newBuilder() to construct. private PacketCommitmentData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PacketCommitmentData() { path_ = com.google.protobuf.ByteString.EMPTY; commitment_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PacketCommitmentData( 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: { path_ = input.readBytes(); break; } case 18: { commitment_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int COMMITMENT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString commitment_; /** * bytes commitment = 2; */ public com.google.protobuf.ByteString getCommitment() { return commitment_; } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (!commitment_.isEmpty()) { output.writeBytes(2, commitment_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (!commitment_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, commitment_); } 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData other = (ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && getCommitment() .equals(other.getCommitment()); 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + COMMITMENT_FIELD_NUMBER; hash = (53 * hash) + getCommitment().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData 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; } /** *
     * PacketCommitmentData returns the SignBytes data for packet commitment
     * verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketCommitmentData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.PacketCommitmentData) ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.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(); path_ = com.google.protobuf.ByteString.EMPTY; commitment_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData build() { ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData result = new ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData(this); result.path_ = path_; result.commitment_ = commitment_; 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.getCommitment() != com.google.protobuf.ByteString.EMPTY) { setCommitment(other.getCommitment()); } 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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } private com.google.protobuf.ByteString commitment_ = com.google.protobuf.ByteString.EMPTY; /** * bytes commitment = 2; */ public com.google.protobuf.ByteString getCommitment() { return commitment_; } /** * bytes commitment = 2; */ public Builder setCommitment(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } commitment_ = value; onChanged(); return this; } /** * bytes commitment = 2; */ public Builder clearCommitment() { commitment_ = getDefaultInstance().getCommitment(); 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.lightclients.solomachine.v1.PacketCommitmentData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.PacketCommitmentData) private static final ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData(); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketCommitmentData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PacketCommitmentData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PacketCommitmentData(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.lightclients.solomachine.v1.Solomachine.PacketCommitmentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PacketAcknowledgementDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.PacketAcknowledgementData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * bytes acknowledgement = 2; */ com.google.protobuf.ByteString getAcknowledgement(); } /** *
   * PacketAcknowledgementData returns the SignBytes data for acknowledgement
   * verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketAcknowledgementData} */ public static final class PacketAcknowledgementData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.PacketAcknowledgementData) PacketAcknowledgementDataOrBuilder { private static final long serialVersionUID = 0L; // Use PacketAcknowledgementData.newBuilder() to construct. private PacketAcknowledgementData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PacketAcknowledgementData() { path_ = com.google.protobuf.ByteString.EMPTY; acknowledgement_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PacketAcknowledgementData( 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: { path_ = input.readBytes(); break; } case 18: { acknowledgement_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } 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_; } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (!acknowledgement_.isEmpty()) { output.writeBytes(2, acknowledgement_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (!acknowledgement_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, acknowledgement_); } 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData other = (ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && getAcknowledgement() .equals(other.getAcknowledgement()); 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + ACKNOWLEDGEMENT_FIELD_NUMBER; hash = (53 * hash) + getAcknowledgement().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData 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; } /** *
     * PacketAcknowledgementData returns the SignBytes data for acknowledgement
     * verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketAcknowledgementData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.PacketAcknowledgementData) ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.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(); path_ = com.google.protobuf.ByteString.EMPTY; acknowledgement_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData build() { ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData result = new ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData(this); result.path_ = path_; result.acknowledgement_ = acknowledgement_; 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.getAcknowledgement() != com.google.protobuf.ByteString.EMPTY) { setAcknowledgement(other.getAcknowledgement()); } 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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } 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; } @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.lightclients.solomachine.v1.PacketAcknowledgementData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.PacketAcknowledgementData) private static final ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData(); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PacketAcknowledgementData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PacketAcknowledgementData(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.lightclients.solomachine.v1.Solomachine.PacketAcknowledgementData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PacketReceiptAbsenceDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); } /** *
   * PacketReceiptAbsenceData returns the SignBytes data for
   * packet receipt absence verification.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData} */ public static final class PacketReceiptAbsenceData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData) PacketReceiptAbsenceDataOrBuilder { private static final long serialVersionUID = 0L; // Use PacketReceiptAbsenceData.newBuilder() to construct. private PacketReceiptAbsenceData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PacketReceiptAbsenceData() { path_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PacketReceiptAbsenceData( 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: { path_ = input.readBytes(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData other = (ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData 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; } /** *
     * PacketReceiptAbsenceData returns the SignBytes data for
     * packet receipt absence verification.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData) ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.class, ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.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(); path_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData build() { ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData result = new ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData(this); result.path_ = path_; 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } 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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); 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.lightclients.solomachine.v1.PacketReceiptAbsenceData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData) private static final ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData(); } public static ibc.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PacketReceiptAbsenceData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PacketReceiptAbsenceData(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.lightclients.solomachine.v1.Solomachine.PacketReceiptAbsenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NextSequenceRecvDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ibc.lightclients.solomachine.v1.NextSequenceRecvData) com.google.protobuf.MessageOrBuilder { /** * bytes path = 1; */ com.google.protobuf.ByteString getPath(); /** * uint64 next_seq_recv = 2 [(.gogoproto.moretags) = "yaml:\"next_seq_recv\""]; */ long getNextSeqRecv(); } /** *
   * NextSequenceRecvData returns the SignBytes data for verification of the next
   * sequence to be received.
   * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.NextSequenceRecvData} */ public static final class NextSequenceRecvData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ibc.lightclients.solomachine.v1.NextSequenceRecvData) NextSequenceRecvDataOrBuilder { private static final long serialVersionUID = 0L; // Use NextSequenceRecvData.newBuilder() to construct. private NextSequenceRecvData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NextSequenceRecvData() { path_ = com.google.protobuf.ByteString.EMPTY; nextSeqRecv_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NextSequenceRecvData( 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: { path_ = input.readBytes(); break; } case 16: { nextSeqRecv_ = input.readUInt64(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.class, ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.ByteString path_; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } public static final int NEXT_SEQ_RECV_FIELD_NUMBER = 2; private long nextSeqRecv_; /** * uint64 next_seq_recv = 2 [(.gogoproto.moretags) = "yaml:\"next_seq_recv\""]; */ public long getNextSeqRecv() { return nextSeqRecv_; } 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 (!path_.isEmpty()) { output.writeBytes(1, path_); } if (nextSeqRecv_ != 0L) { output.writeUInt64(2, nextSeqRecv_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!path_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, path_); } if (nextSeqRecv_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, nextSeqRecv_); } 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData)) { return super.equals(obj); } ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData other = (ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData) obj; boolean result = true; result = result && getPath() .equals(other.getPath()); result = result && (getNextSeqRecv() == other.getNextSeqRecv()); 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + NEXT_SEQ_RECV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNextSeqRecv()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData 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; } /** *
     * NextSequenceRecvData returns the SignBytes data for verification of the next
     * sequence to be received.
     * 
* * Protobuf type {@code ibc.lightclients.solomachine.v1.NextSequenceRecvData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ibc.lightclients.solomachine.v1.NextSequenceRecvData) ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_fieldAccessorTable .ensureFieldAccessorsInitialized( ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.class, ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.Builder.class); } // Construct using ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.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(); path_ = com.google.protobuf.ByteString.EMPTY; nextSeqRecv_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ibc.lightclients.solomachine.v1.Solomachine.internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData getDefaultInstanceForType() { return ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.getDefaultInstance(); } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData build() { ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData buildPartial() { ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData result = new ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData(this); result.path_ = path_; result.nextSeqRecv_ = nextSeqRecv_; 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData) { return mergeFrom((ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData other) { if (other == ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData.getDefaultInstance()) return this; if (other.getPath() != com.google.protobuf.ByteString.EMPTY) { setPath(other.getPath()); } if (other.getNextSeqRecv() != 0L) { setNextSeqRecv(other.getNextSeqRecv()); } 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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.ByteString path_ = com.google.protobuf.ByteString.EMPTY; /** * bytes path = 1; */ public com.google.protobuf.ByteString getPath() { return path_; } /** * bytes path = 1; */ public Builder setPath(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * bytes path = 1; */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } private long nextSeqRecv_ ; /** * uint64 next_seq_recv = 2 [(.gogoproto.moretags) = "yaml:\"next_seq_recv\""]; */ public long getNextSeqRecv() { return nextSeqRecv_; } /** * uint64 next_seq_recv = 2 [(.gogoproto.moretags) = "yaml:\"next_seq_recv\""]; */ public Builder setNextSeqRecv(long value) { nextSeqRecv_ = value; onChanged(); return this; } /** * uint64 next_seq_recv = 2 [(.gogoproto.moretags) = "yaml:\"next_seq_recv\""]; */ public Builder clearNextSeqRecv() { nextSeqRecv_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ibc.lightclients.solomachine.v1.NextSequenceRecvData) } // @@protoc_insertion_point(class_scope:ibc.lightclients.solomachine.v1.NextSequenceRecvData) private static final ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData(); } public static ibc.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NextSequenceRecvData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NextSequenceRecvData(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.lightclients.solomachine.v1.Solomachine.NextSequenceRecvData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ClientState_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ConsensusState_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_Header_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_Header_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_SignBytes_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_HeaderData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ClientStateData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n1ibc/lightclients/solomachine/v1/soloma" + "chine.proto\022\037ibc.lightclients.solomachin" + "e.v1\032\'ibc/core/connection/v1/connection." + "proto\032!ibc/core/channel/v1/channel.proto" + "\032\024gogoproto/gogo.proto\032\031google/protobuf/" + "any.proto\"\215\002\n\013ClientState\022\020\n\010sequence\030\001 " + "\001(\004\0223\n\017frozen_sequence\030\002 \001(\004B\032\362\336\037\026yaml:\"" + "frozen_sequence\"\022d\n\017consensus_state\030\003 \001(" + "\0132/.ibc.lightclients.solomachine.v1.Cons" + "ensusStateB\032\362\336\037\026yaml:\"consensus_state\"\022K" + "\n\033allow_update_after_proposal\030\004 \001(\010B&\362\336\037" + "\"yaml:\"allow_update_after_proposal\":\004\210\240\037" + "\000\"\177\n\016ConsensusState\022?\n\npublic_key\030\001 \001(\0132" + "\024.google.protobuf.AnyB\025\362\336\037\021yaml:\"public_" + "key\"\022\023\n\013diversifier\030\002 \001(\t\022\021\n\ttimestamp\030\003" + " \001(\004:\004\210\240\037\000\"\304\001\n\006Header\022\020\n\010sequence\030\001 \001(\004\022" + "\021\n\ttimestamp\030\002 \001(\004\022\021\n\tsignature\030\003 \001(\014\022G\n" + "\016new_public_key\030\004 \001(\0132\024.google.protobuf." + "AnyB\031\362\336\037\025yaml:\"new_public_key\"\0223\n\017new_di" + "versifier\030\005 \001(\tB\032\362\336\037\026yaml:\"new_diversifi" + "er\":\004\210\240\037\000\"\227\002\n\014Misbehaviour\022\'\n\tclient_id\030" + "\001 \001(\tB\024\362\336\037\020yaml:\"client_id\"\022\020\n\010sequence\030" + "\002 \001(\004\022b\n\rsignature_one\030\003 \001(\01321.ibc.light" + "clients.solomachine.v1.SignatureAndDataB" + "\030\362\336\037\024yaml:\"signature_one\"\022b\n\rsignature_t" + "wo\030\004 \001(\01321.ibc.lightclients.solomachine." + "v1.SignatureAndDataB\030\362\336\037\024yaml:\"signature" + "_two\":\004\210\240\037\000\"\240\001\n\020SignatureAndData\022\021\n\tsign" + "ature\030\001 \001(\014\022R\n\tdata_type\030\002 \001(\0162).ibc.lig" + "htclients.solomachine.v1.DataTypeB\024\362\336\037\020y" + "aml:\"data_type\"\022\014\n\004data\030\003 \001(\014\022\021\n\ttimesta" + "mp\030\004 \001(\004:\004\210\240\037\000\"f\n\030TimestampedSignatureDa" + "ta\0221\n\016signature_data\030\001 \001(\014B\031\362\336\037\025yaml:\"si" + "gnature_data\"\022\021\n\ttimestamp\030\002 \001(\004:\004\210\240\037\000\"\255" + "\001\n\tSignBytes\022\020\n\010sequence\030\001 \001(\004\022\021\n\ttimest" + "amp\030\002 \001(\004\022\023\n\013diversifier\030\003 \001(\t\022R\n\tdata_t" + "ype\030\004 \001(\0162).ibc.lightclients.solomachine" + ".v1.DataTypeB\024\362\336\037\020yaml:\"data_type\"\022\014\n\004da" + "ta\030\005 \001(\014:\004\210\240\037\000\"\212\001\n\nHeaderData\022A\n\013new_pub" + "_key\030\001 \001(\0132\024.google.protobuf.AnyB\026\362\336\037\022ya" + "ml:\"new_pub_key\"\0223\n\017new_diversifier\030\002 \001(" + "\tB\032\362\336\037\026yaml:\"new_diversifier\":\004\210\240\037\000\"j\n\017C" + "lientStateData\022\014\n\004path\030\001 \001(\014\022C\n\014client_s" + "tate\030\002 \001(\0132\024.google.protobuf.AnyB\027\362\336\037\023ya" + "ml:\"client_state\":\004\210\240\037\000\"s\n\022ConsensusStat" + "eData\022\014\n\004path\030\001 \001(\014\022I\n\017consensus_state\030\002" + " \001(\0132\024.google.protobuf.AnyB\032\362\336\037\026yaml:\"co" + "nsensus_state\":\004\210\240\037\000\"d\n\023ConnectionStateD" + "ata\022\014\n\004path\030\001 \001(\014\0229\n\nconnection\030\002 \001(\0132%." + "ibc.core.connection.v1.ConnectionEnd:\004\210\240" + "\037\000\"U\n\020ChannelStateData\022\014\n\004path\030\001 \001(\014\022-\n\007" + "channel\030\002 \001(\0132\034.ibc.core.channel.v1.Chan" + "nel:\004\210\240\037\000\"8\n\024PacketCommitmentData\022\014\n\004pat" + "h\030\001 \001(\014\022\022\n\ncommitment\030\002 \001(\014\"B\n\031PacketAck" + "nowledgementData\022\014\n\004path\030\001 \001(\014\022\027\n\017acknow" + "ledgement\030\002 \001(\014\"(\n\030PacketReceiptAbsenceD" + "ata\022\014\n\004path\030\001 \001(\014\"U\n\024NextSequenceRecvDat" + "a\022\014\n\004path\030\001 \001(\014\022/\n\rnext_seq_recv\030\002 \001(\004B\030" + "\362\336\037\024yaml:\"next_seq_recv\"*\214\004\n\010DataType\0228\n" + "#DATA_TYPE_UNINITIALIZED_UNSPECIFIED\020\000\032\017" + "\212\235 \013UNSPECIFIED\022&\n\026DATA_TYPE_CLIENT_STAT" + "E\020\001\032\n\212\235 \006CLIENT\022,\n\031DATA_TYPE_CONSENSUS_S" + "TATE\020\002\032\r\212\235 \tCONSENSUS\022.\n\032DATA_TYPE_CONNE" + "CTION_STATE\020\003\032\016\212\235 \nCONNECTION\022(\n\027DATA_TY" + "PE_CHANNEL_STATE\020\004\032\013\212\235 \007CHANNEL\0225\n\033DATA_" + "TYPE_PACKET_COMMITMENT\020\005\032\024\212\235 \020PACKETCOMM" + "ITMENT\022?\n DATA_TYPE_PACKET_ACKNOWLEDGEME" + "NT\020\006\032\031\212\235 \025PACKETACKNOWLEDGEMENT\022>\n DATA_" + "TYPE_PACKET_RECEIPT_ABSENCE\020\007\032\030\212\235 \024PACKE" + "TRECEIPTABSENCE\0226\n\034DATA_TYPE_NEXT_SEQUEN" + "CE_RECV\020\010\032\024\212\235 \020NEXTSEQUENCERECV\022 \n\020DATA_" + "TYPE_HEADER\020\t\032\n\212\235 \006HEADER\032\004\210\243\036\000BGZEgithu" + "b.com/cosmos/cosmos-sdk/x/ibc/light-clie" + "nts/06-solomachine/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[] { ibc.core.connection.v1.Connection.getDescriptor(), ibc.core.channel.v1.ChannelOuterClass.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), com.google.protobuf.AnyProto.getDescriptor(), }, assigner); internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_ibc_lightclients_solomachine_v1_ClientState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ClientState_descriptor, new java.lang.String[] { "Sequence", "FrozenSequence", "ConsensusState", "AllowUpdateAfterProposal", }); internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_ibc_lightclients_solomachine_v1_ConsensusState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ConsensusState_descriptor, new java.lang.String[] { "PublicKey", "Diversifier", "Timestamp", }); internal_static_ibc_lightclients_solomachine_v1_Header_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_ibc_lightclients_solomachine_v1_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_Header_descriptor, new java.lang.String[] { "Sequence", "Timestamp", "Signature", "NewPublicKey", "NewDiversifier", }); internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_Misbehaviour_descriptor, new java.lang.String[] { "ClientId", "Sequence", "SignatureOne", "SignatureTwo", }); internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_SignatureAndData_descriptor, new java.lang.String[] { "Signature", "DataType", "Data", "Timestamp", }); internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_TimestampedSignatureData_descriptor, new java.lang.String[] { "SignatureData", "Timestamp", }); internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_ibc_lightclients_solomachine_v1_SignBytes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_SignBytes_descriptor, new java.lang.String[] { "Sequence", "Timestamp", "Diversifier", "DataType", "Data", }); internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_ibc_lightclients_solomachine_v1_HeaderData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_HeaderData_descriptor, new java.lang.String[] { "NewPubKey", "NewDiversifier", }); internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_ibc_lightclients_solomachine_v1_ClientStateData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ClientStateData_descriptor, new java.lang.String[] { "Path", "ClientState", }); internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ConsensusStateData_descriptor, new java.lang.String[] { "Path", "ConsensusState", }); internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ConnectionStateData_descriptor, new java.lang.String[] { "Path", "Connection", }); internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_ChannelStateData_descriptor, new java.lang.String[] { "Path", "Channel", }); internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_PacketCommitmentData_descriptor, new java.lang.String[] { "Path", "Commitment", }); internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_PacketAcknowledgementData_descriptor, new java.lang.String[] { "Path", "Acknowledgement", }); internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_PacketReceiptAbsenceData_descriptor, new java.lang.String[] { "Path", }); internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ibc_lightclients_solomachine_v1_NextSequenceRecvData_descriptor, new java.lang.String[] { "Path", "NextSeqRecv", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.enumvalueCustomname); registry.add(com.google.protobuf.GoGoProtos.goprotoEnumPrefix); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.moretags); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); ibc.core.connection.v1.Connection.getDescriptor(); ibc.core.channel.v1.ChannelOuterClass.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy