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

cosmos.crisis.v1beta1.Tx Maven / Gradle / Ivy

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

package cosmos.crisis.v1beta1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MsgVerifyInvariantOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cosmos.crisis.v1beta1.MsgVerifyInvariant)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string sender = 1;
     */
    java.lang.String getSender();
    /**
     * string sender = 1;
     */
    com.google.protobuf.ByteString
        getSenderBytes();

    /**
     * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""];
     */
    java.lang.String getInvariantModuleName();
    /**
     * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""];
     */
    com.google.protobuf.ByteString
        getInvariantModuleNameBytes();

    /**
     * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""];
     */
    java.lang.String getInvariantRoute();
    /**
     * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""];
     */
    com.google.protobuf.ByteString
        getInvariantRouteBytes();
  }
  /**
   * 
   * MsgVerifyInvariant represents a message to verify a particular invariance.
   * 
* * Protobuf type {@code cosmos.crisis.v1beta1.MsgVerifyInvariant} */ public static final class MsgVerifyInvariant extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.crisis.v1beta1.MsgVerifyInvariant) MsgVerifyInvariantOrBuilder { private static final long serialVersionUID = 0L; // Use MsgVerifyInvariant.newBuilder() to construct. private MsgVerifyInvariant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgVerifyInvariant() { sender_ = ""; invariantModuleName_ = ""; invariantRoute_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgVerifyInvariant( 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(); sender_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); invariantModuleName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); invariantRoute_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.class, cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.Builder.class); } public static final int SENDER_FIELD_NUMBER = 1; private volatile java.lang.Object sender_; /** * string sender = 1; */ public java.lang.String getSender() { java.lang.Object ref = sender_; 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(); sender_ = s; return s; } } /** * string sender = 1; */ public com.google.protobuf.ByteString getSenderBytes() { java.lang.Object ref = sender_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sender_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INVARIANT_MODULE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object invariantModuleName_; /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public java.lang.String getInvariantModuleName() { java.lang.Object ref = invariantModuleName_; 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(); invariantModuleName_ = s; return s; } } /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public com.google.protobuf.ByteString getInvariantModuleNameBytes() { java.lang.Object ref = invariantModuleName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invariantModuleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INVARIANT_ROUTE_FIELD_NUMBER = 3; private volatile java.lang.Object invariantRoute_; /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public java.lang.String getInvariantRoute() { java.lang.Object ref = invariantRoute_; 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(); invariantRoute_ = s; return s; } } /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public com.google.protobuf.ByteString getInvariantRouteBytes() { java.lang.Object ref = invariantRoute_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invariantRoute_ = 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 (!getSenderBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sender_); } if (!getInvariantModuleNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, invariantModuleName_); } if (!getInvariantRouteBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, invariantRoute_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSenderBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sender_); } if (!getInvariantModuleNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, invariantModuleName_); } if (!getInvariantRouteBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, invariantRoute_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant)) { return super.equals(obj); } cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant other = (cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant) obj; boolean result = true; result = result && getSender() .equals(other.getSender()); result = result && getInvariantModuleName() .equals(other.getInvariantModuleName()); result = result && getInvariantRoute() .equals(other.getInvariantRoute()); 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) + SENDER_FIELD_NUMBER; hash = (53 * hash) + getSender().hashCode(); hash = (37 * hash) + INVARIANT_MODULE_NAME_FIELD_NUMBER; hash = (53 * hash) + getInvariantModuleName().hashCode(); hash = (37 * hash) + INVARIANT_ROUTE_FIELD_NUMBER; hash = (53 * hash) + getInvariantRoute().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant 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; } /** *
     * MsgVerifyInvariant represents a message to verify a particular invariance.
     * 
* * Protobuf type {@code cosmos.crisis.v1beta1.MsgVerifyInvariant} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.crisis.v1beta1.MsgVerifyInvariant) cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.class, cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.Builder.class); } // Construct using cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.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(); sender_ = ""; invariantModuleName_ = ""; invariantRoute_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant getDefaultInstanceForType() { return cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.getDefaultInstance(); } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant build() { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant buildPartial() { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant result = new cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant(this); result.sender_ = sender_; result.invariantModuleName_ = invariantModuleName_; result.invariantRoute_ = invariantRoute_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant) { return mergeFrom((cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant other) { if (other == cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant.getDefaultInstance()) return this; if (!other.getSender().isEmpty()) { sender_ = other.sender_; onChanged(); } if (!other.getInvariantModuleName().isEmpty()) { invariantModuleName_ = other.invariantModuleName_; onChanged(); } if (!other.getInvariantRoute().isEmpty()) { invariantRoute_ = other.invariantRoute_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object sender_ = ""; /** * string sender = 1; */ public java.lang.String getSender() { java.lang.Object ref = sender_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sender_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sender = 1; */ public com.google.protobuf.ByteString getSenderBytes() { java.lang.Object ref = sender_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sender_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sender = 1; */ public Builder setSender( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sender_ = value; onChanged(); return this; } /** * string sender = 1; */ public Builder clearSender() { sender_ = getDefaultInstance().getSender(); onChanged(); return this; } /** * string sender = 1; */ public Builder setSenderBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sender_ = value; onChanged(); return this; } private java.lang.Object invariantModuleName_ = ""; /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public java.lang.String getInvariantModuleName() { java.lang.Object ref = invariantModuleName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); invariantModuleName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public com.google.protobuf.ByteString getInvariantModuleNameBytes() { java.lang.Object ref = invariantModuleName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invariantModuleName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public Builder setInvariantModuleName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } invariantModuleName_ = value; onChanged(); return this; } /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public Builder clearInvariantModuleName() { invariantModuleName_ = getDefaultInstance().getInvariantModuleName(); onChanged(); return this; } /** * string invariant_module_name = 2 [(.gogoproto.moretags) = "yaml:\"invariant_module_name\""]; */ public Builder setInvariantModuleNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); invariantModuleName_ = value; onChanged(); return this; } private java.lang.Object invariantRoute_ = ""; /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public java.lang.String getInvariantRoute() { java.lang.Object ref = invariantRoute_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); invariantRoute_ = s; return s; } else { return (java.lang.String) ref; } } /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public com.google.protobuf.ByteString getInvariantRouteBytes() { java.lang.Object ref = invariantRoute_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invariantRoute_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public Builder setInvariantRoute( java.lang.String value) { if (value == null) { throw new NullPointerException(); } invariantRoute_ = value; onChanged(); return this; } /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public Builder clearInvariantRoute() { invariantRoute_ = getDefaultInstance().getInvariantRoute(); onChanged(); return this; } /** * string invariant_route = 3 [(.gogoproto.moretags) = "yaml:\"invariant_route\""]; */ public Builder setInvariantRouteBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); invariantRoute_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.crisis.v1beta1.MsgVerifyInvariant) } // @@protoc_insertion_point(class_scope:cosmos.crisis.v1beta1.MsgVerifyInvariant) private static final cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant(); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgVerifyInvariant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgVerifyInvariant(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgVerifyInvariantResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) com.google.protobuf.MessageOrBuilder { } /** *
   * MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
   * 
* * Protobuf type {@code cosmos.crisis.v1beta1.MsgVerifyInvariantResponse} */ public static final class MsgVerifyInvariantResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) MsgVerifyInvariantResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MsgVerifyInvariantResponse.newBuilder() to construct. private MsgVerifyInvariantResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgVerifyInvariantResponse() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MsgVerifyInvariantResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.class, cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse)) { return super.equals(obj); } cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse other = (cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse) obj; boolean result = true; result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse 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; } /** *
     * MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type.
     * 
* * Protobuf type {@code cosmos.crisis.v1beta1.MsgVerifyInvariantResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.class, cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.Builder.class); } // Construct using cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cosmos.crisis.v1beta1.Tx.internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse getDefaultInstanceForType() { return cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.getDefaultInstance(); } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse build() { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse buildPartial() { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse result = new cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse) { return mergeFrom((cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse other) { if (other == cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) } // @@protoc_insertion_point(class_scope:cosmos.crisis.v1beta1.MsgVerifyInvariantResponse) private static final cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse(); } public static cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgVerifyInvariantResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MsgVerifyInvariantResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public cosmos.crisis.v1beta1.Tx.MsgVerifyInvariantResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\036cosmos/crisis/v1beta1/tx.proto\022\025cosmos" + ".crisis.v1beta1\032\024gogoproto/gogo.proto\"\244\001" + "\n\022MsgVerifyInvariant\022\016\n\006sender\030\001 \001(\t\022?\n\025" + "invariant_module_name\030\002 \001(\tB \362\336\037\034yaml:\"i" + "nvariant_module_name\"\0223\n\017invariant_route" + "\030\003 \001(\tB\032\362\336\037\026yaml:\"invariant_route\":\010\350\240\037\000" + "\210\240\037\000\"\034\n\032MsgVerifyInvariantResponse2v\n\003Ms" + "g\022o\n\017VerifyInvariant\022).cosmos.crisis.v1b" + "eta1.MsgVerifyInvariant\0321.cosmos.crisis." + "v1beta1.MsgVerifyInvariantResponseB-Z+gi" + "thub.com/cosmos/cosmos-sdk/x/crisis/type" + "sb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.GoGoProtos.getDescriptor(), }, assigner); internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariant_descriptor, new java.lang.String[] { "Sender", "InvariantModuleName", "InvariantRoute", }); internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cosmos_crisis_v1beta1_MsgVerifyInvariantResponse_descriptor, new java.lang.String[] { }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.protobuf.GoGoProtos.equal); registry.add(com.google.protobuf.GoGoProtos.goprotoGetters); registry.add(com.google.protobuf.GoGoProtos.moretags); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.GoGoProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy