Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
cosmos.slashing.v1beta1.QueryOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cosmos/slashing/v1beta1/query.proto
package cosmos.slashing.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.slashing.v1beta1.QueryParamsRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* QueryParamsRequest is the request type for the Query/Params RPC method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QueryParamsRequest}
*/
public static final class QueryParamsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest other = (cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.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.slashing.v1beta1.QueryParamsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QueryParamsRequest)
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest.class, cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest.Builder.class);
}
// Construct using cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest build() {
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest result = new cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest other) {
if (other == cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.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.slashing.v1beta1.QueryParamsRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QueryParamsRequest)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsRequest();
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryParamsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.slashing.v1beta1.QueryParamsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
boolean hasParams();
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.Params getParams();
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.ParamsOrBuilder getParamsOrBuilder();
}
/**
*
* QueryParamsResponse is the response type for the Query/Params RPC method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QueryParamsResponse}
*/
public static final class QueryParamsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.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.slashing.v1beta1.Slashing.Params.Builder subBuilder = null;
if (params_ != null) {
subBuilder = params_.toBuilder();
}
params_ = input.readMessage(cosmos.slashing.v1beta1.Slashing.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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class);
}
public static final int PARAMS_FIELD_NUMBER = 1;
private cosmos.slashing.v1beta1.Slashing.Params params_;
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return params_ != null;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.Params getParams() {
return params_ == null ? cosmos.slashing.v1beta1.Slashing.Params.getDefaultInstance() : params_;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse other = (cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.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.slashing.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.slashing.v1beta1.QueryParamsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QueryParamsResponse)
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse.Builder.class);
}
// Construct using cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse build() {
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse result = new cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse other) {
if (other == cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.slashing.v1beta1.Slashing.Params params_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.Params, cosmos.slashing.v1beta1.Slashing.Params.Builder, cosmos.slashing.v1beta1.Slashing.ParamsOrBuilder> paramsBuilder_;
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? cosmos.slashing.v1beta1.Slashing.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(cosmos.slashing.v1beta1.Slashing.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
onChanged();
} else {
paramsBuilder_.setMessage(value);
}
return this;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(
cosmos.slashing.v1beta1.Slashing.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
onChanged();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParams(cosmos.slashing.v1beta1.Slashing.Params value) {
if (paramsBuilder_ == null) {
if (params_ != null) {
params_ =
cosmos.slashing.v1beta1.Slashing.Params.newBuilder(params_).mergeFrom(value).buildPartial();
} else {
params_ = value;
}
onChanged();
} else {
paramsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParams() {
if (paramsBuilder_ == null) {
params_ = null;
onChanged();
} else {
params_ = null;
paramsBuilder_ = null;
}
return this;
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.Params.Builder getParamsBuilder() {
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
cosmos.slashing.v1beta1.Slashing.Params.getDefaultInstance() : params_;
}
}
/**
* .cosmos.slashing.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.Params, cosmos.slashing.v1beta1.Slashing.Params.Builder, cosmos.slashing.v1beta1.Slashing.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.Params, cosmos.slashing.v1beta1.Slashing.Params.Builder, cosmos.slashing.v1beta1.Slashing.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.slashing.v1beta1.QueryParamsResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QueryParamsResponse)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QueryParamsResponse();
}
public static cosmos.slashing.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.slashing.v1beta1.QueryOuterClass.QueryParamsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySigningInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.slashing.v1beta1.QuerySigningInfoRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
java.lang.String getConsAddress();
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
com.google.protobuf.ByteString
getConsAddressBytes();
}
/**
*
* QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfoRequest}
*/
public static final class QuerySigningInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.v1beta1.QuerySigningInfoRequest)
QuerySigningInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySigningInfoRequest.newBuilder() to construct.
private QuerySigningInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySigningInfoRequest() {
consAddress_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySigningInfoRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
consAddress_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.Builder.class);
}
public static final int CONS_ADDRESS_FIELD_NUMBER = 1;
private volatile java.lang.Object consAddress_;
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public java.lang.String getConsAddress() {
java.lang.Object ref = consAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
consAddress_ = s;
return s;
}
}
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public com.google.protobuf.ByteString
getConsAddressBytes() {
java.lang.Object ref = consAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
consAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getConsAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, consAddress_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getConsAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, consAddress_);
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest other = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest) obj;
boolean result = true;
result = result && getConsAddress()
.equals(other.getConsAddress());
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) + CONS_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getConsAddress().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest 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;
}
/**
*
* QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QuerySigningInfoRequest)
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.Builder.class);
}
// Construct using cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.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();
consAddress_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest build() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest result = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest(this);
result.consAddress_ = consAddress_;
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest other) {
if (other == cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest.getDefaultInstance()) return this;
if (!other.getConsAddress().isEmpty()) {
consAddress_ = other.consAddress_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object consAddress_ = "";
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public java.lang.String getConsAddress() {
java.lang.Object ref = consAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
consAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public com.google.protobuf.ByteString
getConsAddressBytes() {
java.lang.Object ref = consAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
consAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public Builder setConsAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
consAddress_ = value;
onChanged();
return this;
}
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public Builder clearConsAddress() {
consAddress_ = getDefaultInstance().getConsAddress();
onChanged();
return this;
}
/**
*
* cons_address is the address to query signing info of
*
*
* string cons_address = 1;
*/
public Builder setConsAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
consAddress_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cosmos.slashing.v1beta1.QuerySigningInfoRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QuerySigningInfoRequest)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest();
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuerySigningInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySigningInfoRequest(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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySigningInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.slashing.v1beta1.QuerySigningInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
boolean hasValSigningInfo();
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getValSigningInfo();
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getValSigningInfoOrBuilder();
}
/**
*
* QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfoResponse}
*/
public static final class QuerySigningInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.v1beta1.QuerySigningInfoResponse)
QuerySigningInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySigningInfoResponse.newBuilder() to construct.
private QuerySigningInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySigningInfoResponse() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySigningInfoResponse(
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.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder subBuilder = null;
if (valSigningInfo_ != null) {
subBuilder = valSigningInfo_.toBuilder();
}
valSigningInfo_ = input.readMessage(cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(valSigningInfo_);
valSigningInfo_ = 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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.Builder.class);
}
public static final int VAL_SIGNING_INFO_FIELD_NUMBER = 1;
private cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo valSigningInfo_;
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasValSigningInfo() {
return valSigningInfo_ != null;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getValSigningInfo() {
return valSigningInfo_ == null ? cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.getDefaultInstance() : valSigningInfo_;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getValSigningInfoOrBuilder() {
return getValSigningInfo();
}
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 (valSigningInfo_ != null) {
output.writeMessage(1, getValSigningInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valSigningInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getValSigningInfo());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse other = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse) obj;
boolean result = true;
result = result && (hasValSigningInfo() == other.hasValSigningInfo());
if (hasValSigningInfo()) {
result = result && getValSigningInfo()
.equals(other.getValSigningInfo());
}
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 (hasValSigningInfo()) {
hash = (37 * hash) + VAL_SIGNING_INFO_FIELD_NUMBER;
hash = (53 * hash) + getValSigningInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse 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;
}
/**
*
* QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QuerySigningInfoResponse)
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.Builder.class);
}
// Construct using cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.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 (valSigningInfoBuilder_ == null) {
valSigningInfo_ = null;
} else {
valSigningInfo_ = null;
valSigningInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse build() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse result = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse(this);
if (valSigningInfoBuilder_ == null) {
result.valSigningInfo_ = valSigningInfo_;
} else {
result.valSigningInfo_ = valSigningInfoBuilder_.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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse other) {
if (other == cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse.getDefaultInstance()) return this;
if (other.hasValSigningInfo()) {
mergeValSigningInfo(other.getValSigningInfo());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo valSigningInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder> valSigningInfoBuilder_;
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasValSigningInfo() {
return valSigningInfoBuilder_ != null || valSigningInfo_ != null;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getValSigningInfo() {
if (valSigningInfoBuilder_ == null) {
return valSigningInfo_ == null ? cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.getDefaultInstance() : valSigningInfo_;
} else {
return valSigningInfoBuilder_.getMessage();
}
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public Builder setValSigningInfo(cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo value) {
if (valSigningInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valSigningInfo_ = value;
onChanged();
} else {
valSigningInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public Builder setValSigningInfo(
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder builderForValue) {
if (valSigningInfoBuilder_ == null) {
valSigningInfo_ = builderForValue.build();
onChanged();
} else {
valSigningInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeValSigningInfo(cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo value) {
if (valSigningInfoBuilder_ == null) {
if (valSigningInfo_ != null) {
valSigningInfo_ =
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.newBuilder(valSigningInfo_).mergeFrom(value).buildPartial();
} else {
valSigningInfo_ = value;
}
onChanged();
} else {
valSigningInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearValSigningInfo() {
if (valSigningInfoBuilder_ == null) {
valSigningInfo_ = null;
onChanged();
} else {
valSigningInfo_ = null;
valSigningInfoBuilder_ = null;
}
return this;
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder getValSigningInfoBuilder() {
onChanged();
return getValSigningInfoFieldBuilder().getBuilder();
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getValSigningInfoOrBuilder() {
if (valSigningInfoBuilder_ != null) {
return valSigningInfoBuilder_.getMessageOrBuilder();
} else {
return valSigningInfo_ == null ?
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.getDefaultInstance() : valSigningInfo_;
}
}
/**
*
* val_signing_info is the signing info of requested val cons address
*
*
* .cosmos.slashing.v1beta1.ValidatorSigningInfo val_signing_info = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>
getValSigningInfoFieldBuilder() {
if (valSigningInfoBuilder_ == null) {
valSigningInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>(
getValSigningInfo(),
getParentForChildren(),
isClean());
valSigningInfo_ = null;
}
return valSigningInfoBuilder_;
}
@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.slashing.v1beta1.QuerySigningInfoResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QuerySigningInfoResponse)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse();
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuerySigningInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySigningInfoResponse(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.slashing.v1beta1.QueryOuterClass.QuerySigningInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySigningInfosRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.slashing.v1beta1.QuerySigningInfosRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
cosmos.base.query.v1beta1.Pagination.PageRequest getPagination();
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder();
}
/**
*
* QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfosRequest}
*/
public static final class QuerySigningInfosRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.v1beta1.QuerySigningInfosRequest)
QuerySigningInfosRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySigningInfosRequest.newBuilder() to construct.
private QuerySigningInfosRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySigningInfosRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySigningInfosRequest(
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.base.query.v1beta1.Pagination.PageRequest.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = 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.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.Builder.class);
}
public static final int PAGINATION_FIELD_NUMBER = 1;
private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
return getPagination();
}
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 (pagination_ != null) {
output.writeMessage(1, getPagination());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPagination());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest other = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest) obj;
boolean result = true;
result = result && (hasPagination() == other.hasPagination());
if (hasPagination()) {
result = result && getPagination()
.equals(other.getPagination());
}
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 (hasPagination()) {
hash = (37 * hash) + PAGINATION_FIELD_NUMBER;
hash = (53 * hash) + getPagination().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest 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;
}
/**
*
* QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfosRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QuerySigningInfosRequest)
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.Builder.class);
}
// Construct using cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.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 (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest build() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest result = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest(this);
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest other) {
if (other == cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest.getDefaultInstance()) return this;
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cosmos.base.query.v1beta1.Pagination.PageRequest pagination_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public cosmos.base.query.v1beta1.Pagination.PageRequest getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pagination_ = value;
onChanged();
} else {
paginationBuilder_.setMessage(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public Builder setPagination(
cosmos.base.query.v1beta1.Pagination.PageRequest.Builder builderForValue) {
if (paginationBuilder_ == null) {
pagination_ = builderForValue.build();
onChanged();
} else {
paginationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageRequest value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
cosmos.base.query.v1beta1.Pagination.PageRequest.newBuilder(pagination_).mergeFrom(value).buildPartial();
} else {
pagination_ = value;
}
onChanged();
} else {
paginationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public cosmos.base.query.v1beta1.Pagination.PageRequest.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
public cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
cosmos.base.query.v1beta1.Pagination.PageRequest.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageRequest pagination = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageRequest, cosmos.base.query.v1beta1.Pagination.PageRequest.Builder, cosmos.base.query.v1beta1.Pagination.PageRequestOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@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.slashing.v1beta1.QuerySigningInfosRequest)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QuerySigningInfosRequest)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest();
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuerySigningInfosRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySigningInfosRequest(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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QuerySigningInfosResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:cosmos.slashing.v1beta1.QuerySigningInfosResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
java.util.List
getInfoList();
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getInfo(int index);
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
int getInfoCount();
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
java.util.List extends cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>
getInfoOrBuilderList();
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getInfoOrBuilder(
int index);
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
boolean hasPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
cosmos.base.query.v1beta1.Pagination.PageResponse getPagination();
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder();
}
/**
*
* QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfosResponse}
*/
public static final class QuerySigningInfosResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cosmos.slashing.v1beta1.QuerySigningInfosResponse)
QuerySigningInfosResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use QuerySigningInfosResponse.newBuilder() to construct.
private QuerySigningInfosResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private QuerySigningInfosResponse() {
info_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private QuerySigningInfosResponse(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
info_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
info_.add(
input.readMessage(cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.parser(), extensionRegistry));
break;
}
case 18: {
cosmos.base.query.v1beta1.Pagination.PageResponse.Builder subBuilder = null;
if (pagination_ != null) {
subBuilder = pagination_.toBuilder();
}
pagination_ = input.readMessage(cosmos.base.query.v1beta1.Pagination.PageResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagination_);
pagination_ = 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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
info_ = java.util.Collections.unmodifiableList(info_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.Builder.class);
}
private int bitField0_;
public static final int INFO_FIELD_NUMBER = 1;
private java.util.List info_;
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public java.util.List getInfoList() {
return info_;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public java.util.List extends cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>
getInfoOrBuilderList() {
return info_;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public int getInfoCount() {
return info_.size();
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getInfo(int index) {
return info_.get(index);
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getInfoOrBuilder(
int index) {
return info_.get(index);
}
public static final int PAGINATION_FIELD_NUMBER = 2;
private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public boolean hasPagination() {
return pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
return getPagination();
}
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 {
for (int i = 0; i < info_.size(); i++) {
output.writeMessage(1, info_.get(i));
}
if (pagination_ != null) {
output.writeMessage(2, getPagination());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < info_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, info_.get(i));
}
if (pagination_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagination());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse)) {
return super.equals(obj);
}
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse other = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse) obj;
boolean result = true;
result = result && getInfoList()
.equals(other.getInfoList());
result = result && (hasPagination() == other.hasPagination());
if (hasPagination()) {
result = result && getPagination()
.equals(other.getPagination());
}
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 (getInfoCount() > 0) {
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfoList().hashCode();
}
if (hasPagination()) {
hash = (37 * hash) + PAGINATION_FIELD_NUMBER;
hash = (53 * hash) + getPagination().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse 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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse 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;
}
/**
*
* QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC
* method
*
*
* Protobuf type {@code cosmos.slashing.v1beta1.QuerySigningInfosResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cosmos.slashing.v1beta1.QuerySigningInfosResponse)
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.class, cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.Builder.class);
}
// Construct using cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (infoBuilder_ == null) {
info_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
infoBuilder_.clear();
}
if (paginationBuilder_ == null) {
pagination_ = null;
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse getDefaultInstanceForType() {
return cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.getDefaultInstance();
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse build() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse buildPartial() {
cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse result = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (infoBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
info_ = java.util.Collections.unmodifiableList(info_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
if (paginationBuilder_ == null) {
result.pagination_ = pagination_;
} else {
result.pagination_ = paginationBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse) {
return mergeFrom((cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse other) {
if (other == cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse.getDefaultInstance()) return this;
if (infoBuilder_ == null) {
if (!other.info_.isEmpty()) {
if (info_.isEmpty()) {
info_ = other.info_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureInfoIsMutable();
info_.addAll(other.info_);
}
onChanged();
}
} else {
if (!other.info_.isEmpty()) {
if (infoBuilder_.isEmpty()) {
infoBuilder_.dispose();
infoBuilder_ = null;
info_ = other.info_;
bitField0_ = (bitField0_ & ~0x00000001);
infoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInfoFieldBuilder() : null;
} else {
infoBuilder_.addAllMessages(other.info_);
}
}
}
if (other.hasPagination()) {
mergePagination(other.getPagination());
}
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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List info_ =
java.util.Collections.emptyList();
private void ensureInfoIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
info_ = new java.util.ArrayList(info_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder> infoBuilder_;
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public java.util.List getInfoList() {
if (infoBuilder_ == null) {
return java.util.Collections.unmodifiableList(info_);
} else {
return infoBuilder_.getMessageList();
}
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public int getInfoCount() {
if (infoBuilder_ == null) {
return info_.size();
} else {
return infoBuilder_.getCount();
}
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo getInfo(int index) {
if (infoBuilder_ == null) {
return info_.get(index);
} else {
return infoBuilder_.getMessage(index);
}
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder setInfo(
int index, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoIsMutable();
info_.set(index, value);
onChanged();
} else {
infoBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder setInfo(
int index, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder builderForValue) {
if (infoBuilder_ == null) {
ensureInfoIsMutable();
info_.set(index, builderForValue.build());
onChanged();
} else {
infoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder addInfo(cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoIsMutable();
info_.add(value);
onChanged();
} else {
infoBuilder_.addMessage(value);
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder addInfo(
int index, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInfoIsMutable();
info_.add(index, value);
onChanged();
} else {
infoBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder addInfo(
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder builderForValue) {
if (infoBuilder_ == null) {
ensureInfoIsMutable();
info_.add(builderForValue.build());
onChanged();
} else {
infoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder addInfo(
int index, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder builderForValue) {
if (infoBuilder_ == null) {
ensureInfoIsMutable();
info_.add(index, builderForValue.build());
onChanged();
} else {
infoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder addAllInfo(
java.lang.Iterable extends cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo> values) {
if (infoBuilder_ == null) {
ensureInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, info_);
onChanged();
} else {
infoBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearInfo() {
if (infoBuilder_ == null) {
info_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
infoBuilder_.clear();
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public Builder removeInfo(int index) {
if (infoBuilder_ == null) {
ensureInfoIsMutable();
info_.remove(index);
onChanged();
} else {
infoBuilder_.remove(index);
}
return this;
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder getInfoBuilder(
int index) {
return getInfoFieldBuilder().getBuilder(index);
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder getInfoOrBuilder(
int index) {
if (infoBuilder_ == null) {
return info_.get(index); } else {
return infoBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public java.util.List extends cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>
getInfoOrBuilderList() {
if (infoBuilder_ != null) {
return infoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(info_);
}
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder addInfoBuilder() {
return getInfoFieldBuilder().addBuilder(
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.getDefaultInstance());
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder addInfoBuilder(
int index) {
return getInfoFieldBuilder().addBuilder(
index, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.getDefaultInstance());
}
/**
*
* info is the signing info of all validators
*
*
* repeated .cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(.gogoproto.nullable) = false];
*/
public java.util.List
getInfoBuilderList() {
return getInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>
getInfoFieldBuilder() {
if (infoBuilder_ == null) {
infoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfo.Builder, cosmos.slashing.v1beta1.Slashing.ValidatorSigningInfoOrBuilder>(
info_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
info_ = null;
}
return infoBuilder_;
}
private cosmos.base.query.v1beta1.Pagination.PageResponse pagination_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder> paginationBuilder_;
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public boolean hasPagination() {
return paginationBuilder_ != null || pagination_ != null;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public cosmos.base.query.v1beta1.Pagination.PageResponse getPagination() {
if (paginationBuilder_ == null) {
return pagination_ == null ? cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
} else {
return paginationBuilder_.getMessage();
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pagination_ = value;
onChanged();
} else {
paginationBuilder_.setMessage(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder setPagination(
cosmos.base.query.v1beta1.Pagination.PageResponse.Builder builderForValue) {
if (paginationBuilder_ == null) {
pagination_ = builderForValue.build();
onChanged();
} else {
paginationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder mergePagination(cosmos.base.query.v1beta1.Pagination.PageResponse value) {
if (paginationBuilder_ == null) {
if (pagination_ != null) {
pagination_ =
cosmos.base.query.v1beta1.Pagination.PageResponse.newBuilder(pagination_).mergeFrom(value).buildPartial();
} else {
pagination_ = value;
}
onChanged();
} else {
paginationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public Builder clearPagination() {
if (paginationBuilder_ == null) {
pagination_ = null;
onChanged();
} else {
pagination_ = null;
paginationBuilder_ = null;
}
return this;
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public cosmos.base.query.v1beta1.Pagination.PageResponse.Builder getPaginationBuilder() {
onChanged();
return getPaginationFieldBuilder().getBuilder();
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
public cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder getPaginationOrBuilder() {
if (paginationBuilder_ != null) {
return paginationBuilder_.getMessageOrBuilder();
} else {
return pagination_ == null ?
cosmos.base.query.v1beta1.Pagination.PageResponse.getDefaultInstance() : pagination_;
}
}
/**
* .cosmos.base.query.v1beta1.PageResponse pagination = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>
getPaginationFieldBuilder() {
if (paginationBuilder_ == null) {
paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cosmos.base.query.v1beta1.Pagination.PageResponse, cosmos.base.query.v1beta1.Pagination.PageResponse.Builder, cosmos.base.query.v1beta1.Pagination.PageResponseOrBuilder>(
getPagination(),
getParentForChildren(),
isClean());
pagination_ = null;
}
return paginationBuilder_;
}
@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.slashing.v1beta1.QuerySigningInfosResponse)
}
// @@protoc_insertion_point(class_scope:cosmos.slashing.v1beta1.QuerySigningInfosResponse)
private static final cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse();
}
public static cosmos.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public QuerySigningInfosResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new QuerySigningInfosResponse(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.slashing.v1beta1.QueryOuterClass.QuerySigningInfosResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_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#cosmos/slashing/v1beta1/query.proto\022\027c" +
"osmos.slashing.v1beta1\032*cosmos/base/quer" +
"y/v1beta1/pagination.proto\032\024gogoproto/go" +
"go.proto\032\034google/api/annotations.proto\032&" +
"cosmos/slashing/v1beta1/slashing.proto\"\024" +
"\n\022QueryParamsRequest\"L\n\023QueryParamsRespo" +
"nse\0225\n\006params\030\001 \001(\0132\037.cosmos.slashing.v1" +
"beta1.ParamsB\004\310\336\037\000\"/\n\027QuerySigningInfoRe" +
"quest\022\024\n\014cons_address\030\001 \001(\t\"i\n\030QuerySign" +
"ingInfoResponse\022M\n\020val_signing_info\030\001 \001(" +
"\0132-.cosmos.slashing.v1beta1.ValidatorSig" +
"ningInfoB\004\310\336\037\000\"V\n\030QuerySigningInfosReque" +
"st\022:\n\npagination\030\001 \001(\0132&.cosmos.base.que" +
"ry.v1beta1.PageRequest\"\233\001\n\031QuerySigningI" +
"nfosResponse\022A\n\004info\030\001 \003(\0132-.cosmos.slas" +
"hing.v1beta1.ValidatorSigningInfoB\004\310\336\037\000\022" +
";\n\npagination\030\002 \001(\0132\'.cosmos.base.query." +
"v1beta1.PageResponse2\362\003\n\005Query\022\214\001\n\006Param" +
"s\022+.cosmos.slashing.v1beta1.QueryParamsR" +
"equest\032,.cosmos.slashing.v1beta1.QueryPa" +
"ramsResponse\"\'\202\323\344\223\002!\022\037/cosmos/slashing/v" +
"1beta1/params\022\261\001\n\013SigningInfo\0220.cosmos.s" +
"lashing.v1beta1.QuerySigningInfoRequest\032" +
"1.cosmos.slashing.v1beta1.QuerySigningIn" +
"foResponse\"=\202\323\344\223\0027\0225/cosmos/slashing/v1b" +
"eta1/signing_infos/{cons_address}\022\245\001\n\014Si" +
"gningInfos\0221.cosmos.slashing.v1beta1.Que" +
"rySigningInfosRequest\0322.cosmos.slashing." +
"v1beta1.QuerySigningInfosResponse\".\202\323\344\223\002" +
"(\022&/cosmos/slashing/v1beta1/signing_info" +
"sB/Z-github.com/cosmos/cosmos-sdk/x/slas" +
"hing/typesb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
cosmos.base.query.v1beta1.Pagination.getDescriptor(),
com.google.protobuf.GoGoProtos.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
cosmos.slashing.v1beta1.Slashing.getDescriptor(),
}, assigner);
internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QueryParamsRequest_descriptor,
new java.lang.String[] { });
internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QueryParamsResponse_descriptor,
new java.lang.String[] { "Params", });
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoRequest_descriptor,
new java.lang.String[] { "ConsAddress", });
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QuerySigningInfoResponse_descriptor,
new java.lang.String[] { "ValSigningInfo", });
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosRequest_descriptor,
new java.lang.String[] { "Pagination", });
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_cosmos_slashing_v1beta1_QuerySigningInfosResponse_descriptor,
new java.lang.String[] { "Info", "Pagination", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.nullable);
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
cosmos.base.query.v1beta1.Pagination.getDescriptor();
com.google.protobuf.GoGoProtos.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
cosmos.slashing.v1beta1.Slashing.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}