![JAR search and dependency download from the Maven repository](/logo.png)
cosmos.mint.v1beta1.QueryOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cosmos/mint/v1beta1/query.proto
package cosmos.mint.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:cosmos.mint.v1beta1.QueryParamsRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* QueryParamsRequest is the request type for the Query/Params RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryParamsRequest}
*/
public static final class QueryParamsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.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
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryParamsRequest(
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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.mint.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 {
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.mint.v1beta1.QueryOuterClass.QueryParamsRequest)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest other = (cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest) 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.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.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(cosmos.mint.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 cosmos.mint.v1beta1.QueryParamsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryParamsRequest)
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class);
}
// Construct using cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest result = new cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest(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.mint.v1beta1.QueryOuterClass.QueryParamsRequest) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest.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.mint.v1beta1.QueryOuterClass.QueryParamsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest) 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.mint.v1beta1.QueryParamsRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryParamsRequest)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryParamsRequest();
}
public static cosmos.mint.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 {
return new QueryParamsRequest(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.mint.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryParamsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.mint.v1beta1.QueryParamsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
boolean hasParams();
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
cosmos.mint.v1beta1.Mint.Params getParams();
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
cosmos.mint.v1beta1.Mint.ParamsOrBuilder getParamsOrBuilder();
}
/**
*
* QueryParamsResponse is the response type for the Query/Params RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryParamsResponse}
*/
public static final class QueryParamsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.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
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryParamsResponse(
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: {
cosmos.mint.v1beta1.Mint.Params.Builder subBuilder = null;
if (params_ != null) {
subBuilder = params_.toBuilder();
}
params_ = input.readMessage(cosmos.mint.v1beta1.Mint.Params.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(params_);
params_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class);
}
public static final int PARAMS_FIELD_NUMBER = 1;
private cosmos.mint.v1beta1.Mint.Params params_;
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return params_ != null;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.mint.v1beta1.Mint.Params getParams() {
return params_ == null ? cosmos.mint.v1beta1.Mint.Params.getDefaultInstance() : params_;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.mint.v1beta1.Mint.ParamsOrBuilder getParamsOrBuilder() {
return getParams();
}
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 (params_ != null) {
output.writeMessage(1, getParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (params_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getParams());
}
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.mint.v1beta1.QueryOuterClass.QueryParamsResponse)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse other = (cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse) obj;
boolean result = true;
result = result && (hasParams() == other.hasParams());
if (hasParams()) {
result = result && getParams()
.equals(other.getParams());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.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 cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.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(cosmos.mint.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 cosmos.mint.v1beta1.QueryParamsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryParamsResponse)
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class);
}
// Construct using cosmos.mint.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) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (paramsBuilder_ == null) {
params_ = null;
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse result = new cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse(this);
if (paramsBuilder_ == null) {
result.params_ = params_;
} else {
result.params_ = paramsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance()) return this;
if (other.hasParams()) {
mergeParams(other.getParams());
}
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.mint.v1beta1.QueryOuterClass.QueryParamsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.mint.v1beta1.Mint.Params params_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.mint.v1beta1.Mint.Params, cosmos.mint.v1beta1.Mint.Params.Builder, cosmos.mint.v1beta1.Mint.ParamsOrBuilder> paramsBuilder_;
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.mint.v1beta1.Mint.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? cosmos.mint.v1beta1.Mint.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(cosmos.mint.v1beta1.Mint.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
onChanged();
} else {
paramsBuilder_.setMessage(value);
}
return this;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(
cosmos.mint.v1beta1.Mint.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
onChanged();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParams(cosmos.mint.v1beta1.Mint.Params value) {
if (paramsBuilder_ == null) {
if (params_ != null) {
params_ =
cosmos.mint.v1beta1.Mint.Params.newBuilder(params_).mergeFrom(value).buildPartial();
} else {
params_ = value;
}
onChanged();
} else {
paramsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParams() {
if (paramsBuilder_ == null) {
params_ = null;
onChanged();
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.mint.v1beta1.Mint.Params.Builder getParamsBuilder() {
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.mint.v1beta1.Mint.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
cosmos.mint.v1beta1.Mint.Params.getDefaultInstance() : params_;
}
}
/**
*
* params defines the parameters of the module.
*
*
* .cosmos.mint.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.mint.v1beta1.Mint.Params, cosmos.mint.v1beta1.Mint.Params.Builder, cosmos.mint.v1beta1.Mint.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.mint.v1beta1.Mint.Params, cosmos.mint.v1beta1.Mint.Params.Builder, cosmos.mint.v1beta1.Mint.ParamsOrBuilder>(
getParams(),
getParentForChildren(),
isClean());
params_ = null;
}
return paramsBuilder_;
}
@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.mint.v1beta1.QueryParamsResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryParamsResponse)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryParamsResponse();
}
public static cosmos.mint.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 {
return new QueryParamsResponse(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.mint.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryInflationRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.mint.v1beta1.QueryInflationRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* QueryInflationRequest is the request type for the Query/Inflation RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryInflationRequest}
*/
public static final class QueryInflationRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.v1beta1.QueryInflationRequest)
QueryInflationRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryInflationRequest.newBuilder() to construct.
private QueryInflationRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryInflationRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryInflationRequest(
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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.class, cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.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.mint.v1beta1.QueryOuterClass.QueryInflationRequest)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest other = (cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest) 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.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest 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.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest 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.mint.v1beta1.QueryOuterClass.QueryInflationRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest 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.mint.v1beta1.QueryOuterClass.QueryInflationRequest 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;
}
/**
*
* QueryInflationRequest is the request type for the Query/Inflation RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryInflationRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryInflationRequest)
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.class, cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.Builder.class);
}
// Construct using cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest result = new cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest(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.mint.v1beta1.QueryOuterClass.QueryInflationRequest) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest.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.mint.v1beta1.QueryOuterClass.QueryInflationRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest) 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.mint.v1beta1.QueryInflationRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryInflationRequest)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest();
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryInflationRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryInflationRequest(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.mint.v1beta1.QueryOuterClass.QueryInflationRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryInflationResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.mint.v1beta1.QueryInflationResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* inflation is the current minting inflation value.
*
*
* bytes inflation = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
com.google.protobuf.ByteString getInflation();
}
/**
*
* QueryInflationResponse is the response type for the Query/Inflation RPC
* method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryInflationResponse}
*/
public static final class QueryInflationResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.v1beta1.QueryInflationResponse)
QueryInflationResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryInflationResponse.newBuilder() to construct.
private QueryInflationResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryInflationResponse() {
inflation_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryInflationResponse(
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: {
inflation_ = input.readBytes();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.Builder.class);
}
public static final int INFLATION_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString inflation_;
/**
*
* inflation is the current minting inflation value.
*
*
* bytes inflation = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public com.google.protobuf.ByteString getInflation() {
return inflation_;
}
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 (!inflation_.isEmpty()) {
output.writeBytes(1, inflation_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!inflation_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, inflation_);
}
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.mint.v1beta1.QueryOuterClass.QueryInflationResponse)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse other = (cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse) obj;
boolean result = true;
result = result && getInflation()
.equals(other.getInflation());
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) + INFLATION_FIELD_NUMBER;
hash = (53 * hash) + getInflation().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse 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.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse 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.mint.v1beta1.QueryOuterClass.QueryInflationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse 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.mint.v1beta1.QueryOuterClass.QueryInflationResponse 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;
}
/**
*
* QueryInflationResponse is the response type for the Query/Inflation RPC
* method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryInflationResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryInflationResponse)
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.Builder.class);
}
// Construct using cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.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();
inflation_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse result = new cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse(this);
result.inflation_ = inflation_;
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.mint.v1beta1.QueryOuterClass.QueryInflationResponse) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse.getDefaultInstance()) return this;
if (other.getInflation() != com.google.protobuf.ByteString.EMPTY) {
setInflation(other.getInflation());
}
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.mint.v1beta1.QueryOuterClass.QueryInflationResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString inflation_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* inflation is the current minting inflation value.
*
*
* bytes inflation = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public com.google.protobuf.ByteString getInflation() {
return inflation_;
}
/**
*
* inflation is the current minting inflation value.
*
*
* bytes inflation = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public Builder setInflation(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
inflation_ = value;
onChanged();
return this;
}
/**
*
* inflation is the current minting inflation value.
*
*
* bytes inflation = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public Builder clearInflation() {
inflation_ = getDefaultInstance().getInflation();
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.mint.v1beta1.QueryInflationResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryInflationResponse)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse();
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryInflationResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryInflationResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryInflationResponse(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.mint.v1beta1.QueryOuterClass.QueryInflationResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryAnnualProvisionsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.mint.v1beta1.QueryAnnualProvisionsRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* QueryAnnualProvisionsRequest is the request type for the
* Query/AnnualProvisions RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryAnnualProvisionsRequest}
*/
public static final class QueryAnnualProvisionsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.v1beta1.QueryAnnualProvisionsRequest)
QueryAnnualProvisionsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryAnnualProvisionsRequest.newBuilder() to construct.
private QueryAnnualProvisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryAnnualProvisionsRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryAnnualProvisionsRequest(
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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.class, cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest other = (cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest) 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest 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;
}
/**
*
* QueryAnnualProvisionsRequest is the request type for the
* Query/AnnualProvisions RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryAnnualProvisionsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryAnnualProvisionsRequest)
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.class, cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.Builder.class);
}
// Construct using cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.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.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest result = new cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest(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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest.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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest) 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.mint.v1beta1.QueryAnnualProvisionsRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryAnnualProvisionsRequest)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest();
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryAnnualProvisionsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryAnnualProvisionsRequest(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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryAnnualProvisionsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.mint.v1beta1.QueryAnnualProvisionsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* annual_provisions is the current minting annual provisions value.
*
*
* bytes annual_provisions = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
com.google.protobuf.ByteString getAnnualProvisions();
}
/**
*
* QueryAnnualProvisionsResponse is the response type for the
* Query/AnnualProvisions RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryAnnualProvisionsResponse}
*/
public static final class QueryAnnualProvisionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.mint.v1beta1.QueryAnnualProvisionsResponse)
QueryAnnualProvisionsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QueryAnnualProvisionsResponse.newBuilder() to construct.
private QueryAnnualProvisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QueryAnnualProvisionsResponse() {
annualProvisions_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QueryAnnualProvisionsResponse(
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: {
annualProvisions_ = input.readBytes();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.Builder.class);
}
public static final int ANNUAL_PROVISIONS_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString annualProvisions_;
/**
*
* annual_provisions is the current minting annual provisions value.
*
*
* bytes annual_provisions = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public com.google.protobuf.ByteString getAnnualProvisions() {
return annualProvisions_;
}
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 (!annualProvisions_.isEmpty()) {
output.writeBytes(1, annualProvisions_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!annualProvisions_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, annualProvisions_);
}
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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse)) {
return super.equals(obj);
}
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse other = (cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse) obj;
boolean result = true;
result = result && getAnnualProvisions()
.equals(other.getAnnualProvisions());
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) + ANNUAL_PROVISIONS_FIELD_NUMBER;
hash = (53 * hash) + getAnnualProvisions().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse 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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse 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;
}
/**
*
* QueryAnnualProvisionsResponse is the response type for the
* Query/AnnualProvisions RPC method.
*
*
* Protobuf type {@code cosmos.mint.v1beta1.QueryAnnualProvisionsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.mint.v1beta1.QueryAnnualProvisionsResponse)
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.class, cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.Builder.class);
}
// Construct using cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.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();
annualProvisions_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.mint.v1beta1.QueryOuterClass.internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse getDefaultInstanceForType() {
return cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse build() {
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse buildPartial() {
cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse result = new cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse(this);
result.annualProvisions_ = annualProvisions_;
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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse) {
return mergeFrom((cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse other) {
if (other == cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse.getDefaultInstance()) return this;
if (other.getAnnualProvisions() != com.google.protobuf.ByteString.EMPTY) {
setAnnualProvisions(other.getAnnualProvisions());
}
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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString annualProvisions_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* annual_provisions is the current minting annual provisions value.
*
*
* bytes annual_provisions = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public com.google.protobuf.ByteString getAnnualProvisions() {
return annualProvisions_;
}
/**
*
* annual_provisions is the current minting annual provisions value.
*
*
* bytes annual_provisions = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public Builder setAnnualProvisions(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
annualProvisions_ = value;
onChanged();
return this;
}
/**
*
* annual_provisions is the current minting annual provisions value.
*
*
* bytes annual_provisions = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
*/
public Builder clearAnnualProvisions() {
annualProvisions_ = getDefaultInstance().getAnnualProvisions();
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.mint.v1beta1.QueryAnnualProvisionsResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.mint.v1beta1.QueryAnnualProvisionsResponse)
private static final cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse();
}
public static cosmos.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QueryAnnualProvisionsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QueryAnnualProvisionsResponse(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.mint.v1beta1.QueryOuterClass.QueryAnnualProvisionsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryParamsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryParamsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryInflationRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryInflationResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_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\037cosmos/mint/v1beta1/query.proto\022\023cosmo" +
"s.mint.v1beta1\032\024gogoproto/gogo.proto\032\034go" +
"ogle/api/annotations.proto\032\036cosmos/mint/" +
"v1beta1/mint.proto\"\024\n\022QueryParamsRequest" +
"\"H\n\023QueryParamsResponse\0221\n\006params\030\001 \001(\0132" +
"\033.cosmos.mint.v1beta1.ParamsB\004\310\336\037\000\"\027\n\025Qu" +
"eryInflationRequest\"[\n\026QueryInflationRes" +
"ponse\022A\n\tinflation\030\001 \001(\014B.\332\336\037&github.com" +
"/cosmos/cosmos-sdk/types.Dec\310\336\037\000\"\036\n\034Quer" +
"yAnnualProvisionsRequest\"j\n\035QueryAnnualP" +
"rovisionsResponse\022I\n\021annual_provisions\030\001" +
" \001(\014B.\332\336\037&github.com/cosmos/cosmos-sdk/t" +
"ypes.Dec\310\336\037\0002\305\003\n\005Query\022\200\001\n\006Params\022\'.cosm" +
"os.mint.v1beta1.QueryParamsRequest\032(.cos" +
"mos.mint.v1beta1.QueryParamsResponse\"#\202\323" +
"\344\223\002\035\022\033/cosmos/mint/v1beta1/params\022\214\001\n\tIn" +
"flation\022*.cosmos.mint.v1beta1.QueryInfla" +
"tionRequest\032+.cosmos.mint.v1beta1.QueryI" +
"nflationResponse\"&\202\323\344\223\002 \022\036/cosmos/mint/v" +
"1beta1/inflation\022\251\001\n\020AnnualProvisions\0221." +
"cosmos.mint.v1beta1.QueryAnnualProvision" +
"sRequest\0322.cosmos.mint.v1beta1.QueryAnnu" +
"alProvisionsResponse\".\202\323\344\223\002(\022&/cosmos/mi" +
"nt/v1beta1/annual_provisionsB+Z)github.c" +
"om/cosmos/cosmos-sdk/x/mint/typesb\006proto" +
"3"
};
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(),
com.google.api.AnnotationsProto.getDescriptor(),
cosmos.mint.v1beta1.Mint.getDescriptor(),
}, assigner);
internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_cosmos_mint_v1beta1_QueryParamsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryParamsRequest_descriptor,
new java.lang.String[] { });
internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_cosmos_mint_v1beta1_QueryParamsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryParamsResponse_descriptor,
new java.lang.String[] { "Params", });
internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_cosmos_mint_v1beta1_QueryInflationRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryInflationRequest_descriptor,
new java.lang.String[] { });
internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_cosmos_mint_v1beta1_QueryInflationResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryInflationResponse_descriptor,
new java.lang.String[] { "Inflation", });
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsRequest_descriptor,
new java.lang.String[] { });
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_mint_v1beta1_QueryAnnualProvisionsResponse_descriptor,
new java.lang.String[] { "AnnualProvisions", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
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);
com.google.protobuf.GoGoProtos.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
cosmos.mint.v1beta1.Mint.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy