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

jvmMain.terra.dyncomm.v1beta1.QueryOuterClass Maven / Gradle / Ivy

There is a newer version: 3.1.6-4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: terra/dyncomm/v1beta1/query.proto

// Protobuf Java Version: 3.25.3
package terra.dyncomm.v1beta1;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface QueryParamsRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.QueryParamsRequest)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * 
   * QueryParamsRequest is the request type for the Query/Params RPC method.
   * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryParamsRequest} */ public static final class QueryParamsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.QueryParamsRequest) QueryParamsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryParamsRequest.newBuilder() to construct. private QueryParamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryParamsRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryParamsRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest)) { return super.equals(obj); } terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest other = (terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * QueryParamsRequest is the request type for the Query/Params RPC method.
     * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryParamsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.QueryParamsRequest) terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class); } // Construct using terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance(); } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest build() { terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest buildPartial() { terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest result = new terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest) { return mergeFrom((terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest other) { if (other == terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.QueryParamsRequest) } // @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.QueryParamsRequest) private static final terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest(); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryParamsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryParamsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.QueryParamsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return Whether the params field is set. */ boolean hasParams(); /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return The params. */ terra.dyncomm.v1beta1.Dyncomm.Params getParams(); /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder(); } /** *
   * QueryParamsResponse is the response type for the Query/Params RPC method.
   * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryParamsResponse} */ public static final class QueryParamsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.QueryParamsResponse) QueryParamsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryParamsResponse.newBuilder() to construct. private QueryParamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryParamsResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryParamsResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class); } private int bitField0_; public static final int PARAMS_FIELD_NUMBER = 1; private terra.dyncomm.v1beta1.Dyncomm.Params params_; /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return Whether the params field is set. */ @java.lang.Override public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return The params. */ @java.lang.Override public terra.dyncomm.v1beta1.Dyncomm.Params getParams() { return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_; } /** *
     * params defines the parameters of the module.
     * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ @java.lang.Override public terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder() { return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getParams()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getParams()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse)) { return super.equals(obj); } terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse other = (terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse) obj; if (hasParams() != other.hasParams()) return false; if (hasParams()) { if (!getParams() .equals(other.getParams())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasParams()) { hash = (37 * hash) + PARAMS_FIELD_NUMBER; hash = (53 * hash) + getParams().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * QueryParamsResponse is the response type for the Query/Params RPC method.
     * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryParamsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.QueryParamsResponse) terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class); } // Construct using terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getParamsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; params_ = null; if (paramsBuilder_ != null) { paramsBuilder_.dispose(); paramsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance(); } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse build() { terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse buildPartial() { terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse result = new terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.params_ = paramsBuilder_ == null ? params_ : paramsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse) { return mergeFrom((terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse other) { if (other == terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance()) return this; if (other.hasParams()) { mergeParams(other.getParams()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private terra.dyncomm.v1beta1.Dyncomm.Params params_; private com.google.protobuf.SingleFieldBuilderV3< terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder> paramsBuilder_; /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return Whether the params field is set. */ public boolean hasParams() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; * @return The params. */ public terra.dyncomm.v1beta1.Dyncomm.Params getParams() { if (paramsBuilder_ == null) { return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_; } else { return paramsBuilder_.getMessage(); } } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder setParams(terra.dyncomm.v1beta1.Dyncomm.Params value) { if (paramsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } params_ = value; } else { paramsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder setParams( terra.dyncomm.v1beta1.Dyncomm.Params.Builder builderForValue) { if (paramsBuilder_ == null) { params_ = builderForValue.build(); } else { paramsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder mergeParams(terra.dyncomm.v1beta1.Dyncomm.Params value) { if (paramsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && params_ != null && params_ != terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance()) { getParamsBuilder().mergeFrom(value); } else { params_ = value; } } else { paramsBuilder_.mergeFrom(value); } if (params_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public Builder clearParams() { bitField0_ = (bitField0_ & ~0x00000001); params_ = null; if (paramsBuilder_ != null) { paramsBuilder_.dispose(); paramsBuilder_ = null; } onChanged(); return this; } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public terra.dyncomm.v1beta1.Dyncomm.Params.Builder getParamsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getParamsFieldBuilder().getBuilder(); } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ public terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder() { if (paramsBuilder_ != null) { return paramsBuilder_.getMessageOrBuilder(); } else { return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_; } } /** *
       * params defines the parameters of the module.
       * 
* * .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false]; */ private com.google.protobuf.SingleFieldBuilderV3< terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder> getParamsFieldBuilder() { if (paramsBuilder_ == null) { paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder>( getParams(), getParentForChildren(), isClean()); params_ = null; } return paramsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.QueryParamsResponse) } // @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.QueryParamsResponse) private static final terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse(); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryParamsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryRateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.QueryRateRequest) com.google.protobuf.MessageOrBuilder { /** *
     * validator_addr defines the validator address to query for.
     * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The validatorAddr. */ java.lang.String getValidatorAddr(); /** *
     * validator_addr defines the validator address to query for.
     * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The bytes for validatorAddr. */ com.google.protobuf.ByteString getValidatorAddrBytes(); } /** *
   * QueryRateRequest is the request type for the Query/Rate RPC method.
   * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryRateRequest} */ public static final class QueryRateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.QueryRateRequest) QueryRateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use QueryRateRequest.newBuilder() to construct. private QueryRateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryRateRequest() { validatorAddr_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryRateRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.Builder.class); } public static final int VALIDATOR_ADDR_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object validatorAddr_ = ""; /** *
     * validator_addr defines the validator address to query for.
     * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The validatorAddr. */ @java.lang.Override public java.lang.String getValidatorAddr() { java.lang.Object ref = validatorAddr_; 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(); validatorAddr_ = s; return s; } } /** *
     * validator_addr defines the validator address to query for.
     * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The bytes for validatorAddr. */ @java.lang.Override public com.google.protobuf.ByteString getValidatorAddrBytes() { java.lang.Object ref = validatorAddr_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validatorAddr_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validatorAddr_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, validatorAddr_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validatorAddr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, validatorAddr_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest)) { return super.equals(obj); } terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest other = (terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest) obj; if (!getValidatorAddr() .equals(other.getValidatorAddr())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VALIDATOR_ADDR_FIELD_NUMBER; hash = (53 * hash) + getValidatorAddr().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest 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 terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest 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 terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest 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(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest 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; } /** *
     * QueryRateRequest is the request type for the Query/Rate RPC method.
     * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryRateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.QueryRateRequest) terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.Builder.class); } // Construct using terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; validatorAddr_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest getDefaultInstanceForType() { return terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.getDefaultInstance(); } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest build() { terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest buildPartial() { terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest result = new terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.validatorAddr_ = validatorAddr_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest) { return mergeFrom((terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest other) { if (other == terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest.getDefaultInstance()) return this; if (!other.getValidatorAddr().isEmpty()) { validatorAddr_ = other.validatorAddr_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { validatorAddr_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object validatorAddr_ = ""; /** *
       * validator_addr defines the validator address to query for.
       * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The validatorAddr. */ public java.lang.String getValidatorAddr() { java.lang.Object ref = validatorAddr_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); validatorAddr_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * validator_addr defines the validator address to query for.
       * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return The bytes for validatorAddr. */ public com.google.protobuf.ByteString getValidatorAddrBytes() { java.lang.Object ref = validatorAddr_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); validatorAddr_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * validator_addr defines the validator address to query for.
       * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @param value The validatorAddr to set. * @return This builder for chaining. */ public Builder setValidatorAddr( java.lang.String value) { if (value == null) { throw new NullPointerException(); } validatorAddr_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * validator_addr defines the validator address to query for.
       * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @return This builder for chaining. */ public Builder clearValidatorAddr() { validatorAddr_ = getDefaultInstance().getValidatorAddr(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * validator_addr defines the validator address to query for.
       * 
* * string validator_addr = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"]; * @param value The bytes for validatorAddr to set. * @return This builder for chaining. */ public Builder setValidatorAddrBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); validatorAddr_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.QueryRateRequest) } // @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.QueryRateRequest) private static final terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest(); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryRateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryRateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.QueryRateResponse) com.google.protobuf.MessageOrBuilder { /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The rate. */ java.lang.String getRate(); /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for rate. */ com.google.protobuf.ByteString getRateBytes(); /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The target. */ java.lang.String getTarget(); /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for target. */ com.google.protobuf.ByteString getTargetBytes(); } /** *
   * QueryRateResponse is the response type for the Query/Rate RPC method.
   * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryRateResponse} */ public static final class QueryRateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.QueryRateResponse) QueryRateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use QueryRateResponse.newBuilder() to construct. private QueryRateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryRateResponse() { rate_ = ""; target_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryRateResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.Builder.class); } public static final int RATE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object rate_ = ""; /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The rate. */ @java.lang.Override public java.lang.String getRate() { java.lang.Object ref = rate_; 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(); rate_ = s; return s; } } /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for rate. */ @java.lang.Override public com.google.protobuf.ByteString getRateBytes() { java.lang.Object ref = rate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TARGET_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The target. */ @java.lang.Override public java.lang.String getTarget() { java.lang.Object ref = target_; 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(); target_ = s; return s; } } /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for target. */ @java.lang.Override public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); target_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, target_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, target_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse)) { return super.equals(obj); } terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse other = (terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse) obj; if (!getRate() .equals(other.getRate())) return false; if (!getTarget() .equals(other.getTarget())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RATE_FIELD_NUMBER; hash = (53 * hash) + getRate().hashCode(); hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse 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 terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse 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 terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse 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(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse 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; } /** *
     * QueryRateResponse is the response type for the Query/Rate RPC method.
     * 
* * Protobuf type {@code terra.dyncomm.v1beta1.QueryRateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.QueryRateResponse) terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.class, terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.Builder.class); } // Construct using terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rate_ = ""; target_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return terra.dyncomm.v1beta1.QueryOuterClass.internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse getDefaultInstanceForType() { return terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.getDefaultInstance(); } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse build() { terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse buildPartial() { terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse result = new terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rate_ = rate_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.target_ = target_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse) { return mergeFrom((terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse other) { if (other == terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse.getDefaultInstance()) return this; if (!other.getRate().isEmpty()) { rate_ = other.rate_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getTarget().isEmpty()) { target_ = other.target_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { rate_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { target_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object rate_ = ""; /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The rate. */ public java.lang.String getRate() { java.lang.Object ref = rate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rate_ = s; return s; } else { return (java.lang.String) ref; } } /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for rate. */ public com.google.protobuf.ByteString getRateBytes() { java.lang.Object ref = rate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @param value The rate to set. * @return This builder for chaining. */ public Builder setRate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return This builder for chaining. */ public Builder clearRate() { rate_ = getDefaultInstance().getRate(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string rate = 1 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @param value The bytes for rate to set. * @return This builder for chaining. */ public Builder setRateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object target_ = ""; /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } else { return (java.lang.String) ref; } } /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return The bytes for target. */ public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); target_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @param value The target to set. * @return This builder for chaining. */ public Builder setTarget( java.lang.String value) { if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @return This builder for chaining. */ public Builder clearTarget() { target_ = getDefaultInstance().getTarget(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string target = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"]; * @param value The bytes for target to set. * @return This builder for chaining. */ public Builder setTargetBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.QueryRateResponse) } // @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.QueryRateResponse) private static final terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse(); } public static terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryRateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public terra.dyncomm.v1beta1.QueryOuterClass.QueryRateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_terra_dyncomm_v1beta1_QueryRateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_terra_dyncomm_v1beta1_QueryRateResponse_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!terra/dyncomm/v1beta1/query.proto\022\025ter" + "ra.dyncomm.v1beta1\032\031cosmos_proto/cosmos." + "proto\032\024gogoproto/gogo.proto\032\034google/api/" + "annotations.proto\032#terra/dyncomm/v1beta1" + "/dyncomm.proto\"\024\n\022QueryParamsRequest\"J\n\023" + "QueryParamsResponse\0223\n\006params\030\001 \001(\0132\035.te" + "rra.dyncomm.v1beta1.ParamsB\004\310\336\037\000\"D\n\020Quer" + "yRateRequest\0220\n\016validator_addr\030\001 \001(\tB\030\322\264" + "-\024cosmos.AddressString\"\245\001\n\021QueryRateResp" + "onse\022F\n\004rate\030\001 \001(\tB8\332\336\037&github.com/cosmo" + "s/cosmos-sdk/types.Dec\322\264-\ncosmos.Dec\022H\n\006" + "target\030\002 \001(\tB8\332\336\037&github.com/cosmos/cosm" + "os-sdk/types.Dec\322\264-\ncosmos.Dec2\242\002\n\005Query" + "\022\206\001\n\006Params\022).terra.dyncomm.v1beta1.Quer" + "yParamsRequest\032*.terra.dyncomm.v1beta1.Q" + "ueryParamsResponse\"%\202\323\344\223\002\037\022\035/terra/dynco" + "mm/v1beta1/params\022\217\001\n\004Rate\022\'.terra.dynco" + "mm.v1beta1.QueryRateRequest\032(.terra.dync" + "omm.v1beta1.QueryRateResponse\"4\202\323\344\223\002.\022,/" + "terra/dyncomm/v1beta1/rate/{validator_ad" + "dr}B2Z0github.com/classic-terra/core/v3/" + "x/dyncomm/typesb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cosmos_proto.Cosmos.getDescriptor(), com.google.protobuf.GoGoProtos.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), terra.dyncomm.v1beta1.Dyncomm.getDescriptor(), }); internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_terra_dyncomm_v1beta1_QueryParamsRequest_descriptor, new java.lang.String[] { }); internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_terra_dyncomm_v1beta1_QueryParamsResponse_descriptor, new java.lang.String[] { "Params", }); internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_terra_dyncomm_v1beta1_QueryRateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_terra_dyncomm_v1beta1_QueryRateRequest_descriptor, new java.lang.String[] { "ValidatorAddr", }); internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_terra_dyncomm_v1beta1_QueryRateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_terra_dyncomm_v1beta1_QueryRateResponse_descriptor, new java.lang.String[] { "Rate", "Target", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(cosmos_proto.Cosmos.scalar); registry.add(com.google.protobuf.GoGoProtos.customtype); registry.add(com.google.protobuf.GoGoProtos.nullable); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); cosmos_proto.Cosmos.getDescriptor(); com.google.protobuf.GoGoProtos.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); terra.dyncomm.v1beta1.Dyncomm.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy